public class GlobalTransaction extends Object implements Cloneable
TransactionFactory
class,
as their type depends on the runtime configuration.Modifier and Type | Class and Description |
---|---|
protected static class |
GlobalTransaction.AbstractGlobalTxExternalizer<T extends GlobalTransaction> |
static class |
GlobalTransaction.Externalizer |
Modifier and Type | Field and Description |
---|---|
protected Address |
addr |
protected long |
id |
Modifier | Constructor and Description |
---|---|
protected |
GlobalTransaction()
empty ctor used by externalization.
|
protected |
GlobalTransaction(Address addr,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object other) |
Address |
getAddress() |
long |
getId() |
String |
globalId()
Returns a simplified representation of the transaction.
|
int |
hashCode() |
boolean |
isRemote() |
void |
setAddress(Address address) |
void |
setId(long id) |
void |
setRemote(boolean remote) |
String |
toString() |
protected long id
protected Address addr
protected GlobalTransaction()
protected 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)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.