net.sf.ehcache.transaction.xa.processor
Class XAThreadPool
java.lang.Object
net.sf.ehcache.transaction.xa.processor.XAThreadPool
public class XAThreadPool
- extends Object
Fast and minimalistic thread pool from which threads can be reserved and used many times until they
are manually released.
- Author:
- Ludovic Orban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAThreadPool
public XAThreadPool()
getMultiRunner
public XAThreadPool.MultiRunner getMultiRunner()
- Reserve a thread from the pool
- Returns:
- a MultiRunner which wraps the reserved thread
shutdown
public void shutdown()
- Shutdown the thread pool and release all resources
Copyright 2001-2017, Terracotta, Inc.