|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.tm.LocalId
LocalId is a wrapper for a long value that identifies a transaction within a JBoss server. This implementation is immutable and serializable at runtime.
Constructor Summary | |
LocalId()
No-arg constructor for Externalizable support. |
|
LocalId(long value)
Create a new instance. |
|
LocalId(XidImpl xid)
|
Method Summary | |
boolean |
equals(Object obj)
Compare for equality. |
static long |
fromByteArray(byte[] src,
int srcBegin)
|
long |
getValue()
|
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
static void |
toByteArray(long localIdValue,
byte[] dst,
int dstBegin)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalId()
public LocalId(long value)
public LocalId(XidImpl xid)
Method Detail |
public static void toByteArray(long localIdValue, byte[] dst, int dstBegin)
public static long fromByteArray(byte[] src, int srcBegin)
public long getValue()
public boolean equals(Object obj)
public int hashCode()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |