wt.manager
Class StandardServerMonitor.ServerMonitor

java.lang.Object
  extended byjava.lang.Thread
      extended bywt.manager.StandardServerMonitor.ServerMonitor
All Implemented Interfaces:
Runnable
Enclosing class:
StandardServerMonitor

class StandardServerMonitor.ServerMonitor
extends Thread


Field Summary
private  int instances
           
private  int interval
           
private  boolean started
           
private  String this_service
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StandardServerMonitor.ServerMonitor(String service_name)
           
 
Method Summary
(package private)  void checker()
          check on the health of the Servers
 String getServiceName()
           
 ServiceStat getStats()
           
 void run()
           
(package private)  void startServers()
          Start some number of Servers instances
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instances

private int instances

interval

private int interval

this_service

private String this_service

started

private boolean started
Constructor Detail

StandardServerMonitor.ServerMonitor

public StandardServerMonitor.ServerMonitor(String service_name)
Method Detail

getStats

public ServiceStat getStats()

getServiceName

public String getServiceName()

run

public void run()

checker

void checker()
check on the health of the Servers


startServers

void startServers()
Start some number of Servers instances