org.openscience.nmrshiftdb.daemons
Class LoadBalancerDaemon

java.lang.Object
  extended by org.openscience.nmrshiftdb.daemons.AbstractDaemon
      extended by org.openscience.nmrshiftdb.daemons.AbstractDaemonWithServletConfig
          extended by org.openscience.nmrshiftdb.daemons.LoadBalancerDaemon
All Implemented Interfaces:
java.lang.Runnable, org.apache.jetspeed.daemon.Daemon

public class LoadBalancerDaemon
extends AbstractDaemonWithServletConfig

A daemon that looks for the NMRShiftDB server with the lowest load and writes this to DB

Author:
Stefan Kuhn

Field Summary
 
Fields inherited from interface org.apache.jetspeed.daemon.Daemon
RESULT_FAILED, RESULT_PROCESSING, RESULT_SUCCESS, RESULT_UNKNOWN, STATUS_NOT_PROCESSED, STATUS_NOT_STARTED, STATUS_PROCESSED, STATUS_PROCESSING, STATUS_STARTED, STATUS_UNKNOWN
 
Constructor Summary
LoadBalancerDaemon()
           
 
Method Summary
 void run(javax.servlet.ServletConfig servcon)
          Does the task
 
Methods inherited from class org.openscience.nmrshiftdb.daemons.AbstractDaemonWithServletConfig
run
 
Methods inherited from class org.openscience.nmrshiftdb.daemons.AbstractDaemon
getDaemonConfig, getDaemonEntry, getMessage, getResult, getStatus, init, setResult, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadBalancerDaemon

public LoadBalancerDaemon()
Method Detail

run

public void run(javax.servlet.ServletConfig servcon)
Does the task

Specified by:
run in class AbstractDaemonWithServletConfig