bitronix.tm.utils
Class Uid
java.lang.Object
bitronix.tm.utils.Uid
public final class Uid
- extends Object
A constant UID byte array container optimized for use with hashed collections.
- Author:
- lorban
Constructor Summary |
Uid(byte[] array)
|
Uid
public Uid(byte[] array)
getArray
public byte[] getArray()
extractServerId
public byte[] extractServerId()
extractTimestamp
public long extractTimestamp()
extractSequence
public int extractSequence()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.