Package io.permazen.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.- See Also:
FallbackKVDatabase
-
Interface Summary Interface Description MergeStrategy Merge strategy used by aFallbackKVDatabase
when migrating from one underlying database to another. -
Class Summary Class Description FallbackKVDatabase A partition-tolerantKVDatabase
that automatically migrates between a clusteredRaftKVDatabase
and a local, non-clustered "standalone mode"KVDatabase
, based on availability of the Raft cluster.FallbackKVTransaction AKVTransaction
associated with aFallbackKVDatabase
.FallbackTarget Represents one of the underlyingRaftKVDatabase
s managed by aFallbackKVDatabase
.NullMergeStrategy MergeStrategy
that does nothing, i.e., it leaves the destination database unmodified.OverwriteMergeStrategy MergeStrategy
that completely overwrites the destination database with the content of the source database.