Contents
Class WakeupThread
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WakeupThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ECaccessScheduler
,TransferScheduler.MonitoringThread
The Class WakeupThread.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ecmwf.common.technical.ThreadService.ConfigurableRunnable
configurableRun, execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
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.
-