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 keyNullPointerException - if key is nullint getPartitionId(Object key)
key - the object keyint getPartitionCount()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.