Class SetHostStatWithPort
- java.lang.Object
-
- org.apache.cassandra.tools.nodetool.SetHostStatWithPort
-
- All Implemented Interfaces:
java.lang.Iterable<HostStatWithPort>
public class SetHostStatWithPort extends java.lang.Object implements java.lang.Iterable<HostStatWithPort>
-
-
Constructor Summary
Constructors Constructor Description SetHostStatWithPort(boolean resolveIp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
size
public int size()
-
iterator
public java.util.Iterator<HostStatWithPort> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<HostStatWithPort>
-
add
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
- Throws:
java.net.UnknownHostException
-
-