Uses of Class
io.permazen.kv.raft.RaftKVDatabase
Packages that use RaftKVDatabase
Package
Description
A distributed
KVDatabase
based on the Raft consensus algorithm.Raft-related CLI
Command
s.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.-
Uses of RaftKVDatabase in io.permazen.kv.raft
Methods in io.permazen.kv.raft that return RaftKVDatabaseModifier and TypeMethodDescriptionRaftKVImplementation.Config.configureRaft
(AtomicKVStore kvstore) RaftKVTransaction.getKVDatabase()
Role.getKVDatabase()
Get theRaftKVDatabase
with which this instance is associated.RaftKVImplementation.Config.getRaft()
-
Uses of RaftKVDatabase in io.permazen.kv.raft.cmd
Methods in io.permazen.kv.raft.cmd with parameters of type RaftKVDatabaseModifier and TypeMethodDescriptionstatic void
RaftStatusCommand.printStatus
(PrintStream out, RaftKVDatabase db) Print the local Raft node's status to the given destination.protected abstract void
AbstractRaftCommand.RaftAction.run
(Session session, RaftKVDatabase db) final void
AbstractTransactionRaftCommand.RaftTransactionAction.run
(Session session, RaftKVDatabase db) -
Uses of RaftKVDatabase in io.permazen.kv.raft.fallback
Methods in io.permazen.kv.raft.fallback that return RaftKVDatabaseMethods in io.permazen.kv.raft.fallback with parameters of type RaftKVDatabaseModifier and TypeMethodDescriptionprotected RaftKVTransaction
FallbackKVDatabase.createAvailabilityCheckTransaction
(RaftKVDatabase kvdb) Create a Raft availability check transaction.protected RaftKVTransaction
FallbackKVDatabase.createDestinationTransaction
(RaftKVDatabase kvdb) Create a Raft destination transaction.protected RaftKVTransaction
FallbackKVDatabase.createSourceTransaction
(RaftKVDatabase kvdb) Create a Raft source transaction.void
FallbackTarget.setRaftKVDatabase
(RaftKVDatabase raft) Set theRaftKVDatabase
.