public static class KeyGeneratorImplementations.BadRandomKeyGenerator extends Object implements KeyGenerator
| Constructor and Description |
|---|
BadRandomKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
long |
keyToStartTimestamp(byte[] key) |
byte[] |
startTimestampToKey(long startTimestamp) |
public byte[] startTimestampToKey(long startTimestamp)
throws IOException
startTimestampToKey in interface KeyGeneratorIOExceptionpublic long keyToStartTimestamp(byte[] key)
throws IOException
keyToStartTimestamp in interface KeyGeneratorIOExceptionCopyright © 2011–2020 Apache Software Foundation. All rights reserved.