|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.core.MMBaseProbe
MMBaseProbe is a thread-like object that gets instantiated by MMbase.
It calls the callback method MMBase.doProbeRun() in MMbase, which in turn probes the builders.
After the probe has been preformed, it schedules itself to be destroyed after an alotted time (10 minutes),
which also clears the reference in MMBase and prompts that module to create a new probe instance.
This way, maintanance is scheduled to run every ten minutes.
| Constructor Summary | |
MMBaseProbe(MMBase parent)
Constructor, which ties this probe object to an MMBase module |
|
| Method Summary | |
void |
init()
Initializes the probe and starts a probe thread. |
void |
run()
Calls a callback method in the MMBase module. |
void |
start()
Starts a thread to perform the probes. |
void |
stop()
Stops the probing thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MMBaseProbe(MMBase parent)
| Method Detail |
public void init()
public void start()
public void stop()
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 | ||||||||