public class InDoubtTxInfo extends Object
Modifier and Type | Field and Description |
---|---|
static AbstractExternalizer<InDoubtTxInfo> |
EXTERNALIZER |
Constructor and Description |
---|
InDoubtTxInfo(XidImpl xid,
long internalId) |
InDoubtTxInfo(XidImpl xid,
long internalId,
int status) |
Modifier and Type | Method and Description |
---|---|
void |
addOwner(Address owner)
Adds
owner as a node where this transaction information is maintained. |
boolean |
equals(Object o) |
long |
getInternalId() |
Set<Address> |
getOwners() |
int |
getStatus()
The value represent transaction's state as described by the
status field. |
XidImpl |
getXid() |
int |
hashCode() |
boolean |
isLocal() |
void |
setLocal(boolean local)
Sets
true if this transaction information is stored locally. |
void |
setStatus(int status)
Sets the transaction's state.
|
String |
toString() |
public static final AbstractExternalizer<InDoubtTxInfo> EXTERNALIZER
public InDoubtTxInfo(XidImpl xid, long internalId, int status)
public InDoubtTxInfo(XidImpl xid, long internalId)
public long getInternalId()
XidImpl
. It makes possible the invocation of recovery
operations.public int getStatus()
status
field.Status
or -1 if not set.public void setStatus(int status)
public Set<Address> getOwners()
public void addOwner(Address owner)
owner
as a node where this transaction information is maintained.public boolean isLocal()
True
if the transaction information is also present on this node.public void setLocal(boolean local)
true
if this transaction information is stored locally.Copyright © 2021 JBoss by Red Hat. All rights reserved.