|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.manager.JProbe
public class JProbe
This object represents a Running Probe.
| Field Summary | |
|---|---|
protected static org.ow2.util.log.Log |
logger
|
| Constructor Summary | |
|---|---|
JProbe(JasmineProbe def,
JProbeManager mgr)
Constructor |
|
| Method Summary | |
|---|---|
JasmineProbe |
getProbeDef()
|
int |
getStatus()
Get the Probe status, kept in the JasmineProbe object for convenience. |
boolean |
isRunning()
|
void |
resetIndicators()
Not only reset collectors list, but insure that collector instances are removed from the collector service. |
void |
resetOutputs()
Clear outers list. |
void |
resetTargets()
Allow to change a probe's target. |
void |
resetTimer()
reset timer value with probe period |
void |
resume()
Start the Probe, or resume it if it was previously suspended. |
void |
run()
Called by the Scheduler to make a polling on all indicators |
void |
setError(String mess)
Set the Probe error message, kept in the JasmineProbe object for convenience. |
void |
setStatus(int state)
Set the Probe status, kept in the JasmineProbe object for convenience. |
boolean |
suspend()
Suspend the Probe. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.ow2.util.log.Log logger
| Constructor Detail |
|---|
public JProbe(JasmineProbe def,
JProbeManager mgr)
| Method Detail |
|---|
public JasmineProbe getProbeDef()
public int getStatus()
public void setStatus(int state)
state - the probe statuspublic void setError(String mess)
mess - the error messagepublic boolean isRunning()
public void resume()
throws JasmineProbeException
JasmineProbeExceptionpublic void resetTimer()
public void resetIndicators()
public void resetOutputs()
public void resetTargets()
public boolean suspend()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||