|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.Monitor
The basic Monitor interface used by all of the Timing related Monitors. Note I did not use an interface because start() has package access. Due to multithreading issues I didn't want developers to be able to execute the Monitor's start() method however it did want to ensure that the method was provided.
Constructor Summary | |
---|---|
Monitor()
|
Method Summary | |
---|---|
abstract boolean |
isPrimary()
Is this a primary Monitor. |
abstract void |
setPrimary(boolean primary)
Indicate that this a primary Monitor. |
abstract Monitor |
stop()
Stop the montior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jamonapi.MinimalMonitor |
---|
getAccrued, getData, getHeader, increase, reset |
Constructor Detail |
public Monitor()
Method Detail |
public abstract Monitor stop()
public abstract boolean isPrimary()
public abstract void setPrimary(boolean primary)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |