public static interface KeyPartitioningStrategy.PartitionAwareKey
KeyPartitioningStrategy implementations.
Naturally, since a PartitionAwareKey implementation explicitly dictates its partition, it should not define any key-association.
| Modifier and Type | Method and Description |
|---|---|
int |
getPartitionId()
Return the partition id that this key should be associated with.
|