Class ReferenceServiceMetrics

java.lang.Object
org.fcrepo.kernel.impl.services.ReferenceServiceMetrics
All Implemented Interfaces:
org.fcrepo.kernel.api.services.ReferenceService

@Component("referenceService") public class ReferenceServiceMetrics extends Object implements org.fcrepo.kernel.api.services.ReferenceService
ReferenceService wrapper for collecting metrics
Author:
pwinckles
  • Constructor Details

  • Method Details

    • getInboundReferences

      public org.fcrepo.kernel.api.RdfStream getInboundReferences(org.fcrepo.kernel.api.Transaction tx, org.fcrepo.kernel.api.models.FedoraResource resource)
      Specified by:
      getInboundReferences in interface org.fcrepo.kernel.api.services.ReferenceService
    • deleteAllReferences

      public void deleteAllReferences(org.fcrepo.kernel.api.Transaction tx, org.fcrepo.kernel.api.identifiers.FedoraId resourceId)
      Specified by:
      deleteAllReferences in interface org.fcrepo.kernel.api.services.ReferenceService
    • updateReferences

      public void updateReferences(org.fcrepo.kernel.api.Transaction tx, org.fcrepo.kernel.api.identifiers.FedoraId resourceId, String userPrincipal, org.fcrepo.kernel.api.RdfStream rdfStream)
      Specified by:
      updateReferences in interface org.fcrepo.kernel.api.services.ReferenceService
    • commitTransaction

      public void commitTransaction(org.fcrepo.kernel.api.Transaction tx)
      Specified by:
      commitTransaction in interface org.fcrepo.kernel.api.services.ReferenceService
    • rollbackTransaction

      public void rollbackTransaction(org.fcrepo.kernel.api.Transaction tx)
      Specified by:
      rollbackTransaction in interface org.fcrepo.kernel.api.services.ReferenceService
    • clearAllTransactions

      public void clearAllTransactions()
      Specified by:
      clearAllTransactions in interface org.fcrepo.kernel.api.services.ReferenceService
    • reset

      public void reset()
      Specified by:
      reset in interface org.fcrepo.kernel.api.services.ReferenceService