public class SetHostStatWithPort extends java.lang.Object implements java.lang.Iterable<HostStatWithPort>
Constructor and Description |
---|
SetHostStatWithPort(boolean resolveIp) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String token,
java.lang.String host,
java.util.Map<java.lang.String,java.lang.Float> ownerships) |
java.util.Iterator<HostStatWithPort> |
iterator() |
int |
size() |
public int size()
public java.util.Iterator<HostStatWithPort> iterator()
iterator
in interface java.lang.Iterable<HostStatWithPort>
public void add(java.lang.String token, java.lang.String host, java.util.Map<java.lang.String,java.lang.Float> ownerships) throws java.net.UnknownHostException
java.net.UnknownHostException
Copyright © 2009- The Apache Software Foundation