| Package | Description |
|---|---|
| io.atomix.copycat.server |
Standalone, feature-complete implementation of the Raft consensus algorithm.
|
| io.atomix.copycat.server.storage |
Standalone segmented log for Copycat's Raft implementation.
|
| io.atomix.copycat.server.storage.compaction |
Classes and interfaces that facilitate compaction of the Copycat
log. |
| io.atomix.copycat.server.storage.snapshot |
Classes and interfaces that aid in storing, loading, and installing on-disk state machine snapshots.
|
| io.atomix.copycat.server.storage.system |
Classes and interfaces that aid in storing and loading persistent cluster and server configurations.
|
| Modifier and Type | Method and Description |
|---|---|
Storage |
CopycatServer.storage()
Returns the server storage.
|
| Modifier and Type | Method and Description |
|---|---|
CopycatServer.Builder |
CopycatServer.Builder.withStorage(Storage storage)
Sets the storage module.
|
| Modifier and Type | Method and Description |
|---|---|
Storage |
Storage.Builder.build()
Builds the
Storage object. |
| Constructor and Description |
|---|
SegmentManager(String name,
Storage storage,
Serializer serializer) |
StorageCleaner(Storage storage) |
| Modifier and Type | Method and Description |
|---|---|
List<CompactionTask> |
MinorCompactionManager.buildTasks(Storage storage,
SegmentManager segments) |
List<CompactionTask> |
MajorCompactionManager.buildTasks(Storage storage,
SegmentManager segments) |
Collection<CompactionTask> |
CompactionManager.buildTasks(Storage storage,
SegmentManager segments)
Builds compaction tasks for the given segments.
|
List<List<Segment>> |
MajorCompactionManager.getCompactableGroups(Storage storage,
SegmentManager manager)
Returns a list of segments lists to compact, where segments are grouped according to how they will be merged during
compaction.
|
| Constructor and Description |
|---|
Compactor(Storage storage,
SegmentManager segments,
ScheduledExecutorService executor) |
| Constructor and Description |
|---|
SnapshotStore(String name,
Storage storage,
Serializer serializer) |
| Constructor and Description |
|---|
MetaStore(String name,
Storage storage,
Serializer serializer) |
Copyright © 2013–2016. All rights reserved.