eu.reservoir.monitoring.core
Interface ProbeLifecycle

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
Probe
All Known Implementing Classes:
AbstractProbe, CPUInfo, HypervisorProbe, MemoryInfo, NetInfo, QueueLengthProbe, SAPUsersProbe, ThalesLogFileProbe

public interface ProbeLifecycle
extends java.lang.Runnable

The lifecycle of a Probe.


Method Summary
 ProbeLifecycle activateProbe()
          Activate the probe
 ProbeLifecycle deactivateProbe()
          Deactivate the probe
 boolean isActive()
          Has this probe been activated.
 boolean isOn()
          Is this Probe turned on.
 ProbeLifecycle turnOffProbe()
          Turn off a Probe
 ProbeLifecycle turnOnProbe()
          Turn on a Probe
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

turnOnProbe

ProbeLifecycle turnOnProbe()
Turn on a Probe


turnOffProbe

ProbeLifecycle turnOffProbe()
Turn off a Probe


isOn

boolean isOn()
Is this Probe turned on. The thread is running, but is the Probe getting values.


activateProbe

ProbeLifecycle activateProbe()
Activate the probe


deactivateProbe

ProbeLifecycle deactivateProbe()
Deactivate the probe


isActive

boolean isActive()
Has this probe been activated. Is the thread associated with a Probe acutally running.



RESERVOIR Monitoring 0.6.4