| Package | Description |
|---|---|
| io.atomix.copycat.server |
Standalone, feature-complete implementation of the Raft consensus algorithm.
|
| io.atomix.copycat.server.storage.snapshot |
Classes and interfaces that aid in storing, loading, and installing on-disk state machine snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Snapshottable.snapshot(SnapshotWriter writer)
Takes a snapshot of the state machine state.
|
| Modifier and Type | Method and Description |
|---|---|
SnapshotWriter |
SnapshotWriter.flush() |
SnapshotWriter |
SnapshotWriter.write(Buffer buffer) |
SnapshotWriter |
SnapshotWriter.write(byte[] bytes) |
SnapshotWriter |
SnapshotWriter.write(byte[] bytes,
long offset,
long length) |
SnapshotWriter |
SnapshotWriter.write(Bytes bytes) |
SnapshotWriter |
SnapshotWriter.write(Bytes bytes,
long offset,
long length) |
SnapshotWriter |
SnapshotWriter.writeBoolean(boolean b) |
SnapshotWriter |
SnapshotWriter.writeByte(int b) |
SnapshotWriter |
SnapshotWriter.writeChar(char c) |
SnapshotWriter |
SnapshotWriter.writeDouble(double d) |
SnapshotWriter |
SnapshotWriter.writeFloat(float f) |
SnapshotWriter |
SnapshotWriter.writeInt(int i) |
SnapshotWriter |
SnapshotWriter.writeLong(long l) |
SnapshotWriter |
SnapshotWriter.writeMedium(int m) |
SnapshotWriter |
SnapshotWriter.writeObject(Object object)
Writes an object to the snapshot.
|
abstract SnapshotWriter |
Snapshot.writer()
Returns a new snapshot writer.
|
SnapshotWriter |
SnapshotWriter.writeShort(short s) |
SnapshotWriter |
SnapshotWriter.writeString(String s) |
SnapshotWriter |
SnapshotWriter.writeUnsignedByte(int b) |
SnapshotWriter |
SnapshotWriter.writeUnsignedInt(long i) |
SnapshotWriter |
SnapshotWriter.writeUnsignedMedium(int m) |
SnapshotWriter |
SnapshotWriter.writeUnsignedShort(int s) |
SnapshotWriter |
SnapshotWriter.writeUTF8(String s) |
Copyright © 2013–2016. All rights reserved.