public class MemberMinimalPartitionService extends Object implements MinimalPartitionService
MinimalPartitionService| Constructor and Description | 
|---|
| MemberMinimalPartitionService(IPartitionService partitionService) | 
| 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. | 
public MemberMinimalPartitionService(IPartitionService partitionService)
public int getPartitionId(Data key)
MinimalPartitionServicegetPartitionId in interface MinimalPartitionServicekey - the Data key.public int getPartitionId(Object key)
MinimalPartitionServicegetPartitionId in interface MinimalPartitionServicekey - the object key.public int getPartitionCount()
MinimalPartitionServicegetPartitionCount in interface MinimalPartitionServiceCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.