|
||||||||||
| 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(org.ow2.jasmine.probe.JasmineProbe def)
Constructor |
|
| Method Summary | |
|---|---|
java.util.List<org.ow2.jasmine.probe.collector.JasmineCollector> |
getCollectors()
|
java.util.List<org.ow2.jasmine.probe.outer.JasmineOuter> |
getOuters()
|
org.ow2.jasmine.probe.JasmineProbe |
getProbeDef()
|
int |
getStatus()
Get the Probe status, kept in the JasmineProbe object for convenience. |
void |
halt()
Stop the Probe by stopping the collectors' polling. |
void |
launch()
Called by the JasmineProbeManager in startProbe(), when the probe is in the STOPPED state. |
void |
run()
Called by the Scheduler to make a polling on all indicators |
void |
setCollectors(java.util.List<org.ow2.jasmine.probe.collector.JasmineCollector> collectors)
|
void |
setError(java.lang.String mess)
Set the Probe error message, kept in the JasmineProbe object for convenience. |
void |
setOuters(java.util.List<org.ow2.jasmine.probe.outer.JasmineOuter> outers)
|
void |
setStatus(int state)
Set the Probe status, kept in the JasmineProbe object for convenience. |
void |
setTask(org.ow2.jasmine.probe.probescheduler.TaskReference task)
Set the task reference returned by the scheduler. |
| 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(org.ow2.jasmine.probe.JasmineProbe def)
| Method Detail |
|---|
public org.ow2.jasmine.probe.JasmineProbe getProbeDef()
public int getStatus()
public void setStatus(int state)
state - the probe statuspublic void setError(java.lang.String mess)
mess - the error messagepublic void setTask(org.ow2.jasmine.probe.probescheduler.TaskReference task)
public java.util.List<org.ow2.jasmine.probe.outer.JasmineOuter> getOuters()
public void setOuters(java.util.List<org.ow2.jasmine.probe.outer.JasmineOuter> outers)
public java.util.List<org.ow2.jasmine.probe.collector.JasmineCollector> getCollectors()
public void setCollectors(java.util.List<org.ow2.jasmine.probe.collector.JasmineCollector> collectors)
public void halt()
public void launch()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||