|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.transaction.xa.processor.XAThreadPool.MultiRunner
public static final class XAThreadPool.MultiRunner
Pooled thread wrapper which allows reuse of the same thread
Method Summary | |
---|---|
Object |
execute(Callable callable)
Execute a Callable on the wrapped thread and return its result |
void |
release()
Release the wrapped thread back the the containing thread pool |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object execute(Callable callable) throws ExecutionException, InterruptedException
callable
- The Callable to execute
ExecutionException
- thrown when something went wrong during execution
InterruptedException
- thrown when the executing thread got interruptedpublic void release()
public void run()
run
in interface Runnable
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |