org.jgroups.protocols.raft.DynamicMembership Maven / Gradle / Ivy
package org.jgroups.protocols.raft;
import java.util.concurrent.CompletableFuture;
/**
* Defines the contract to add and remove servers (RAFT.members).
* @author Bela Ban
* @since 0.2
*/
public interface DynamicMembership {
CompletableFuture addServer(String name) throws Exception;
CompletableFuture removeServer(String name) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy