Package com.mapr.client.impl.rpc
Class ServiceHosts
java.lang.Object
com.mapr.client.impl.rpc.ServiceHosts
- All Implemented Interfaces:
Iterable<HostAndPort>
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceHostscreateServiceHosts(List<HostAndPort> hostList) static ServiceHostscreateServiceHostsFromServerMsg(com.mapr.fs.proto.Common.Server serverMsg) iterator()static ServiceHostsintsize()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
createServiceHostsFromServerMsg
public static ServiceHosts createServiceHostsFromServerMsg(com.mapr.fs.proto.Common.Server serverMsg) -
createServiceHosts
-
parseFrom
-
toString
-
getHostList
-
iterator
- Specified by:
iteratorin interfaceIterable<HostAndPort>
-
size
public int size()
-