|
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.XARequestProcessor
public class XARequestProcessor
Default implementation for XARequestProcessor.
This class ties an Xid to an Executor service. This is necessary so that
locking for 2pc by the same thread.
xaRequestProcessor
.
Constructor Summary | |
---|---|
XARequestProcessor(EhcacheXAResourceImpl resourceImpl)
Constructor |
Method Summary | |
---|---|
int |
process(XARequest request)
Process a XARequest |
static void |
shutdown()
Release resources shared by all XARequestProcessors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XARequestProcessor(EhcacheXAResourceImpl resourceImpl)
resourceImpl
- The EhcacheXAResourceImpl instance this processor will perform againstMethod Detail |
---|
public static void shutdown()
public int process(XARequest request) throws XAException
request
- the XARequest
XAException
- the XAException thrown by the XAResource
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |