net.sf.ehcache.transaction.xa
Interface XARequestProcessor
- All Known Implementing Classes:
- TransactionXARequestProcessor
public interface XARequestProcessor
Class to delegate XAResource classes to internal thread
- Author:
- Nabib El-Rahman
Method Summary |
int |
process(XARequest request)
Process the XAResource method to another thread. |
process
int process(XARequest request)
throws javax.transaction.xa.XAException
- Process the XAResource method to another thread.
- Parameters:
request
- the XARequest to be processed
- Returns:
- the potential XA flags for the XAResource to return to the TransactionManager
- Throws:
javax.transaction.xa.XAException
- Depending on the XARequest type being executed, some XAException can happen
true