Interface Addable<T>

All Known Subinterfaces:
AddStatConfigEnsembleable

public interface Addable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    adding(String... server)
    Sets one or more members that are meant to be part of the ensemble.
    adding(List<String> servers)
    Sets one or more members that are meant to be part of the ensemble.
  • Method Details

    • adding

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

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