|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.monitor.JamonMonitorFactory
public final class JamonMonitorFactory
This is a thin wrapper around com.jamonapi.MonitorFactory to keep the ProfileStatistic class clean from com.jamonapi dependencies.
| Method Summary | |
|---|---|
static void |
addMonitor(String label)
Adds the monitor. |
static void |
addMonitors(List<String> labels)
Adds the monitors. |
static ProfileMonitor |
getMonitor(Signature sig)
Deprecated. use getMonitor(Signature, ProfileMonitor) |
static ProfileMonitor |
getMonitor(Signature sig,
ProfileMonitor root)
Gets the monitor. |
static ProfileMonitor |
getMonitor(String label,
ProfileMonitor root)
Gets the monitor. |
static ProfileMonitor[] |
getMonitors()
Deprecated. use getMonitors(ProfileMonitor) |
static ProfileMonitor[] |
getMonitors(ProfileMonitor root)
Gets the monitors. |
static ProfileMonitor[] |
getMonitors(String rootLabel)
Gets the monitors. |
static void |
reset()
Deprecated. use reset(ProfileMonitor) |
static void |
reset(ProfileMonitor rootMonitor)
Reset. |
static void |
reset(String rootLabel)
Reset. |
static ProfileMonitor |
start(String label)
Deprecated. use start(String, ProfileMonitor) |
static ProfileMonitor |
start(String label,
ProfileMonitor root)
Start. |
static ProfileMonitor |
start(String label,
String rootLabel)
Start. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Deprecated public static void reset()
reset(ProfileMonitor)
TODO: This method will be removed in 1.6.
public static void reset(ProfileMonitor rootMonitor)
rootMonitor - the root monitorpublic static void reset(String rootLabel)
rootLabel - the root label@Deprecated public static ProfileMonitor start(String label)
start(String, ProfileMonitor)
TODO: This method will be removed in 1.6.
label - the label
public static ProfileMonitor start(String label,
ProfileMonitor root)
label - the labelroot - the root
public static ProfileMonitor start(String label,
String rootLabel)
label - the labelrootLabel - the root label
public static void addMonitors(List<String> labels)
labels - the labelspublic static void addMonitor(String label)
label - the label@Deprecated public static ProfileMonitor getMonitor(Signature sig)
getMonitor(Signature, ProfileMonitor)
TODO: This method will be removed in 1.6.
sig - the signature
public static ProfileMonitor getMonitor(Signature sig,
ProfileMonitor root)
sig - the sigroot - the root
public static ProfileMonitor getMonitor(String label,
ProfileMonitor root)
label - the labelroot - the root monitor
@Deprecated public static ProfileMonitor[] getMonitors()
getMonitors(ProfileMonitor)
TODO: This method will be removed in 1.6.
public static ProfileMonitor[] getMonitors(ProfileMonitor root)
root - the root
public static ProfileMonitor[] getMonitors(String rootLabel)
rootLabel - the root label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||