public final class ClientPartitionServiceImpl extends Object implements ClientPartitionService
ClientPartitionService implementation.| Constructor and Description |
|---|
ClientPartitionServiceImpl(HazelcastClientInstanceImpl client) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupOnDisconnect() |
Partition |
getPartition(int partitionId) |
int |
getPartitionCount() |
int |
getPartitionId(Data key) |
int |
getPartitionId(Object key) |
Address |
getPartitionOwner(int partitionId) |
void |
listenPartitionTable(Connection ownerConnection) |
void |
reset() |
void |
start() |
public ClientPartitionServiceImpl(HazelcastClientInstanceImpl client)
public void start()
public void listenPartitionTable(Connection ownerConnection) throws Exception
Exceptionpublic void cleanupOnDisconnect()
public void reset()
reset in interface ClientPartitionServicepublic Address getPartitionOwner(int partitionId)
getPartitionOwner in interface ClientPartitionServicepublic int getPartitionId(Data key)
getPartitionId in interface ClientPartitionServicepublic int getPartitionId(Object key)
getPartitionId in interface ClientPartitionServicepublic int getPartitionCount()
getPartitionCount in interface ClientPartitionServicepublic Partition getPartition(int partitionId)
getPartition in interface ClientPartitionServiceCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.