Package org.apache.curator.framework.api
Interface Addable<T>
- All Known Subinterfaces:
AddStatConfigEnsembleable
public interface Addable<T>
-
Method Summary
-
Method Details
-
adding
Sets one or more members that are meant to be part of the ensemble. The expected format is server.[id]=[hostname]:[peer port]:[election port]:[type];[client port]- Parameters:
server
- The server to add as a member of the ensemble.- Returns:
- this
-
adding
Sets one or more members that are meant to be part of the ensemble. The expected format is server.[id]=[hostname]:[peer port]:[election port]:[type];[client port]- Parameters:
servers
- The server to add as a member of the ensemble.- Returns:
- this
-