public class PartitionServiceImpl extends Object implements PartitionService
Constructor and Description |
---|
PartitionServiceImpl(ConcurrentMapManager concurrentMapManager) |
Modifier and Type | Method and Description |
---|---|
void |
addMigrationListener(MigrationListener migrationListener) |
int |
getOwnedPartitionCount() |
com.hazelcast.impl.PartitionServiceImpl.PartitionProxy |
getPartition(int partitionId) |
com.hazelcast.impl.PartitionServiceImpl.PartitionProxy |
getPartition(Object key) |
Set<Partition> |
getPartitions() |
void |
removeMigrationListener(MigrationListener migrationListener) |
void |
reset() |
public PartitionServiceImpl(ConcurrentMapManager concurrentMapManager)
public int getOwnedPartitionCount()
public Set<Partition> getPartitions()
getPartitions
in interface PartitionService
public com.hazelcast.impl.PartitionServiceImpl.PartitionProxy getPartition(Object key)
getPartition
in interface PartitionService
public com.hazelcast.impl.PartitionServiceImpl.PartitionProxy getPartition(int partitionId)
public void addMigrationListener(MigrationListener migrationListener)
addMigrationListener
in interface PartitionService
public void removeMigrationListener(MigrationListener migrationListener)
removeMigrationListener
in interface PartitionService
public void reset()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.