|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.id.UUIDGenerator
public class UUIDGenerator
| Constructor Summary | |
|---|---|
UUIDGenerator()
|
|
| Method Summary | |
|---|---|
protected String |
format(int intval)
|
protected String |
format(short shortval)
|
Serializable |
generate()
|
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 |
| Constructor Detail |
|---|
public UUIDGenerator()
| Method Detail |
|---|
protected int getJVM()
protected short getCount()
protected int getIP()
protected short getHiTime()
protected int getLoTime()
protected String format(int intval)
protected String format(short shortval)
public Serializable generate()
generate in interface IdentifierGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||