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
Exception
public void cleanupOnDisconnect()
public void reset()
reset
in interface ClientPartitionService
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 © 2021 Hazelcast, Inc.. All Rights Reserved.