Class WaitingThread
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.WaitingThread
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
The Class AsynchronousThread. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ecmwf.common.technical.ThreadService.ConfigurableRunnable
execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
WaitingThread
public WaitingThread()
-
-
Method Details
-
action
-
exec
public long exec(long timeout, boolean asynchronous) Exec.- Parameters:
timeout
- the timeoutasynchronous
- the asynchronous- Returns:
- the long
-
configurableRun
public void configurableRun()Configurable run. Configurable run.- Specified by:
configurableRun
in classThreadService.ConfigurableRunnable
-
completed
-
timeOutExpired
public boolean timeOutExpired()Time out expired.- Returns:
- true, if successful
-