|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.utils.UUIDGen
public class UUIDGen
Generates type 1 (time-based) UUIDs
| Constructor Summary | |
|---|---|
UUIDGen()
|
|
| Method Summary | |
|---|---|
static byte[] |
decompose(java.util.UUID uuid)
decomposes a uuid into raw bytes. |
static java.util.UUID |
getUUID(java.nio.ByteBuffer raw)
creates a type 1 uuid from raw bytes. |
static java.util.UUID |
makeType1UUIDFromHost(java.net.InetAddress addr)
creates a type1 uuid but substitutes hash of the IP where the mac would go. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UUIDGen()
| Method Detail |
|---|
public static java.util.UUID makeType1UUIDFromHost(java.net.InetAddress addr)
public static java.util.UUID getUUID(java.nio.ByteBuffer raw)
public static byte[] decompose(java.util.UUID uuid)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||