|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.builders.vwms.VwmProbe
admin module, keeps track of all the worker pools and adds/kills workers if needed (depending on there load and info from the config module).
| Constructor Summary | |
VwmProbe(VwmProbeInterface parent)
|
|
| Method Summary | |
boolean |
containsTask(MMObjectNode node)
Checks if a task node already exists in the task nodes vector. |
void |
init()
|
boolean |
putTask(MMObjectNode node)
Puts a task node to the vector (sorted on task start time) of new tasks. |
boolean |
replaceTask(MMObjectNode node)
Replaces a task node entry in the sorted task nodes vector with a new one. |
void |
run()
blocked on the first task in the queue |
void |
start()
Starts the admin Thread. |
void |
stop()
Stops the admin Thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VwmProbe(VwmProbeInterface parent)
| Method Detail |
public void init()
public void start()
public void stop()
public void run()
run in interface java.lang.Runnablepublic boolean putTask(MMObjectNode node)
node - task node
public boolean containsTask(MMObjectNode node)
node - task node
public boolean replaceTask(MMObjectNode node)
node - task node
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||