Class InterruptibleRMIThread
java.lang.Object
java.lang.Thread
ecmwf.common.rmi.interruptible.InterruptibleRMIThread
- All Implemented Interfaces:
Runnable
An RMI thread that can be forcefully interrupted via socket closure.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionInterruptibleRMIThread(Runnable target) Instantiates a new interruptible RMI thread.InterruptibleRMIThread(ThreadGroup group, Runnable runnable, String name, long stackSize) Instantiates a new interruptible RMI thread. -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
InterruptibleRMIThread
Instantiates a new interruptible RMI thread.- Parameters:
target- the target
-
InterruptibleRMIThread
Instantiates a new interruptible RMI thread.- Parameters:
group- the grouprunnable- the runnablename- the namestackSize- the stack size
-
-
Method Details
-
interrupt
-