Class OperationStats


  • public final class OperationStats
    extends java.lang.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 Detail

      • OperationStats

        public OperationStats​(double totalTime,
                              long count)
      • OperationStats

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

      • meanTime

        public double meanTime()
      • getTotalTime

        public double getTotalTime()
      • getCount

        public long getCount()