public class org.apache.cassandra.locator.LocalStrategy extends org.apache.cassandra.locator.AbstractReplicationStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.locator.LocalStrategy
super_class: org.apache.cassandra.locator.AbstractReplicationStrategy
{
public void <init>(java.lang.String, org.apache.cassandra.locator.TokenMetadata, org.apache.cassandra.locator.IEndpointSnitch, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.apache.cassandra.locator.AbstractReplicationStrategy.<init>:(Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/locator/LocalStrategy;
0 2 1 keyspaceName Ljava/lang/String;
0 2 2 tokenMetadata Lorg/apache/cassandra/locator/TokenMetadata;
0 2 3 snitch Lorg/apache/cassandra/locator/IEndpointSnitch;
0 2 4 configOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
keyspaceName
tokenMetadata
snitch
configOptions
public java.util.ArrayList<java.net.InetAddress> getNaturalEndpoints(org.apache.cassandra.dht.RingPosition);
descriptor: (Lorg/apache/cassandra/dht/RingPosition;)Ljava/util/ArrayList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/locator/LocalStrategy;
0 3 1 searchPosition Lorg/apache/cassandra/dht/RingPosition;
1 3 2 l Ljava/util/ArrayList<Ljava/net/InetAddress;>;
Signature: (Lorg/apache/cassandra/dht/RingPosition;)Ljava/util/ArrayList<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
searchPosition
public java.util.List<java.net.InetAddress> calculateNaturalEndpoints(org.apache.cassandra.dht.Token, org.apache.cassandra.locator.TokenMetadata);
descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/locator/TokenMetadata;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/LocalStrategy;
0 1 1 token Lorg/apache/cassandra/dht/Token;
0 1 2 metadata Lorg/apache/cassandra/locator/TokenMetadata;
Signature: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/locator/TokenMetadata;)Ljava/util/List<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
token
metadata
public int getReplicationFactor();
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/locator/LocalStrategy;
public void validateOptions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/LocalStrategy;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
public java.util.Collection<java.lang.String> recognizedOptions();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/LocalStrategy;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
}
SourceFile: "LocalStrategy.java"