use of com.hazelcast.cp.internal.raft.impl.task.InitLeadershipTransferTask in project hazelcast by hazelcast.
the class RaftNodeImpl method transferLeadership.
@Override
public InternalCompletableFuture transferLeadership(RaftEndpoint endpoint) {
InternalCompletableFuture resultFuture = raftIntegration.newCompletableFuture();
raftIntegration.execute(new InitLeadershipTransferTask(this, endpoint, resultFuture));
return resultFuture;
}
Aggregations