use of com.hazelcast.cp.internal.raft.impl.task.MembershipChangeTask in project hazelcast by hazelcast.
the class RaftNodeImpl method replicateMembershipChange.
@Override
public InternalCompletableFuture replicateMembershipChange(RaftEndpoint member, MembershipChangeMode mode, long groupMembersCommitIndex) {
InternalCompletableFuture resultFuture = raftIntegration.newCompletableFuture();
raftIntegration.execute(new MembershipChangeTask(this, resultFuture, member, mode, groupMembersCommitIndex));
return resultFuture;
}
use of com.hazelcast.cp.internal.raft.impl.task.MembershipChangeTask in project hazelcast by hazelcast.
the class RaftNodeImpl method replicateMembershipChange.
@Override
public InternalCompletableFuture replicateMembershipChange(RaftEndpoint member, MembershipChangeMode mode) {
InternalCompletableFuture resultFuture = raftIntegration.newCompletableFuture();
execute(new MembershipChangeTask(this, resultFuture, member, mode));
return resultFuture;
}
Aggregations