|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.transaction.xa.XARequest
public class XARequest
Nested Class Summary | |
---|---|
static class |
XARequest.RequestType
XA Requests types |
Constructor Summary | |
---|---|
XARequest(XARequest.RequestType requestType,
javax.transaction.Transaction txn,
javax.transaction.xa.Xid xid)
Constructor |
|
XARequest(XARequest.RequestType requestType,
javax.transaction.Transaction txn,
javax.transaction.xa.Xid xid,
int flags)
Constructor |
|
XARequest(XARequest.RequestType requestType,
javax.transaction.Transaction txn,
javax.transaction.xa.Xid xid,
int flags,
boolean onePhase)
Constructor |
Method Summary | |
---|---|
int |
getFlags()
|
XARequest.RequestType |
getRequestType()
|
javax.transaction.Transaction |
getTransaction()
get the current transaction |
javax.transaction.xa.Xid |
getXid()
|
boolean |
isOnePhase()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XARequest(XARequest.RequestType requestType, javax.transaction.Transaction txn, javax.transaction.xa.Xid xid)
requestType
- what request is this representingtxn
- the Transaction this request is being executed forxid
- the Xid of the transaction this request is being executed forpublic XARequest(XARequest.RequestType requestType, javax.transaction.Transaction txn, javax.transaction.xa.Xid xid, int flags)
requestType
- what request is this representingtxn
- the Transaction this request is being executed forxid
- the Xid of the transaction this request is being executed forflags
- the flags passed to the XAResource, when the request is madepublic XARequest(XARequest.RequestType requestType, javax.transaction.Transaction txn, javax.transaction.xa.Xid xid, int flags, boolean onePhase)
requestType
- what request is this representingtxn
- the Transaction this request is being executed forxid
- the Xid of the transaction this request is being executed forflags
- the flags passed to the XAResource, when the request is madeonePhase
- whether this is a single phase commitMethod Detail |
---|
public XARequest.RequestType getRequestType()
public javax.transaction.xa.Xid getXid()
public int getFlags()
public boolean isOnePhase()
public javax.transaction.Transaction getTransaction()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |