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
|
Modifier and Type | Method and Description |
---|---|
XARequest.RequestType |
getRequestType() |
Xid |
getXid() |
boolean |
isOnePhase() |
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–2016 Terracotta, Inc.. All rights reserved.