Class LightweightPerformanceStatistic
- java.lang.Object
-
- org.processmining.specpp.supervision.observations.performance.LightweightPerformanceStatistic
-
- All Implemented Interfaces:
java.util.function.Consumer<PerformanceMeasurement>,Observation,PerformanceStatistic,Statistic,Observer<PerformanceMeasurement>,Mergeable<PerformanceStatistic>,Mutable,PrettyPrintable,ProperlyPrintable
public class LightweightPerformanceStatistic extends java.lang.Object implements PerformanceStatistic
-
-
Field Summary
-
Fields inherited from interface org.processmining.specpp.supervision.observations.performance.PerformanceStatistic
decimalFormat
-
-
Constructor Summary
Constructors Constructor Description LightweightPerformanceStatistic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Durationavg()java.time.Durationmax()voidmerge(PerformanceStatistic other)java.time.Durationmin()longN()voidrecord(PerformanceMeasurement performanceMeasurement)java.time.Durationsum()java.lang.StringtoPrettyString()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.supervision.observations.performance.PerformanceStatistic
observe, rate
-
-
-
-
Method Detail
-
min
public java.time.Duration min()
- Specified by:
minin interfacePerformanceStatistic
-
max
public java.time.Duration max()
- Specified by:
maxin interfacePerformanceStatistic
-
avg
public java.time.Duration avg()
- Specified by:
avgin interfacePerformanceStatistic
-
sum
public java.time.Duration sum()
- Specified by:
sumin interfacePerformanceStatistic
-
N
public long N()
- Specified by:
Nin interfacePerformanceStatistic
-
merge
public void merge(PerformanceStatistic other)
- Specified by:
mergein interfaceMergeable<PerformanceStatistic>- Specified by:
mergein interfacePerformanceStatistic
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfaceProperlyPrintable- Overrides:
toStringin classjava.lang.Object
-
toPrettyString
public java.lang.String toPrettyString()
- Specified by:
toPrettyStringin interfacePerformanceStatistic- Specified by:
toPrettyStringin interfacePrettyPrintable
-
record
public void record(PerformanceMeasurement performanceMeasurement)
- Specified by:
recordin interfacePerformanceStatistic
-
-