APISonar


com.orientechnologies.orient.distributed.impl.structural.raft.OStructuralFollower.log

> com > orientechnologies > orient > distributed > impl > structural > raft > OStructuralFollower > log
com APIs orientechnologies APIs orient APIs distributed APIs impl APIs structural APIs raft APIs OStructuralFollower APIs log APIs

Example 1
public void executePropagate(ONodeIdentity sender, OLogId id, ORaftOperation operation) {
    if (!sender.equals(leader)) {
      OLogManager.instance().warn(this, "Received propagate from node '%s' but leader is '%s' ignoring it", sender, leader);
      return;
    }
    OStructuralDistributedContext distributedContext = distributed.getStructuralDistributedContext();
    OStructuralFollower follower = distributedContext.getFollower();
    follower.log(sender, id, operation);
  }