public abstract class RoutingKeyGenerator extends Object
Constructor and Description |
---|
RoutingKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
static RoutingKeyGenerator |
getInstance()
Get the generator for this context.
|
abstract long |
getLastChanged()
The version of the current (today's) mod data.
|
abstract Hash |
getRoutingKey(Hash origKey)
Get the routing key for a key.
|
public static RoutingKeyGenerator getInstance()
public abstract long getLastChanged()
public abstract Hash getRoutingKey(Hash origKey)
IllegalArgumentException
- if origKey is null