public class Member extends Object
| Constructor and Description |
|---|
Member(com.coreos.jetcd.api.Member member) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getClientURLS()
returns list of URLs the member exposes to clients for communication.
|
long |
getId()
returns the member ID for this member.
|
String |
getName()
returns the human-readable name of the member.
|
List<String> |
getPeerURLs()
returns the list of URLs the member exposes to the cluster for communication.
|
public long getId()
public String getName()
If the member is not started, the name will be an empty string.
public List<String> getPeerURLs()
Copyright © 2017. All rights reserved.