|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.AbstractSimon
org.javasimon.UnknownSimon
final class UnknownSimon
UnknownSimon represents Simon node in the hierarchy without known type. It may be replaced in the hierarchy for real Simon in the future.
| Field Summary |
|---|
| Fields inherited from class org.javasimon.AbstractSimon |
|---|
enabled, firstUsage, lastUsage, manager |
| Constructor Summary | |
|---|---|
UnknownSimon(String name,
Manager manager)
Construts unknown Simon with a specified name and for the specified manager. |
|
| Method Summary | |
|---|---|
Simon |
reset()
Resets the Simon values related to the measuring, timestamps and so on - usage timestamps, state, attributes are not affected. |
Sample |
sample()
Samples Simon values and returns them in a Java Bean derived from Sample interface. |
Sample |
sampleAndReset()
Samples Simon values and returns them in a Java Bean derived from Sample interface and resets the Simon. |
String |
toString()
Returns the label Unknown Simon and basic information for the Simon as a human readable string. |
| Methods inherited from class org.javasimon.AbstractSimon |
|---|
addChild, getAttribute, getAttribute, getAttributeNames, getCopyAsSortedMap, getFirstUsage, getChildren, getLastReset, getLastUsage, getName, getNote, getParent, getState, isEnabled, removeAttribute, replaceChild, resetCommon, sampleCommon, setAttribute, setNote, setParent, setState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
UnknownSimon(String name,
Manager manager)
name - Simon's namemanager - owning manager| Method Detail |
|---|
public Simon reset()
SimonSimon.getLastReset(). Reset is perfomed even for disabled Simons.
public Sample sample()
Simon
public Sample sampleAndReset()
Simon
public String toString()
Unknown Simon and basic information for the Simon as a human readable string.
toString in class AbstractSimonAbstractSimon.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||