org.omnaest.utils.time
Class DurationCapture.IntervalStatistic

java.lang.Object
  extended by org.omnaest.utils.time.DurationCapture.IntervalStatistic
All Implemented Interfaces:
Serializable
Enclosing class:
DurationCapture

protected static class DurationCapture.IntervalStatistic
extends Object
implements Serializable

Internal class for statistical data calculated for the DurationCapture.Interval instances.

Author:
Omnaest
See Also:
DurationCapture, Serialized Form

Field Summary
protected  long durationInMilliseconds
           
protected  double durationPercentage
           
protected  DurationCapture.Interval interval
           
 
Constructor Summary
protected DurationCapture.IntervalStatistic()
           
 
Method Summary
 long getDurationInMilliseconds()
           
 double getDurationPercentage()
           
 DurationCapture.Interval getInterval()
           
 String getIntervalKeyAsString()
           
 void setDurationInMilliseconds(long durationInMilliseconds)
           
 void setDurationPercentage(double durationPercentage)
           
 void setInterval(DurationCapture.Interval interval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interval

protected DurationCapture.Interval interval

durationInMilliseconds

protected long durationInMilliseconds

durationPercentage

protected double durationPercentage
Constructor Detail

DurationCapture.IntervalStatistic

protected DurationCapture.IntervalStatistic()
Method Detail

getInterval

public DurationCapture.Interval getInterval()

setInterval

public void setInterval(DurationCapture.Interval interval)

getIntervalKeyAsString

public String getIntervalKeyAsString()

getDurationPercentage

public double getDurationPercentage()

setDurationPercentage

public void setDurationPercentage(double durationPercentage)

getDurationInMilliseconds

public long getDurationInMilliseconds()

setDurationInMilliseconds

public void setDurationInMilliseconds(long durationInMilliseconds)


Copyright © 2013. All Rights Reserved.