Interface Membersable<T>

All Known Subinterfaces:
ErrorListenerReconfigBuilderMain, ReconfigBuilder, ReconfigBuilderMain
All Known Implementing Classes:
ReconfigBuilderImpl

public interface Membersable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets one or more members that are meant to be the ensemble.
    Sets one or more members that are meant to be the ensemble.
  • Method Details

    • withNewMembers

      T withNewMembers(String... server)
      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

      T withNewMembers(List<String> servers)
      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