Methods Summary |
---|
protected short | getCount()Unique in a millisecond for this JVM instance (unless there
are > Short.MAX_VALUE instances created in a millisecond)
synchronized(AbstractUUIDGenerator.class) {
if (counter<0) counter=0;
return counter++;
}
|
protected short | getHiTime()Unique down to millisecond
return (short) ( System.currentTimeMillis() >>> 32 );
|
protected int | getIP()Unique in a local network
return IP;
|
protected int | getJVM()Unique across JVMs on this machine (unless they load this class
in the same quater second - very unlikely)
return JVM;
|
protected int | getLoTime()
return (int) System.currentTimeMillis();
|