Uses of Interface
io.permazen.kv.raft.fallback.MergeStrategy
Packages that use MergeStrategy
Package
Description
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 MergeStrategy in io.permazen.kv.raft.fallback
Classes in io.permazen.kv.raft.fallback that implement MergeStrategyModifier and TypeClassDescriptionclass
MergeStrategy
that does nothing, i.e., it leaves the destination database unmodified.class
MergeStrategy
that completely overwrites the destination database with the content of the source database.Methods in io.permazen.kv.raft.fallback that return MergeStrategyModifier and TypeMethodDescriptionFallbackTarget.getRejoinMergeStrategy()
Get the merge strategy to apply when transitioning from a lower priority database to this database because ourRaftKVDatabase
cluster has become available.FallbackTarget.getUnavailableMergeStrategy()
Get the merge strategy to apply when transitioning from this database to a lower priority database because ourRaftKVDatabase
cluster has become unavailable.Methods in io.permazen.kv.raft.fallback with parameters of type MergeStrategyModifier and TypeMethodDescriptionvoid
FallbackTarget.setRejoinMergeStrategy
(MergeStrategy strategy) Configure the merge strategy to apply when transitioning from a lower priority database to this database because ourRaftKVDatabase
cluster has become available again.void
FallbackTarget.setUnavailableMergeStrategy
(MergeStrategy strategy) Configure the merge strategy to apply when transitioning from this database to a lower priority database because ourRaftKVDatabase
cluster has become unavailable.