public class GlobalTransaction extends Object implements Externalizable
Constructor and Description |
---|
GlobalTransaction()
empty ctor used by externalization
|
Modifier and Type | Method and Description |
---|---|
static GlobalTransaction |
create(org.jgroups.Address addr) |
boolean |
equals(Object other) |
Object |
getAddress() |
long |
getId() |
int |
hashCode() |
boolean |
isRemote() |
void |
readExternal(ObjectInput in) |
void |
setAddress(org.jgroups.Address address) |
void |
setId(long id) |
void |
setRemote(boolean remote) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static GlobalTransaction create(org.jgroups.Address addr)
public Object getAddress()
public void setAddress(org.jgroups.Address address)
public long getId()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public boolean isRemote()
public void setRemote(boolean remote)
remote
- The remote to set.public void setId(long id)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.