public abstract class RoutingKeyGenerator extends Object
RoutingKeyGenerator provides hash transformation for distributed hash table routing:
Key Operations:
getRoutingKey(Hash) - Transform hash to routing keygetLastChanged() - Get current mod data versiongetInstance() - Get generator for current contextTransformation Process:
Context Availability:
Evolution:
Usage in I2P:
Security Considerations:
Performance Aspects:
| 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