Class MonitoredThread

java.lang.Object
java.lang.Thread
org.eclipse.net4j.util.concurrent.MonitoredThread
All Implemented Interfaces:
Runnable

public abstract class MonitoredThread extends Thread
Since:
2.0
Author:
Eike Stepper
  • Constructor Details

  • Method Details

    • getTimeStamp

      public long getTimeStamp()
    • isIdleTimeoutExpired

      public boolean isIdleTimeoutExpired(long idleTimeOut)
    • heartBeat

      public void heartBeat()
    • shutdown

      public void shutdown()
    • run

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

      protected abstract void doRun() throws Exception
      Throws:
      Exception