public class COMBKeyGenerator extends java.lang.Object implements KeyProvider<java.lang.Object,java.util.UUID>
Constructor and Description |
---|
COMBKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getKey(java.lang.Object record)
Gets the key.
|
static java.util.UUID |
getSequentialUUID()
Gets the random uuid.
|
static void |
main(java.lang.String[] args) |
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 getSequentialUUID()
public static void main(java.lang.String[] args)