Class PoolableThread
java.lang.Object
java.lang.Thread
de.hybris.platform.core.threadregistry.RegistrableThread
de.hybris.platform.util.threadpool.PoolableThread
- All Implemented Interfaces:
Runnable
A Thread implementation which gives itself back to the ThreadPool when it finishes to execute its task.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Method Summary
Methods inherited from class de.hybris.platform.core.threadregistry.RegistrableThread
registerThread, run, unregisterThread, withInitialInfoMethods 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, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, toString, yield
-
Method Details
-
isBorrowed
public boolean isBorrowed() -
handleError
-
internalRun
public void internalRun()- Overrides:
internalRunin classRegistrableThread
-
execute
-
invalidate
public void invalidate() -
getRunnable
-
start
public void start()
-