Package org.cojen.tupl.repl
package org.cojen.tupl.repl
General-purpose Raft-based replication system,
intended for supporting fully replicated databases.
Use the
DatabaseConfig.replicate(ReplicatorConfig)
method for enabling
database replication. Applications can use MessageReplicator
or StreamReplicator
for
direct replication.-
ClassDescriptionThrown when attempting to read from a log at a position that doesn't exist.Thrown when unable to join a replication group.Message-oriented replication interface, which is a bit easier to use than
StreamReplicator
.Interface called by any group member for reading committed messages.Interface called by the group leader for proposing messages.Simple command-line tool to remove replication group members.Defines common features available to all types of replicators.Direct interface for accessing replication data, for a given term.Direct interface for reading from a replicator, for a given term.Direct interface for writing to a replicator, for a given term.Configuration options used when opening a replicator.Supported membership roles.Receiver-side object for controlling the transmission of a database snapshot to a new group member.Sender-side object for controlling the transmission of a database snapshot to a new group member.Low-level replication interface, which receives messages in a non-delineated stream.Interface called by any group member for reading committed messages.Interface called by the group leader for proposing messages.