public class org.apache.cassandra.locator.NetworkTopologyStrategy 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.NetworkTopologyStrategy
super_class: org.apache.cassandra.locator.AbstractReplicationStrategy
{
private final java.util.Map<java.lang.String, java.lang.Integer> datacenters;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.locator.NetworkTopologyStrategy.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.locator.NetworkTopologyStrategy.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
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=10, 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: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 2: aload 4
ifnull 11
3: aload 4
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy java.lang.String org.apache.cassandra.locator.TokenMetadata org.apache.cassandra.locator.IEndpointSnitch java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 5: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 6: aload 8
ldc "replication_factor"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "replication_factor is an option for SimpleStrategy, not NetworkTopologyStrategy"
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy java.lang.String org.apache.cassandra.locator.TokenMetadata org.apache.cassandra.locator.IEndpointSnitch java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
astore 9
start local 9 9: aload 5
aload 8
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 6 10: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy java.lang.String org.apache.cassandra.locator.TokenMetadata org.apache.cassandra.locator.IEndpointSnitch java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy java.lang.String org.apache.cassandra.locator.TokenMetadata org.apache.cassandra.locator.IEndpointSnitch java.util.Map java.util.Map
StackMap stack:
aload 0
aload 5
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
12: getstatic org.apache.cassandra.locator.NetworkTopologyStrategy.logger:Lorg/slf4j/Logger;
ldc "Configured datacenter replicas are {}"
aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokestatic org.apache.cassandra.utils.FBUtilities.toString:(Ljava/util/Map;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
13: 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 14 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 14 1 keyspaceName Ljava/lang/String;
0 14 2 tokenMetadata Lorg/apache/cassandra/locator/TokenMetadata;
0 14 3 snitch Lorg/apache/cassandra/locator/IEndpointSnitch;
0 14 4 configOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 14 5 newDatacenters Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
5 10 6 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
6 10 8 dc Ljava/lang/String;
9 10 9 replicas Ljava/lang/Integer;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
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.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=7, locals=16, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 3
start local 3 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 2: aload 2
invokevirtual org.apache.cassandra.locator.TokenMetadata.getTopology:()Lorg/apache/cassandra/locator/TokenMetadata$Topology;
astore 5
start local 5 3: aload 5
invokevirtual org.apache.cassandra.locator.TokenMetadata$Topology.getDatacenterEndpoints:()Lcom/google/common/collect/Multimap;
astore 6
start local 6 4: aload 5
invokevirtual org.apache.cassandra.locator.TokenMetadata$Topology.getDatacenterRacks:()Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 5: getstatic org.apache.cassandra.locator.NetworkTopologyStrategy.$assertionsDisabled:Z
ifne 7
aload 6
invokeinterface com.google.common.collect.Multimap.isEmpty:()Z
ifne 6
aload 7
invokeinterface java.util.Map.isEmpty:()Z
ifeq 7
StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy org.apache.cassandra.dht.Token org.apache.cassandra.locator.TokenMetadata java.util.Set java.util.Set org.apache.cassandra.locator.TokenMetadata$Topology com.google.common.collect.Multimap java.util.Map
StackMap stack:
6: new java.lang.AssertionError
dup
ldc "not aware of any cluster members"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 8: new java.util.HashMap
dup
aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iconst_2
imul
invokespecial java.util.HashMap.<init>:(I)V
astore 9
start local 9 9: aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy org.apache.cassandra.dht.Token org.apache.cassandra.locator.TokenMetadata java.util.Set java.util.Set org.apache.cassandra.locator.TokenMetadata$Topology com.google.common.collect.Multimap java.util.Map int java.util.Map top java.util.Iterator
StackMap stack:
10: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 10
start local 10 11: aload 10
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 12: aload 10
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 13
start local 13 13: aload 0
aload 6
aload 12
invokeinterface com.google.common.collect.Multimap.get:(Ljava/lang/Object;)Ljava/util/Collection;
invokevirtual org.apache.cassandra.locator.NetworkTopologyStrategy.sizeOrZero:(Ljava/util/Collection;)I
istore 14
start local 14 14: iload 13
ifle 19
iload 14
ifgt 16
15: goto 19
16: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy org.apache.cassandra.dht.Token org.apache.cassandra.locator.TokenMetadata java.util.Set java.util.Set org.apache.cassandra.locator.TokenMetadata$Topology com.google.common.collect.Multimap java.util.Map int java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String int int
StackMap stack:
new org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints
dup
iload 13
aload 0
aload 7
aload 12
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.Multimap
invokevirtual org.apache.cassandra.locator.NetworkTopologyStrategy.sizeOrZero:(Lcom/google/common/collect/Multimap;)I
iload 14
aload 3
aload 4
invokespecial org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints.<init>:(IIILjava/util/Set;Ljava/util/Set;)V
astore 15
start local 15 17: aload 9
aload 12
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: iinc 8 1
end local 15 end local 14 end local 13 end local 12 end local 10 19: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy org.apache.cassandra.dht.Token org.apache.cassandra.locator.TokenMetadata java.util.Set java.util.Set org.apache.cassandra.locator.TokenMetadata$Topology com.google.common.collect.Multimap java.util.Map int java.util.Map top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
20: aload 2
invokevirtual org.apache.cassandra.locator.TokenMetadata.sortedTokens:()Ljava/util/ArrayList;
aload 1
iconst_0
invokestatic org.apache.cassandra.locator.TokenMetadata.ringIterator:(Ljava/util/ArrayList;Lorg/apache/cassandra/dht/Token;Z)Ljava/util/Iterator;
astore 10
start local 10 21: goto 28
22: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy org.apache.cassandra.dht.Token org.apache.cassandra.locator.TokenMetadata java.util.Set java.util.Set org.apache.cassandra.locator.TokenMetadata$Topology com.google.common.collect.Multimap java.util.Map int java.util.Map java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Token
astore 11
start local 11 23: aload 2
aload 11
invokevirtual org.apache.cassandra.locator.TokenMetadata.getEndpoint:(Lorg/apache/cassandra/dht/Token;)Ljava/net/InetAddress;
astore 12
start local 12 24: aload 5
aload 12
invokevirtual org.apache.cassandra.locator.TokenMetadata$Topology.getLocation:(Ljava/net/InetAddress;)Lorg/apache/cassandra/utils/Pair;
astore 13
start local 13 25: aload 9
aload 13
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints
astore 14
start local 14 26: aload 14
ifnull 28
aload 14
aload 12
aload 13
invokevirtual org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints.addEndpointAndCheckIfDone:(Ljava/net/InetAddress;Lorg/apache/cassandra/utils/Pair;)Z
ifeq 28
27: iinc 8 -1
end local 14 end local 13 end local 12 end local 11 28: StackMap locals:
StackMap stack:
iload 8
ifle 29
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
29: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 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 30 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 30 1 searchToken Lorg/apache/cassandra/dht/Token;
0 30 2 tokenMetadata Lorg/apache/cassandra/locator/TokenMetadata;
1 30 3 replicas Ljava/util/Set<Ljava/net/InetAddress;>;
2 30 4 seenRacks Ljava/util/Set<Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;>;
3 30 5 topology Lorg/apache/cassandra/locator/TokenMetadata$Topology;
4 30 6 allEndpoints Lcom/google/common/collect/Multimap<Ljava/lang/String;Ljava/net/InetAddress;>;
5 30 7 racks Ljava/util/Map<Ljava/lang/String;Lcom/google/common/collect/ImmutableMultimap<Ljava/lang/String;Ljava/net/InetAddress;>;>;
8 30 8 dcsToFill I
9 30 9 dcs Ljava/util/Map<Ljava/lang/String;Lorg/apache/cassandra/locator/NetworkTopologyStrategy$DatacenterEndpoints;>;
11 19 10 en Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
12 19 12 dc Ljava/lang/String;
13 19 13 rf I
14 19 14 nodeCount I
17 19 15 dcEndpoints Lorg/apache/cassandra/locator/NetworkTopologyStrategy$DatacenterEndpoints;
21 30 10 tokenIter Ljava/util/Iterator<Lorg/apache/cassandra/dht/Token;>;
23 28 11 next Lorg/apache/cassandra/dht/Token;
24 28 12 ep Ljava/net/InetAddress;
25 28 13 location Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
26 28 14 dcEndpoints Lorg/apache/cassandra/locator/NetworkTopologyStrategy$DatacenterEndpoints;
Signature: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/locator/TokenMetadata;)Ljava/util/List<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
searchToken
tokenMetadata
private int sizeOrZero(com.google.common.collect.Multimap<?, ?>);
descriptor: (Lcom/google/common/collect/Multimap;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface com.google.common.collect.Multimap.asMap:()Ljava/util/Map;
invokeinterface java.util.Map.size:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 3 1 collection Lcom/google/common/collect/Multimap<**>;
Signature: (Lcom/google/common/collect/Multimap<**>;)I
MethodParameters:
Name Flags
collection
private int sizeOrZero(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.Collection.size:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 3 1 collection Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)I
MethodParameters:
Name Flags
collection
public int getReplicationFactor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 3: iload 1
iload 2
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
1 6 1 total I
3 4 2 repFactor I
public int getReplicationFactor(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 2
iconst_0
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: aload 2
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 4 1 dc Ljava/lang/String;
1 4 2 replicas Ljava/lang/Integer;
MethodParameters:
Name Flags
dc
public java.util.Set<java.lang.String> getDatacenters();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void validateOptions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.configOptions:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 2: aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
ldc "replication_factor"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "replication_factor is an option for SimpleStrategy, not NetworkTopologyStrategy"
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 0
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.apache.cassandra.locator.NetworkTopologyStrategy.validateReplicationFactor:(Ljava/lang/String;)V
end local 1 5: StackMap locals: org.apache.cassandra.locator.NetworkTopologyStrategy top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
2 5 1 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
public boolean hasSameSettings(org.apache.cassandra.locator.AbstractReplicationStrategy);
descriptor: (Lorg/apache/cassandra/locator/AbstractReplicationStrategy;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.cassandra.locator.AbstractReplicationStrategy.hasSameSettings:(Lorg/apache/cassandra/locator/AbstractReplicationStrategy;)Z
ifeq 1
aload 1
checkcast org.apache.cassandra.locator.NetworkTopologyStrategy
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
aload 0
getfield org.apache.cassandra.locator.NetworkTopologyStrategy.datacenters:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/locator/NetworkTopologyStrategy;
0 2 1 other Lorg/apache/cassandra/locator/AbstractReplicationStrategy;
MethodParameters:
Name Flags
other
}
SourceFile: "NetworkTopologyStrategy.java"
NestMembers:
org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final DatacenterEndpoints = org.apache.cassandra.locator.NetworkTopologyStrategy$DatacenterEndpoints of org.apache.cassandra.locator.NetworkTopologyStrategy
public Topology = org.apache.cassandra.locator.TokenMetadata$Topology of org.apache.cassandra.locator.TokenMetadata