com.hazelcast.client.spi.impl
Class ClientPartitionServiceImpl

java.lang.Object
  extended by com.hazelcast.client.spi.impl.ClientPartitionServiceImpl
All Implemented Interfaces:
ClientPartitionService

public final class ClientPartitionServiceImpl
extends Object
implements ClientPartitionService

The ClientPartitionService implementation.


Constructor Summary
ClientPartitionServiceImpl(HazelcastClientInstanceImpl client)
           
 
Method Summary
 Partition getPartition(int partitionId)
           
 int getPartitionCount()
           
 int getPartitionId(Data key)
           
 int getPartitionId(Object key)
           
 Address getPartitionOwner(int partitionId)
           
 void refreshPartitions()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientPartitionServiceImpl

public ClientPartitionServiceImpl(HazelcastClientInstanceImpl client)
Method Detail

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.