Class OperationStats

java.lang.Object
org.alfresco.repo.cache.OperationStats

public final class OperationStats extends Object
Represents a single cache operation type's statistics. For example, the cummalative time spent performing a cache's remove operation and the number of times that the remove was performed.

Instances are immutable.

  • Constructor Details

    • OperationStats

      public OperationStats(double totalTime, long count)
    • OperationStats

      public OperationStats(OperationStats source, double totalTime, long count)
  • Method Details

    • meanTime

      public double meanTime()
    • getTotalTime

      public double getTotalTime()
    • getCount

      public long getCount()