public class ClientPartitionListenerService extends Object
Modifier and Type | Method and Description |
---|---|
void |
deregisterPartitionListener(ClientEndpoint clientEndpoint) |
Map<Address,List<Integer>> |
getPartitions(PartitionTableView partitionTableView)
If any partition does not have an owner, this method returns empty collection
|
void |
onPartitionStateChange() |
void |
registerPartitionListener(ClientEndpoint clientEndpoint,
long correlationId) |
public void onPartitionStateChange()
public void registerPartitionListener(ClientEndpoint clientEndpoint, long correlationId)
public void deregisterPartitionListener(ClientEndpoint clientEndpoint)
public Map<Address,List<Integer>> getPartitions(PartitionTableView partitionTableView)
partitionTableView
- will be converted to address->partitions mappingCopyright © 2019 Hazelcast, Inc.. All rights reserved.