|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 (src) xid)
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compare for equality. |
static long |
fromByteArray(byte[] src,
int srcBegin)
|
long |
getValue()
|
int |
hashCode()
|
void |
readExternal(java.io.ObjectInput in)
|
static void |
toByteArray(long localIdValue,
byte[] dst,
int dstBegin)
|
void |
writeExternal(java.io.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 (src) 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(java.lang.Object obj)
public int hashCode()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |