public interface MinimalPartitionService
Modifier and Type | Method and Description |
---|---|
int |
getPartitionCount()
Returns the number of partitions.
|
int |
getPartitionId(Data key)
Returns the partition id for a Data key.
|
int |
getPartitionId(Object key)
Returns the partition id for a given object.
|
int getPartitionId(Data key)
key
- the Data key.NullPointerException
- if key is null.int getPartitionId(Object key)
key
- the object key.int getPartitionCount()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.