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)
PartitioningStrategygetPartitionKey in interface PartitioningStrategykey - actual key object used by Hazelcast to specify the partitionCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.