class org.apache.cassandra.locator.DynamicEndpointSnitch$3 implements java.util.Comparator<java.net.InetAddress>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.locator.DynamicEndpointSnitch$3
super_class: java.lang.Object
{
final org.apache.cassandra.locator.DynamicEndpointSnitch this$0;
descriptor: Lorg/apache/cassandra/locator/DynamicEndpointSnitch;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.net.InetAddress val$address;
descriptor: Ljava/net/InetAddress;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.HashMap val$scores;
descriptor: Ljava/util/HashMap;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.locator.DynamicEndpointSnitch, java.net.InetAddress, java.util.HashMap);
descriptor: (Lorg/apache/cassandra/locator/DynamicEndpointSnitch;Ljava/net/InetAddress;Ljava/util/HashMap;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.this$0:Lorg/apache/cassandra/locator/DynamicEndpointSnitch;
aload 0
aload 2
putfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.val$address:Ljava/net/InetAddress;
aload 0
aload 3
putfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.val$scores:Ljava/util/HashMap;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/DynamicEndpointSnitch$3;
MethodParameters:
Name Flags
this$0 final
val$address final
val$scores final
public int compare(java.net.InetAddress, java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;Ljava/net/InetAddress;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.this$0:Lorg/apache/cassandra/locator/DynamicEndpointSnitch;
aload 0
getfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.val$address:Ljava/net/InetAddress;
aload 1
aload 2
aload 0
getfield org.apache.cassandra.locator.DynamicEndpointSnitch$3.val$scores:Ljava/util/HashMap;
invokevirtual org.apache.cassandra.locator.DynamicEndpointSnitch.compareEndpoints:(Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/util/Map;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/DynamicEndpointSnitch$3;
0 1 1 a1 Ljava/net/InetAddress;
0 1 2 a2 Ljava/net/InetAddress;
MethodParameters:
Name Flags
a1
a2
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.net.InetAddress
aload 2
checkcast java.net.InetAddress
invokevirtual org.apache.cassandra.locator.DynamicEndpointSnitch$3.compare:(Ljava/net/InetAddress;Ljava/net/InetAddress;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/net/InetAddress;>;
SourceFile: "DynamicEndpointSnitch.java"
EnclosingMethod: org.apache.cassandra.locator.DynamicEndpointSnitch.sortByProximityWithScore:(Ljava/net/InetAddress;Ljava/util/List;)V
NestHost: org.apache.cassandra.locator.DynamicEndpointSnitch
InnerClasses:
org.apache.cassandra.locator.DynamicEndpointSnitch$3