spec.harness.analyzer
Class TYInfo

java.lang.Object
  extended by spec.harness.analyzer.TYInfo
Direct Known Subclasses:
CallbackAnalyzerExample.NumberInfo, HeapMemoryFreeAnalyzer.HeapMemoryFree, HeapMemoryTotalAnalyzer.HeapMemoryTotal, PollingAnalyzerExample.NumberOfOperations

public abstract class TYInfo
extends java.lang.Object


Field Summary
protected  long time
           
protected  long value
           
 
Constructor Summary
TYInfo(long time, long value)
          Constructor, create with time and value.
 
Method Summary
abstract  java.lang.String getName()
           
 long getTime()
           
abstract  java.lang.String getUnit()
           
 long getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected long time

value

protected long value
Constructor Detail

TYInfo

public TYInfo(long time,
              long value)
Constructor, create with time and value.

Method Detail

getName

public abstract java.lang.String getName()
Returns:
Name/description of what is monitored.

getUnit

public abstract java.lang.String getUnit()
Returns:
Unit of what is monitored.

getTime

public long getTime()
Returns:
Time for when it is monitored.

getValue

public long getValue()
Returns:
Value of what is monitored.