Package | Description |
---|---|
com.hazelcast.internal.partition |
Contains the internals for partition assignment/management, migration, replication etc.
|
com.hazelcast.internal.partition.impl |
Contains the actual implementation of the
InternalPartitionService . |
Modifier and Type | Method and Description |
---|---|
PartitionReplica[][] |
PartitionStateGenerator.arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState)
Arranges the partition layout.
|
PartitionReplica[][] |
PartitionStateGenerator.arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState,
Collection<Integer> partitions)
Arranges the partition layout.
|
static PartitionReplica |
PartitionReplica.from(Member member) |
static PartitionReplica[] |
PartitionReplica.from(Member[] members) |
PartitionReplica |
MigrationInfo.getDestination() |
PartitionReplica |
InternalPartition.getOwnerReplicaOrNull()
Returns the partition replica of the owner of this partition.
|
PartitionReplica[][] |
PartitionRuntimeState.getPartitionTable() |
PartitionReplica |
InternalPartition.getReplica(int replicaIndex)
Returns the partition replica assigned to the replica index.
|
PartitionReplica |
PartitionTableView.getReplica(int partitionId,
int replicaIndex) |
PartitionReplica[] |
PartitionTableView.getReplicas(int partitionId) |
PartitionReplica |
MigrationInfo.getSource() |
Modifier and Type | Method and Description |
---|---|
int |
InternalPartition.getReplicaIndex(PartitionReplica replica)
Return the index of partition replica for this partition.
|
Constructor and Description |
---|
MigrationInfo(int partitionId,
PartitionReplica source,
PartitionReplica destination,
int sourceCurrentReplicaIndex,
int sourceNewReplicaIndex,
int destinationCurrentReplicaIndex,
int destinationNewReplicaIndex) |
PartitionTableView(PartitionReplica[][] replicas,
int version) |
Modifier and Type | Method and Description |
---|---|
PartitionReplica |
InternalPartitionImpl.getOwnerReplicaOrNull() |
PartitionReplica |
InternalPartitionImpl.getReplica(int replicaIndex) |
Modifier and Type | Method and Description |
---|---|
int |
InternalPartitionImpl.getReplicaIndex(PartitionReplica replica) |
boolean |
InternalPartitionImpl.isOwnerOrBackup(PartitionReplica replica) |
Constructor and Description |
---|
InternalPartitionImpl(int partitionId,
PartitionListener listener,
PartitionReplica localReplica,
PartitionReplica[] replicas) |
InternalPartitionImpl(int partitionId,
PartitionListener listener,
PartitionReplica localReplica,
PartitionReplica[] replicas) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.