Class MetricImpl

  • All Implemented Interfaces:
    Metric

    public class MetricImpl
    extends java.lang.Object
    implements Metric
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long count  
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricImpl​(long count)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getCount()
      The count of this metric i.e., how often did the engine perform the action associated with this metric.
      void setCount​(long count)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • count

        protected long count
    • Constructor Detail

      • MetricImpl

        public MetricImpl​(long count)
    • Method Detail

      • getCount

        public long getCount()
        Description copied from interface: Metric
        The count of this metric i.e., how often did the engine perform the action associated with this metric.
        Specified by:
        getCount in interface Metric
      • setCount

        public void setCount​(long count)