net.sf.ehcache.transaction.xa.processor
Class XARequest
java.lang.Object
net.sf.ehcache.transaction.xa.processor.XARequest
public class XARequest
- extends Object
- Author:
- Nabib El-Rahman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XARequest
public XARequest(XARequest.RequestType requestType,
Xid xid)
- Constructor
- Parameters:
requestType
- what request is this representingxid
- the Xid of the transaction this request is being executed for
XARequest
public XARequest(XARequest.RequestType requestType,
Xid xid,
boolean onePhase)
- Constructor
- Parameters:
requestType
- what request is this representingxid
- the Xid of the transaction this request is being executed foronePhase
- whether this is a single phase commit
getRequestType
public XARequest.RequestType getRequestType()
- Returns:
- the type of request
getXid
public Xid getXid()
- Returns:
- the Xid of the Transaction
isOnePhase
public boolean isOnePhase()
- Returns:
- true is one phase commit requested, otherwise false
Copyright 2001-2017, Terracotta, Inc.