Class PartitionAwareKey<K,​P>

java.lang.Object
com.hazelcast.partition.PartitionAwareKey<K,​P>
Type Parameters:
K - the key type
P - the partitionKey type
All Implemented Interfaces:
DataSerializable, PartitionAware<Object>

public final class PartitionAwareKey<K,​P>
extends Object
implements PartitionAware<Object>, DataSerializable
A PartitionAware key. This is useful in combination with a Map where you want to control the partition of a key.