com.hazelcast.client.proxy
Class PartitionServiceProxy
java.lang.Object
com.hazelcast.client.proxy.PartitionServiceProxy
- All Implemented Interfaces:
- PartitionService
public final class PartitionServiceProxy
- extends Object
- implements PartitionService
- Author:
- mdogan 5/16/13
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionServiceProxy
public PartitionServiceProxy(ClientPartitionService partitionService)
randomPartitionKey
public String randomPartitionKey()
- Specified by:
randomPartitionKey in interface PartitionService
getPartitions
public Set<Partition> getPartitions()
- Specified by:
getPartitions in interface PartitionService
getPartition
public Partition getPartition(Object key)
- Specified by:
getPartition in interface PartitionService
addMigrationListener
public String addMigrationListener(MigrationListener migrationListener)
- Specified by:
addMigrationListener in interface PartitionService
removeMigrationListener
public boolean removeMigrationListener(String registrationId)
- Specified by:
removeMigrationListener in interface PartitionService
isClusterSafe
public boolean isClusterSafe()
- Specified by:
isClusterSafe in interface PartitionService
isMemberSafe
public boolean isMemberSafe(Member member)
- Specified by:
isMemberSafe in interface PartitionService
isLocalMemberSafe
public boolean isLocalMemberSafe()
- Specified by:
isLocalMemberSafe in interface PartitionService
forceLocalMemberToBeSafe
public boolean forceLocalMemberToBeSafe(long timeout,
TimeUnit unit)
- Specified by:
forceLocalMemberToBeSafe in interface PartitionService
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.