| Package | Description | 
|---|---|
| com.hazelcast.map.impl | Contains implementation specific classes of  com.hazelcast.mappackage. | 
| com.hazelcast.partition | Contains the partition logic for Hazelcast. | 
| com.hazelcast.partition.impl | Contains the actual implementation of the  InternalPartitionService. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | LocalMapStatsProvider. addReplicaPartitionStats(LocalMapStatsProvider.LocalMapOnDemandCalculatedStats onDemandStats,
                        String mapName,
                        int partitionId,
                        InternalPartition partition,
                        InternalPartitionService partitionService,
                        int backupCount,
                        Address thisAddress)Calculates and adds replica partition stats. | 
| protected Address | LocalMapStatsProvider. getReplicaAddress(int replica,
                 InternalPartition partition,
                 InternalPartitionService partitionService,
                 int backupCount)Gets replica address. | 
| protected void | LocalMapStatsProvider. printWarning(InternalPartition partition,
            int replica) | 
| protected Address | LocalMapStatsProvider. waitForReplicaAddress(int replica,
                     InternalPartition partition,
                     InternalPartitionService partitionService,
                     int backupCount)Waits partition table update to get replica address if current replica address is null. | 
| Modifier and Type | Method and Description | 
|---|---|
| InternalPartition | InternalPartitionService. getPartition(int partitionId)Returns the InternalPartition for a given partitionId. | 
| InternalPartition | InternalPartitionService. getPartition(int partitionId,
            boolean triggerOwnerAssignment)Returns the InternalPartition for a given partitionId. | 
| InternalPartition[] | InternalPartitionService. getPartitions() | 
| Constructor and Description | 
|---|
| PartitionRuntimeState(ILogger logger,
                     Collection<MemberInfo> memberInfos,
                     InternalPartition[] partitions,
                     Collection<MigrationInfo> migrationInfos,
                     int version) | 
| Modifier and Type | Method and Description | 
|---|---|
| InternalPartition[] | InternalPartitionServiceImpl. getPartitions() | 
| Modifier and Type | Method and Description | 
|---|---|
| Address[][] | PartitionStateGenerator. reArrange(Collection<MemberGroup> groups,
         InternalPartition[] currentState)Rearranges the partition layout. | 
| Address[][] | PartitionStateGeneratorImpl. reArrange(Collection<MemberGroup> memberGroups,
         InternalPartition[] currentState) | 
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.