com.hazelcast.client.spi.impl
Class ClientPartitionServiceImpl
java.lang.Object
com.hazelcast.client.spi.impl.ClientPartitionServiceImpl
- All Implemented Interfaces:
- ClientPartitionService
public final class ClientPartitionServiceImpl
- extends Object
- implements ClientPartitionService
The ClientPartitionService
implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientPartitionServiceImpl
public ClientPartitionServiceImpl(HazelcastClientInstanceImpl client)
start
public void start()
refreshPartitions
public void refreshPartitions()
stop
public void stop()
getPartitionOwner
public Address getPartitionOwner(int partitionId)
- Specified by:
getPartitionOwner
in interface ClientPartitionService
getPartitionId
public int getPartitionId(Data key)
- Specified by:
getPartitionId
in interface ClientPartitionService
getPartitionId
public int getPartitionId(Object key)
- Specified by:
getPartitionId
in interface ClientPartitionService
getPartitionCount
public int getPartitionCount()
- Specified by:
getPartitionCount
in interface ClientPartitionService
getPartition
public Partition getPartition(int partitionId)
- Specified by:
getPartition
in interface ClientPartitionService
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.