|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.id.UUIDGenerator
The base class for identifier generators that use a UUID algorithm. This class implements the algorithm, subclasses define the identifier format.
UUIDHexGenerator
,
UUIDStringGenerator
Constructor Summary | |
UUIDGenerator()
|
Method Summary | |
protected short |
getCount()
Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a millisecond) |
protected short |
getHiTime()
Unique down to millisecond |
protected int |
getIP()
Unique in a local network |
protected int |
getJVM()
Unique across JVMs on this machine (unless they load this class in the same quater second - very unlikely) |
protected int |
getLoTime()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.hibernate.id.IdentifierGenerator |
generate |
Constructor Detail |
public UUIDGenerator()
Method Detail |
protected int getJVM()
protected short getCount()
protected int getIP()
protected short getHiTime()
protected int getLoTime()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |