org.apache.openjpa.slice
Class SliceThread
java.lang.Object
java.lang.Thread
org.apache.openjpa.slice.SliceThread
- All Implemented Interfaces:
- Runnable
public class SliceThread
- extends Thread
A thread to execute operation against each database slice.
- Author:
- Pinaki Poddar
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
SliceThread
public SliceThread(String name,
Thread parent,
Runnable r)
SliceThread
public SliceThread(Thread parent,
Runnable r)
getParent
public Thread getParent()
- Gets the parent thread of this receiver.
getPool
public static ExecutorService getPool()
- Create a cached pool of slice threads.
The thread factory creates specialized threads for preferential locking treatment.
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.