class com.mongodb.TaggableReadPreference$SecondaryReadPreference extends com.mongodb.TaggableReadPreference
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.TaggableReadPreference$SecondaryReadPreference
super_class: com.mongodb.TaggableReadPreference
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.TaggableReadPreference.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/TaggableReadPreference$SecondaryReadPreference;
void <init>(java.util.List<com.mongodb.TagSet>, java.lang.Long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/List;Ljava/lang/Long;Ljava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial com.mongodb.TaggableReadPreference.<init>:(Ljava/util/List;Ljava/lang/Long;Ljava/util/concurrent/TimeUnit;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/TaggableReadPreference$SecondaryReadPreference;
0 2 1 tagSetList Ljava/util/List<Lcom/mongodb/TagSet;>;
0 2 2 maxStaleness Ljava/lang/Long;
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (Ljava/util/List<Lcom/mongodb/TagSet;>;Ljava/lang/Long;Ljava/util/concurrent/TimeUnit;)V
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
2:
MethodParameters:
Name Flags
tagSetList final
maxStaleness final
timeUnit final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "secondary"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/TaggableReadPreference$SecondaryReadPreference;
protected java.util.List<com.mongodb.connection.ServerDescription> chooseForReplicaSet(com.mongodb.connection.ClusterDescription);
descriptor: (Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual com.mongodb.connection.ClusterDescription.getSecondaries:()Ljava/util/List;
invokevirtual com.mongodb.TaggableReadPreference$SecondaryReadPreference.selectFreshServers:(Lcom/mongodb/connection/ClusterDescription;Ljava/util/List;)Ljava/util/List;
astore 2
start local 2 1: aload 0
invokevirtual com.mongodb.TaggableReadPreference$SecondaryReadPreference.getTagSetList:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 11
2: aload 1
aload 2
invokestatic com.mongodb.TaggableReadPreference$SecondaryReadPreference.copyClusterDescription:(Lcom/mongodb/connection/ClusterDescription;Ljava/util/List;)Lcom/mongodb/connection/ClusterDescription;
astore 3
start local 3 3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 2
4: aload 0
invokevirtual com.mongodb.TaggableReadPreference$SecondaryReadPreference.getTagSetList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: com.mongodb.TaggableReadPreference$SecondaryReadPreference com.mongodb.connection.ClusterDescription java.util.List com.mongodb.connection.ClusterDescription top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.TagSet
astore 4
start local 4 6: aload 3
aload 4
invokevirtual com.mongodb.connection.ClusterDescription.getSecondaries:(Lcom/mongodb/TagSet;)Ljava/util/List;
astore 6
start local 6 7: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 10
8: aload 6
astore 2
9: goto 11
end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 11: StackMap locals: com.mongodb.TaggableReadPreference$SecondaryReadPreference com.mongodb.connection.ClusterDescription java.util.List
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/TaggableReadPreference$SecondaryReadPreference;
0 12 1 clusterDescription Lcom/mongodb/connection/ClusterDescription;
1 12 2 selectedServers Ljava/util/List<Lcom/mongodb/connection/ServerDescription;>;
3 11 3 nonStaleClusterDescription Lcom/mongodb/connection/ClusterDescription;
6 10 4 tagSet Lcom/mongodb/TagSet;
7 10 6 servers Ljava/util/List<Lcom/mongodb/connection/ServerDescription;>;
Signature: (Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List<Lcom/mongodb/connection/ServerDescription;>;
MethodParameters:
Name Flags
clusterDescription final
}
SourceFile: "TaggableReadPreference.java"
NestHost: com.mongodb.TaggableReadPreference
InnerClasses:
SecondaryReadPreference = com.mongodb.TaggableReadPreference$SecondaryReadPreference of com.mongodb.TaggableReadPreference