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 objectCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.