|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.transaction.xa.XAThreadPool
public class XAThreadPool
Fast and minimalistic thread pool from which threads can be reserved and used many times until they are manually released.
Nested Class Summary | |
---|---|
static class |
XAThreadPool.MultiRunner
Pooled thread wrapper which allows reuse of the same thread |
Constructor Summary | |
---|---|
XAThreadPool()
|
Method Summary | |
---|---|
XAThreadPool.MultiRunner |
getMultiRunner()
Reserve a thread from the pool |
void |
shutdown()
Shutdown the thread pool and release all resources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XAThreadPool()
Method Detail |
---|
public XAThreadPool.MultiRunner getMultiRunner()
public void shutdown()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |