Interface OperationStatsCollector


@Deprecated(since="2024-09-23") public interface OperationStatsCollector
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Implementations of this can use to mark the relevant statistics.
  • Field Details

  • Method Details

    • start

      void start()
      Deprecated.
      Increment the start counter
    • finishFailure

      void finishFailure()
      Deprecated.
      Increment the finishFailure counter
    • updateNumDeleted

      void updateNumDeleted(long num)
      Deprecated.
      Update the number deleted
      Parameters:
      num -
    • updateNumCandidates

      void updateNumCandidates(long num)
      Deprecated.
      Update the number of candidates found
      Parameters:
      num -
    • updateTotalSizeDeleted

      void updateTotalSizeDeleted(long size)
      Deprecated.
      Update the size deleted
      Parameters:
      size -
    • updateNumBlobReferences

      void updateNumBlobReferences(long num)
      Deprecated.
      Update the number of blob references
      Parameters:
      num -
    • updateBlobReferencesSize

      void updateBlobReferencesSize(long size)
      Deprecated.
      Update the size of blob references
      Parameters:
      size -
    • updateDuration

      void updateDuration(long time, TimeUnit timeUnit)
      Deprecated.
      Increment the duration timer
      Parameters:
      time - time recorded for the operation
      timeUnit - unit of time
    • updateMarkDuration

      void updateMarkDuration(long time, TimeUnit timeUnit)
      Deprecated.
      Increment the mark phase duration timer
      Parameters:
      time - time recorded for the operation
      timeUnit - unit of time
    • updateSweepDuration

      void updateSweepDuration(long time, TimeUnit timeUnit)
      Deprecated.
      Increment the sweep phase duration timer
      Parameters:
      time - time recorded for the operation
      timeUnit - unit of time