Class WakeupThread

All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ECaccessScheduler, TransferScheduler.MonitoringThread

public abstract class WakeupThread extends ThreadService.ConfigurableRunnable
The Class WakeupThread.
  • Constructor Details

    • WakeupThread

      public WakeupThread()
  • Method Details

    • isOnHold

      public boolean isOnHold()
      Checks if is on hold.
      Returns:
      true, if is on hold
    • setOnhold

      public void setOnhold(boolean hold)
      Sets the onhold.
      Parameters:
      hold - the new onhold
    • isSleeping

      public boolean isSleeping()
      Checks if is sleeping.
      Returns:
      true, if is sleeping
    • waitFor

      public boolean waitFor(long delay)
      Wait for.
      Parameters:
      delay - the delay
      Returns:
      true, if successful
    • wakeup

      public void wakeup()
      Wakeup.