public class PartitionStateManager extends Object
Constructor and Description |
---|
PartitionStateManager(Node node,
InternalPartitionServiceImpl partitionService,
PartitionListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
clearMigratingFlag(int partitionId) |
InternalPartitionImpl |
getPartitionImpl(int partitionId) |
InternalPartition[] |
getPartitionsCopy()
Returns a copy of the current partition table.
|
int |
getVersion() |
boolean |
isInitialized() |
boolean |
isMigrating(int partitionId) |
boolean |
trySetMigratingFlag(int partitionId) |
public PartitionStateManager(Node node, InternalPartitionServiceImpl partitionService, PartitionListener listener)
public InternalPartition[] getPartitionsCopy()
public InternalPartitionImpl getPartitionImpl(int partitionId)
public boolean trySetMigratingFlag(int partitionId)
public void clearMigratingFlag(int partitionId)
public boolean isMigrating(int partitionId)
public int getVersion()
public boolean isInitialized()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.