class org.apache.cassandra.dht.tokenallocator.TokenAllocation$2 implements org.apache.cassandra.dht.tokenallocator.TokenAllocation$StrategyAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.dht.tokenallocator.TokenAllocation$2
super_class: java.lang.Object
{
private final java.lang.String val$dc;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.locator.IEndpointSnitch val$snitch;
descriptor: Lorg/apache/cassandra/locator/IEndpointSnitch;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.String, org.apache.cassandra.locator.IEndpointSnitch);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/locator/IEndpointSnitch;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocation$2.val$dc:Ljava/lang/String;
aload 0
aload 2
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocation$2.val$snitch:Lorg/apache/cassandra/locator/IEndpointSnitch;
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/dht/tokenallocator/TokenAllocation$2;
MethodParameters:
Name Flags
val$dc final
val$snitch final
public int replicas();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocation$2;
public java.lang.Object getGroup(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocation$2;
0 1 1 unit Ljava/net/InetAddress;
MethodParameters:
Name Flags
unit
public boolean inAllocationRing(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocation$2.val$dc:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocation$2.val$snitch:Lorg/apache/cassandra/locator/IEndpointSnitch;
aload 1
invokeinterface org.apache.cassandra.locator.IEndpointSnitch.getDatacenter:(Ljava/net/InetAddress;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocation$2;
0 1 1 other Ljava/net/InetAddress;
MethodParameters:
Name Flags
other
public java.lang.Object getGroup(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.net.InetAddress
invokevirtual org.apache.cassandra.dht.tokenallocator.TokenAllocation$2.getGroup:(Ljava/net/InetAddress;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TokenAllocation.java"
EnclosingMethod: org.apache.cassandra.dht.tokenallocator.TokenAllocation.getStrategy:(Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/NetworkTopologyStrategy;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/net/InetAddress;)Lorg/apache/cassandra/dht/tokenallocator/TokenAllocation$StrategyAdapter;
NestHost: org.apache.cassandra.dht.tokenallocator.TokenAllocation
InnerClasses:
org.apache.cassandra.dht.tokenallocator.TokenAllocation$2
abstract StrategyAdapter = org.apache.cassandra.dht.tokenallocator.TokenAllocation$StrategyAdapter of org.apache.cassandra.dht.tokenallocator.TokenAllocation