|
|||||||||
| Home >> All >> org >> apache >> axis >> components >> [ uuid overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.axis.components.uuid
Class FastUUIDGen

java.lang.Objectorg.apache.axis.components.uuid.FastUUIDGen
- All Implemented Interfaces:
- UUIDGen
- public class FastUUIDGen
- extends java.lang.Object
- implements UUIDGen
- extends java.lang.Object
Creates time-based UUID's. See the UUID Internet Draft for details.
| Field Summary | |
private static int |
clockSequence
|
private long |
lastTime
|
private static java.lang.String |
nodeStr
|
private static java.util.Random |
secureRandom
|
| Constructor Summary | |
FastUUIDGen()
|
|
| Method Summary | |
private static long |
getBitsValue(long value,
int startBit,
int bitLen)
|
private static int |
getClockSequence()
|
private static java.lang.String |
getNodeHexValue()
|
private static java.lang.String |
leftZeroPadString(java.lang.String bitString,
int len)
|
java.lang.String |
nextUUID()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
secureRandom
private static java.util.Random secureRandom
nodeStr
private static java.lang.String nodeStr
clockSequence
private static int clockSequence
lastTime
private long lastTime
| Constructor Detail |
FastUUIDGen
public FastUUIDGen()
| Method Detail |
getNodeHexValue
private static java.lang.String getNodeHexValue()
getClockSequence
private static int getClockSequence()
nextUUID
public java.lang.String nextUUID()
getBitsValue
private static long getBitsValue(long value,
int startBit,
int bitLen)
leftZeroPadString
private static final java.lang.String leftZeroPadString(java.lang.String bitString, int len)
|
|||||||||
| Home >> All >> org >> apache >> axis >> components >> [ uuid overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.axis.components.uuid.FastUUIDGen