Package com.hazelcast.partition.strategy
Class StringAndPartitionAwarePartitioningStrategy
java.lang.Object
com.hazelcast.partition.strategy.StringAndPartitionAwarePartitioningStrategy
- All Implemented Interfaces:
- PartitioningStrategy,- Serializable
public final class StringAndPartitionAwarePartitioningStrategy
extends Object
implements PartitioningStrategy
- See Also:
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiongetPartitionKey(Object key) Returns the key object that will be used by Hazelcast to specify the partition.
- 
Field Details- 
INSTANCE
 
- 
- 
Method Details- 
getPartitionKeyDescription copied from interface:PartitioningStrategyReturns the key object that will be used by Hazelcast to specify the partition.- Specified by:
- getPartitionKeyin interface- PartitioningStrategy
- Parameters:
- key- actual key object used by Hazelcast to specify the partition
- Returns:
- the partition key object, or null to fall back to the default partition calculation
 
 
-