|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.monitor.AbstractMonitorTrace
public abstract class AbstractMonitorTrace
An abstract superclass to ease implementation of monitor trace objects.
This class does not have to be synchronized anywhere.
| Constructor Summary | |
|---|---|
AbstractMonitorTrace(AbstractMonitor owner)
Create a MonitorTrace. |
|
| Method Summary | |
|---|---|
Map |
getTags()
|
ISample |
sample(Level level,
String description)
Take a sample and tag it with description. |
void |
tag(String key,
Object tag)
Add a key/value pair to this. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMonitorTrace(AbstractMonitor owner)
owner - The monitor that created the trace.| Method Detail |
|---|
public Map getTags()
public final ISample sample(Level level,
String description)
ITracedescription. The sample is
stored in addition to the "fix" start and stop sample.
sample in interface ITrace
public final void tag(String key,
Object tag)
ITracethis. This data is not interpreted
by the monitor.
tag in interface ITracekey - The name of the value to store.tag - The object to store with the measurement.
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||