org.mmbase.module.builders.vwms
Class VwmProbe

java.lang.Object
  |
  +--org.mmbase.module.builders.vwms.VwmProbe
All Implemented Interfaces:
java.lang.Runnable

public class VwmProbe
extends java.lang.Object
implements java.lang.Runnable

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).

Version:
27 Mar 1997
Author:
Daniel Ockeloen

Constructor Summary
VwmProbe(VwmProbeInterface parent)
           
 
Method Summary
 boolean containsTask(MMObjectNode node)
           
 void init()
           
 boolean putTask(MMObjectNode node)
           
 boolean replaceTask(MMObjectNode node)
           
 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

VwmProbe

public VwmProbe(VwmProbeInterface parent)
Method Detail

init

public void init()

start

public void start()
Starts the admin Thread.

stop

public void stop()
Stops the admin Thread.

run

public void run()
blocked on the first task in the queue
Specified by:
run in interface java.lang.Runnable

putTask

public boolean putTask(MMObjectNode node)

containsTask

public boolean containsTask(MMObjectNode node)

replaceTask

public boolean replaceTask(MMObjectNode node)


MMBase 2001