|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gridsystems.innergrid.kernel.UUIDUtils
public final class UUIDUtils
UUID Generation utility class.
| Method Summary | |
|---|---|
static java.lang.String |
generateTimeBasedUUID()
Generates a time based UUID. |
static java.lang.String |
generateTimeBasedUUID(byte[] macAddress)
Generates a time based UUID. |
static byte[] |
getMacAddress()
Gets the MAC address of this machine as a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String generateTimeBasedUUID()
public static java.lang.String generateTimeBasedUUID(byte[] macAddress)
Time-based generation generates UUID using spatial and temporal uniqueness. Spatial uniqueness is derived from ethernet address (MAC, 802.1); temporal from system clock.
macAddress - The MAC address
public static byte[] getMacAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||