Class Member


  • public class Member
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Member​(io.etcd.jetcd.api.Member member)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.net.URI> getClientURIs()
      Returns list of URLs the member exposes to clients for communication, if the member is not started, clientURLs will be empty.
      long getId()
      Returns the member ID for this member.
      java.lang.String getName()
      Returns the human-readable name of the member, ff the member is not started, the name will be an empty string.
      java.util.List<java.net.URI> getPeerURIs()
      Returns the list of URLs the member exposes to the cluster for communication.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Member

        public Member​(io.etcd.jetcd.api.Member member)
    • Method Detail

      • getId

        public long getId()
        Returns the member ID for this member.
      • getName

        public java.lang.String getName()
        Returns the human-readable name of the member, ff the member is not started, the name will be an empty string.
      • getPeerURIs

        public java.util.List<java.net.URI> getPeerURIs()
        Returns the list of URLs the member exposes to the cluster for communication.
      • getClientURIs

        public java.util.List<java.net.URI> getClientURIs()
        Returns list of URLs the member exposes to clients for communication, if the member is not started, clientURLs will be empty.