public final class ServiceHosts extends java.lang.Object implements java.lang.Iterable<HostAndPort>
| Modifier and Type | Method and Description |
|---|---|
static ServiceHosts |
createServiceHosts(java.util.List<HostAndPort> hostList) |
static ServiceHosts |
createServiceHostsFromServerMsg(com.mapr.fs.proto.Common.Server serverMsg) |
java.util.List<HostAndPort> |
getHostList() |
java.util.Iterator<HostAndPort> |
iterator() |
static ServiceHosts |
parseFrom(java.lang.String serviceAddresses) |
int |
size() |
java.lang.String |
toString() |
public static ServiceHosts createServiceHostsFromServerMsg(com.mapr.fs.proto.Common.Server serverMsg)
public static ServiceHosts createServiceHosts(java.util.List<HostAndPort> hostList)
public static ServiceHosts parseFrom(java.lang.String serviceAddresses)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<HostAndPort> getHostList()
public java.util.Iterator<HostAndPort> iterator()
iterator in interface java.lang.Iterable<HostAndPort>public int size()