public class StringPartitioningStrategy extends Object implements PartitioningStrategy
Modifier and Type | Field and Description |
---|---|
static StringPartitioningStrategy |
INSTANCE |
Constructor and Description |
---|
StringPartitioningStrategy() |
Modifier and Type | Method and Description |
---|---|
static String |
getBaseName(String name) |
Object |
getPartitionKey(Object key)
Returns the key object that will be used by Hazelcast to specify the partition.
|
static String |
getPartitionKey(String key) |
public static final StringPartitioningStrategy INSTANCE
public Object getPartitionKey(Object key)
PartitioningStrategy
getPartitionKey
in interface PartitioningStrategy
key
- actual key object used by Hazelcast to specify the partitionCopyright © 2018 Hazelcast, Inc.. All rights reserved.