Class ProcessMonitorThread

java.lang.Object
java.lang.Thread
com.sun.corba.se.impl.activation.ProcessMonitorThread
All Implemented Interfaces:
Runnable

public class ProcessMonitorThread extends Thread
ProcessMonitorThread is started when ServerManager is instantiated. The thread wakes up every minute (This can be changed by setting sleepTime) and makes sure that all the processes (Servers) registered with the ServerTool are healthy. If not the state in ServerTableEntry will be changed to De-Activated. Note: This thread can be killed from the main thread by calling interrupThread()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread