| Package | Description |
|---|---|
| io.atomix.protocols.raft.partition |
Provides
PartitionGroup and Partition
implementations for the Raft consensus protocol. |
| io.atomix.storage |
Provides classes and interfaces for managing storage objects.
|
| Modifier and Type | Method and Description |
|---|---|
StorageLevel |
RaftPartition.storageLevel()
Returns the Raft partition storage level.
|
| Modifier and Type | Method and Description |
|---|---|
RaftPartitionGroup.Builder |
RaftPartitionGroup.Builder.withStorageLevel(StorageLevel storageLevel)
Sets the storage level.
|
| Constructor and Description |
|---|
RaftPartition(PartitionId partitionId,
StorageLevel storageLevel,
long segmentSize,
boolean flushOnCommit,
File dataDirectory) |
| Modifier and Type | Method and Description |
|---|---|
static StorageLevel |
StorageLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageLevel[] |
StorageLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2013–2018. All rights reserved.