public final class StringAndPartitionAwarePartitioningStrategy extends Object implements PartitioningStrategy
Modifier and Type | Field and Description |
---|---|
static StringAndPartitionAwarePartitioningStrategy |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Object |
getPartitionKey(Object key)
Returns the key object that will be used by Hazelcast to specify the partition.
|
public static final StringAndPartitionAwarePartitioningStrategy INSTANCE
public Object getPartitionKey(Object key)
PartitioningStrategy
getPartitionKey
in interface PartitioningStrategy
key
- actual key object used by Hazelcast to specify the partitionCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.