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 PartitionServicepublic com.hazelcast.impl.PartitionServiceImpl.PartitionProxy getPartition(Object key)
getPartition in interface PartitionServicepublic com.hazelcast.impl.PartitionServiceImpl.PartitionProxy getPartition(int partitionId)
public void addMigrationListener(MigrationListener migrationListener)
addMigrationListener in interface PartitionServicepublic void removeMigrationListener(MigrationListener migrationListener)
removeMigrationListener in interface PartitionServicepublic void reset()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.