Package net.kuujo.copycat.internal

Examples of net.kuujo.copycat.internal.StateMachineExecutor


  private volatile String lastVotedFor;
  private volatile long commitIndex = 0;
  private volatile long lastApplied = 0;

  public <M extends Member> StateContext(StateMachine stateMachine, Log log, Cluster<M> cluster, Protocol<M> protocol, CopycatConfig config) {
    this.stateMachineExecutor = new StateMachineExecutor(stateMachine);
    this.log = log;
    this.config = config;
    this.cluster = cluster;
    this.clusterManager = new ClusterManager<>(cluster, protocol);
  }
View Full Code Here

TOP

Related Classes of net.kuujo.copycat.internal.StateMachineExecutor

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.