|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.xa.TransactionXARequestProcessor
public class TransactionXARequestProcessor
Default implementation for TransactionXARequestProcessor.
This class ties an Xid to an Executor service. This is necessary so that
locking for 2pc by the same thread.
xaRequestProcessor.
| Constructor Summary | |
|---|---|
TransactionXARequestProcessor(EhcacheXAResourceImpl resourceImpl)
Constructor |
|
| Method Summary | |
|---|---|
int |
process(XARequest request)
Process the XAResource method to another thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionXARequestProcessor(EhcacheXAResourceImpl resourceImpl)
resourceImpl - The EhcacheXAResourceImpl instance this processor will perform against| Method Detail |
|---|
public int process(XARequest request)
throws javax.transaction.xa.XAException
process in interface XARequestProcessorrequest - the XARequest to be processed
javax.transaction.xa.XAException - Depending on the XARequest type being executed, some XAException can happen
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||