Class StatImpl

java.lang.Object
org.droolsassert.util.StatImpl
All Implemented Interfaces:
Serializable, Stat

public final class StatImpl extends Object implements Stat
See Also:
  • Constructor Details

    • StatImpl

      public StatImpl()
    • StatImpl

      public StatImpl(String type, String name)
  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface Stat
    • getType

      public String getType()
      Specified by:
      getType in interface Stat
    • getName

      public String getName()
      Specified by:
      getName in interface Stat
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface Stat
    • getLeapsCount

      public long getLeapsCount()
      Specified by:
      getLeapsCount in interface Stat
    • getLeapTimeMs

      public double getLeapTimeMs()
      Specified by:
      getLeapTimeMs in interface Stat
    • getMinTimeMs

      public double getMinTimeMs()
      Specified by:
      getMinTimeMs in interface Stat
    • getMinTimeSampleMs

      public double getMinTimeSampleMs()
      Specified by:
      getMinTimeSampleMs in interface Stat
    • getMaxTimeMs

      public double getMaxTimeMs()
      Specified by:
      getMaxTimeMs in interface Stat
    • getMaxTimeSampleMs

      public double getMaxTimeSampleMs()
      Specified by:
      getMaxTimeSampleMs in interface Stat
    • getAvgTimeMs

      public double getAvgTimeMs()
      Specified by:
      getAvgTimeMs in interface Stat
    • getAvgTimeSampleMs

      public double getAvgTimeSampleMs()
      Specified by:
      getAvgTimeSampleMs in interface Stat
    • getTotalTimeMs

      public double getTotalTimeMs()
      Specified by:
      getTotalTimeMs in interface Stat
    • getFailedLeapsCount

      public long getFailedLeapsCount()
      Specified by:
      getFailedLeapsCount in interface Stat
    • getPeersCount

      public long getPeersCount()
      Specified by:
      getPeersCount in interface Stat
    • toString

      public String toString()
      Overrides:
      toString in class Object