Package org.apache.openjpa.slice
Class SliceThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.openjpa.slice.SliceThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class SliceThread extends java.lang.Thread
A thread to execute operation against each database slice.- Author:
- Pinaki Poddar
-
-
Constructor Summary
Constructors Constructor Description SliceThread(java.lang.String name, java.lang.Thread parent, java.lang.Runnable r)
SliceThread(java.lang.Thread parent, java.lang.Runnable r)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Thread
getParent()
Gets the parent thread of this receiver.static java.util.concurrent.ExecutorService
getPool()
Create a cached pool of slice threads.-
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, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-