Package net.kuujo.copycat.internal.replication

Examples of net.kuujo.copycat.internal.replication.ClusterReplicator


  @Override
  public void init(StateContext context) {
    super.init(context);

    replicator = new ClusterReplicator(context);

    // When the leader is first elected, it needs to commit any pending operations
    // in its log to the state machine and then commit a snapshot to its log.
    // This methodology differs slightly from the standard Raft algorithm. Instead
    // if storing snapshots in a separate file, we store them as normal log entries.
View Full Code Here

TOP

Related Classes of net.kuujo.copycat.internal.replication.ClusterReplicator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.