public final class ClientPartitionServiceImpl extends Object implements ClientPartitionService
ClientPartitionService
implementation.Constructor and Description |
---|
ClientPartitionServiceImpl(HazelcastClientInstanceImpl client) |
Modifier and Type | Method and Description |
---|---|
Partition |
getPartition(int partitionId) |
int |
getPartitionCount() |
int |
getPartitionId(Data key) |
int |
getPartitionId(Object key) |
Address |
getPartitionOwner(int partitionId) |
void |
refreshPartitions() |
void |
start() |
void |
stop() |
public ClientPartitionServiceImpl(HazelcastClientInstanceImpl client)
public void start()
public void refreshPartitions()
public void stop()
public Address getPartitionOwner(int partitionId)
getPartitionOwner
in interface ClientPartitionService
public int getPartitionId(Data key)
getPartitionId
in interface ClientPartitionService
public int getPartitionId(Object key)
getPartitionId
in interface ClientPartitionService
public int getPartitionCount()
getPartitionCount
in interface ClientPartitionService
public Partition getPartition(int partitionId)
getPartition
in interface ClientPartitionService
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.