public class Java5UUIDKeyGenerator extends java.lang.Object implements KeyProvider<java.lang.Object,java.util.UUID>
Constructor and Description |
---|
Java5UUIDKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getKey(java.lang.Object record)
Gets the key.
|
static java.util.UUID |
getRandomUUID()
Gets the random uuid.
|
public java.util.UUID getKey(java.lang.Object record)
KeyProvider
getKey
in interface KeyProvider<java.lang.Object,java.util.UUID>
record
- the recordpublic static java.util.UUID getRandomUUID()