public class org.apache.cassandra.tools.nodetool.SetHostStat implements java.lang.Iterable<org.apache.cassandra.tools.nodetool.HostStat>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.tools.nodetool.SetHostStat
super_class: java.lang.Object
{
final java.util.List<org.apache.cassandra.tools.nodetool.HostStat> hostStats;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/tools/nodetool/HostStat;>;
final boolean resolveIp;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.tools.nodetool.SetHostStat.hostStats:Ljava/util/List;
2: aload 0
iload 1
putfield org.apache.cassandra.tools.nodetool.SetHostStat.resolveIp:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/tools/nodetool/SetHostStat;
0 4 1 resolveIp Z
MethodParameters:
Name Flags
resolveIp
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.tools.nodetool.SetHostStat.hostStats:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/tools/nodetool/SetHostStat;
public java.util.Iterator<org.apache.cassandra.tools.nodetool.HostStat> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.tools.nodetool.SetHostStat.hostStats:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/tools/nodetool/SetHostStat;
Signature: ()Ljava/util/Iterator<Lorg/apache/cassandra/tools/nodetool/HostStat;>;
public void add(java.lang.String, java.lang.String, java.util.Map<java.net.InetAddress, java.lang.Float>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 4
start local 4 1: aload 3
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Float
astore 5
start local 5 2: aload 0
getfield org.apache.cassandra.tools.nodetool.SetHostStat.hostStats:Ljava/util/List;
new org.apache.cassandra.tools.nodetool.HostStat
dup
aload 1
aload 4
aload 0
getfield org.apache.cassandra.tools.nodetool.SetHostStat.resolveIp:Z
aload 5
invokespecial org.apache.cassandra.tools.nodetool.HostStat.<init>:(Ljava/lang/String;Ljava/net/InetAddress;ZLjava/lang/Float;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/tools/nodetool/SetHostStat;
0 4 1 token Ljava/lang/String;
0 4 2 host Ljava/lang/String;
0 4 3 ownerships Ljava/util/Map<Ljava/net/InetAddress;Ljava/lang/Float;>;
1 4 4 endpoint Ljava/net/InetAddress;
2 4 5 owns Ljava/lang/Float;
Exceptions:
throws java.net.UnknownHostException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/net/InetAddress;Ljava/lang/Float;>;)V
MethodParameters:
Name Flags
token
host
ownerships
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lorg/apache/cassandra/tools/nodetool/HostStat;>;
SourceFile: "SetHostStat.java"