Package org.apache.curator.framework.api
Interface Membersable<T>
- All Known Subinterfaces:
ErrorListenerReconfigBuilderMain
,ReconfigBuilder
,ReconfigBuilderMain
- All Known Implementing Classes:
ReconfigBuilderImpl
public interface Membersable<T>
-
Method Summary
Modifier and TypeMethodDescriptionwithNewMembers
(String... server) Sets one or more members that are meant to be the ensemble.withNewMembers
(List<String> servers) Sets one or more members that are meant to be the ensemble.
-
Method Details
-
withNewMembers
Sets one or more members that are meant to be the ensemble. The expected format is server.[id]=[hostname]:[peer port]:[election port]:[type];[client port]- Parameters:
server
- The server joining.- Returns:
- this
-
withNewMembers
Sets one or more members that are meant to be the ensemble. The expected format is server.[id]=[hostname]:[peer port]:[election port]:[type];[client port]- Parameters:
servers
- The servers joining.- Returns:
- this
-