intarsys runtime library

de.intarsys.tools.monitor
Class MonitorTrace

java.lang.Object
  extended by de.intarsys.tools.monitor.AbstractMonitorTrace
      extended by de.intarsys.tools.monitor.MonitorTrace
All Implemented Interfaces:
ITrace
Direct Known Subclasses:
CounterMonitorTrace, MemberMonitorTrace, MemoryMonitorTrace, TimeMonitorTrace

public abstract class MonitorTrace
extends AbstractMonitorTrace

An abstract superclass to ease implementation of "leaf" monitor trace objects. These "leaf" monitors take real samples from their domain.

The monitors also implement the concrete algorithm to compute statistics from the samples taken.


Constructor Summary
MonitorTrace(Monitor owner)
           
 
Method Summary
 int getConcurrent()
           
 long getDifference()
           
 String getFormattedValue(long value)
           
 List getSamples()
           
 long getStart()
           
 long getStop()
           
 String toString()
           
 
Methods inherited from class de.intarsys.tools.monitor.AbstractMonitorTrace
getTags, sample, tag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonitorTrace

public MonitorTrace(Monitor owner)
Method Detail

getConcurrent

public int getConcurrent()

getDifference

public long getDifference()

getFormattedValue

public String getFormattedValue(long value)

getSamples

public List getSamples()

getStart

public long getStart()

getStop

public long getStop()

toString

public String toString()
Overrides:
toString in class Object

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.