| Package | Description |
|---|---|
| io.atomix.primitive.partition |
Provides classes and interfaces for managing primitive partitions, partition groups, and member groups.
|
| io.atomix.protocols.backup.partition |
Provides
PartitionGroup and Partition
implementations for primary-backup. |
| io.atomix.protocols.raft.partition |
Provides
PartitionGroup and Partition
implementations for the Raft consensus protocol. |
| Modifier and Type | Method and Description |
|---|---|
Partition |
PartitionGroup.getPartition(PartitionId partitionId)
Returns a partition by ID.
|
default Partition |
PartitionGroup.getPartition(String key)
Returns the partition for the given key.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Partition> |
PartitionGroup.getPartitions()
Returns a collection of all partitions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PrimaryBackupPartition
Primary-backup partition.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Partition> |
PrimaryBackupPartitionGroup.getPartitions() |
| Modifier and Type | Class and Description |
|---|---|
class |
RaftPartition
Abstract partition.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Partition> |
RaftPartitionGroup.getPartitions() |
Copyright © 2013–2018. All rights reserved.