Package overit.geocall.util
Class ContextThread
java.lang.Object
java.lang.Thread
overit.geocall.util.ContextThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Runnablestatic final ThreadGroupprotected Identitystatic final ThreadGroupstatic final ThreadGroupprotected SuccessfulCompleteHandlerFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionContextThread(Runnable r, ThreadGroup tg) Allocates a newContextThreadobject. -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()voidsetSuccessfulCompleteHandler(SuccessfulCompleteHandler successfulCompleteHandler) Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
LOGGER_THREAD
-
BACKGROUND_THREAD
-
QUEUE_THREAD
-
_r
-
identity
-
successfulCompleteHandler
-
-
Constructor Details
-
ContextThread
Allocates a newContextThreadobject.- Parameters:
r- the object whoserunmethod is invoked when this thread is started. Ifnull, this thread's run method is invoked.tg- the thread group.
-
-
Method Details