ew-profiling, 1.0

be.eliwan.profiling.service
Class OneContainer

java.lang.Object
  extended by be.eliwan.profiling.service.OneContainer
All Implemented Interfaces:
ProfilingData, Serializable
Direct Known Subclasses:
GroupContainer

public class OneContainer
extends Object
implements ProfilingData, Serializable

Set of profiling data.

See Also:
Serialized Form

Constructor Summary
OneContainer(long invocationCount, long totalRunTime)
          Construct container for given number of invocations and total run time.
 
Method Summary
 double getAverageRunTime()
           
 long getInvocationCount()
           
 long getTotalRunTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneContainer

public OneContainer(long invocationCount,
                    long totalRunTime)
Construct container for given number of invocations and total run time.

Parameters:
invocationCount - invocation count
totalRunTime - total run time
Method Detail

getInvocationCount

public long getInvocationCount()
Specified by:
getInvocationCount in interface ProfilingData

getTotalRunTime

public long getTotalRunTime()
Specified by:
getTotalRunTime in interface ProfilingData

getAverageRunTime

public double getAverageRunTime()
Specified by:
getAverageRunTime in interface ProfilingData

toString

public String toString()
Overrides:
toString in class Object

ew-profiling, 1.0

Copyright © 2014. All rights reserved.