Interface PartitionAware
public interface PartitionAware
Key contract for colocating related entries on the same partition.
When a key implements this interface, routing uses getPartitionKey()
instead of the key object itself. Different keys that return the same partition
key are assigned to the same partition and Raft group.
-
Method Summary
-
Method Details
-
getPartitionKey
Object getPartitionKey()
-