| Package | Description |
|---|---|
| org.jsimpledb.kv.raft |
A distributed
KVDatabase based on the Raft consensus algorithm. |
| org.jsimpledb.kv.raft.cmd |
Raft-related CLI
Commands. |
| org.jsimpledb.kv.raft.fallback |
A partition-tolerant
KVDatabase that automatically migrates between a clustered
RaftKVDatabase and a private non-clustered "standalone mode"
KVDatabase, based on availability of the Raft cluster. |
| Modifier and Type | Method and Description |
|---|---|
RaftKVDatabase |
Role.getKVDatabase()
Get the
RaftKVDatabase with which this instance is associated. |
RaftKVDatabase |
RaftKVTransaction.getKVDatabase() |
| Modifier and Type | Method and Description |
|---|---|
static void |
RaftStatusCommand.printStatus(PrintWriter writer,
RaftKVDatabase db)
Print the local Raft node's status to the given destination.
|
void |
AbstractTransactionRaftCommand.RaftTransactionAction.run(CliSession session,
RaftKVDatabase db) |
protected abstract void |
AbstractRaftCommand.RaftAction.run(CliSession session,
RaftKVDatabase db) |
| Modifier and Type | Method and Description |
|---|---|
RaftKVDatabase |
FallbackTarget.getRaftKVDatabase()
Get the
RaftKVDatabase. |
| Modifier and Type | Method and Description |
|---|---|
void |
FallbackTarget.setRaftKVDatabase(RaftKVDatabase raft)
Set the
RaftKVDatabase. |
Copyright © 2016. All rights reserved.