public class XARequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XARequest.RequestType
XA Requests types
|
Constructor and Description |
---|
XARequest(XARequest.RequestType requestType,
Xid xid)
Constructor
|
XARequest(XARequest.RequestType requestType,
Xid xid,
boolean onePhase)
Constructor
|
public XARequest(XARequest.RequestType requestType, Xid xid)
requestType
- what request is this representingxid
- the Xid of the transaction this request is being executed forpublic XARequest(XARequest.RequestType requestType, Xid xid, boolean onePhase)
requestType
- what request is this representingxid
- the Xid of the transaction this request is being executed foronePhase
- whether this is a single phase commitpublic XARequest.RequestType getRequestType()
public Xid getXid()
public boolean isOnePhase()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.