SMILA (incubation) API documentation

org.eclipse.smila.management.performance
Class PerformanceSample

java.lang.Object
  extended by org.eclipse.smila.management.performance.PerformanceSample

public final class PerformanceSample
extends java.lang.Object

Performance counter 'sample'.


Constructor Summary
PerformanceSample()
          Constructs a PerformanceSample object.
 
Method Summary
 long getBaseValue()
           
 long getRawValue()
           
 long getTimestamp()
           
 void reset()
          Resets a sample.
 void setBaseValue(long baseValue)
           
 void setRawValue(long rawValue)
           
 void setTimestamp(long timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceSample

public PerformanceSample()
Constructs a PerformanceSample object.

Method Detail

getTimestamp

public long getTimestamp()
Returns:
the timestamp

setTimestamp

public void setTimestamp(long timestamp)
Parameters:
timestamp - the timestamp to set

getBaseValue

public long getBaseValue()
Returns:
the baseValue

setBaseValue

public void setBaseValue(long baseValue)
Parameters:
baseValue - the baseValue to set

getRawValue

public long getRawValue()
Returns:
the rawValue

setRawValue

public void setRawValue(long rawValue)
Parameters:
rawValue - the rawValue to set

reset

public void reset()
Resets a sample.


SMILA (incubation) API documentation