public class GlobalTransaction extends Object implements Cloneable
TransactionFactory
class,
as their type depends on the runtime configuration.Modifier and Type | Class and Description |
---|---|
static class |
GlobalTransaction.Externalizer |
Constructor and Description |
---|
GlobalTransaction(Address addr,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object other) |
Address |
getAddress() |
long |
getId() |
long |
getInternalId() |
XidImpl |
getXid() |
String |
globalId()
Returns a simplified representation of the transaction.
|
int |
hashCode() |
boolean |
isRemote() |
void |
setAddress(Address address) |
void |
setId(long id) |
void |
setInternalId(long internalId) |
void |
setRemote(boolean remote) |
void |
setXid(XidImpl xid) |
String |
toString() |
public GlobalTransaction(Address addr, boolean remote)
public Address getAddress()
public long getId()
public boolean isRemote()
public void setRemote(boolean remote)
public final String globalId()
public void setId(long id)
public void setAddress(Address address)
public XidImpl getXid()
public void setXid(XidImpl xid)
public long getInternalId()
public void setInternalId(long internalId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.