public class AttributePartitioningStrategy extends Object implements PartitioningStrategy<Object>
Constructor and Description |
---|
AttributePartitioningStrategy(String... attributes) |
Modifier and Type | Method and Description |
---|---|
String[] |
getPartitioningAttributes() |
Object |
getPartitionKey(Object key)
Returns the key object that will be used by Hazelcast to specify the partition.
|
public AttributePartitioningStrategy(String... attributes)
public Object getPartitionKey(Object key)
PartitioningStrategy
getPartitionKey
in interface PartitioningStrategy<Object>
key
- actual key object used by Hazelcast to specify the partitionpublic String[] getPartitioningAttributes()
Copyright © 2024 Hazelcast, Inc.. All rights reserved.