| java.lang.Object org.jboss.tm.GlobalId
GlobalId | public class GlobalId implements java.io.Externalizable(Code) | | This object encapsulates the global transaction ID of a transaction.
It is similar to an Xid, but holds only the GlobalId part.
This implementation is immutable and always serializable at runtime.
See Also: XidImpl author: Ole Husgaard author: Francisco Reverbel version: $Revision: 57208 $ |
Constructor Summary | |
public | GlobalId() | | GlobalId(int formatId, byte[] globalId, int hash) Create a new instance. | public | GlobalId(int formatId, byte[] globalId) Create a new instance. | public | GlobalId(Xid xid) | public | GlobalId(int formatId, int bqual_length, byte[] tid) |
serialVersionUID | final static long serialVersionUID(Code) | | |
GlobalId | public GlobalId()(Code) | | |
GlobalId | GlobalId(int formatId, byte[] globalId, int hash)(Code) | | Create a new instance. This constructor is package-private, as it
trusts the hash parameter to be good.
|
GlobalId | public GlobalId(int formatId, byte[] globalId)(Code) | | Create a new instance. This constructor is public only
to get around a class loader problem; it should be package-private.
|
GlobalId | public GlobalId(int formatId, int bqual_length, byte[] tid)(Code) | | |
equals | public boolean equals(Object obj)(Code) | | Compare for equality.
Instances are considered equal if they both refer to the same
global transaction id.
|
hashCode | public int hashCode()(Code) | | |
|
|