class com.mongodb.TaggableReadPreference$PrimaryPreferredReadPreference extends com.mongodb.TaggableReadPreference$SecondaryReadPreference
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.TaggableReadPreference$PrimaryPreferredReadPreference
super_class: com.mongodb.TaggableReadPreference$SecondaryReadPreference
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.TaggableReadPreference$SecondaryReadPreference.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/TaggableReadPreference$PrimaryPreferredReadPreference;
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$SecondaryReadPreference.<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$PrimaryPreferredReadPreference;
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 "primaryPreferred"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/TaggableReadPreference$PrimaryPreferredReadPreference;
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=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual com.mongodb.connection.ClusterDescription.getPrimaries:()Ljava/util/List;
invokevirtual com.mongodb.TaggableReadPreference$PrimaryPreferredReadPreference.selectFreshServers:(Lcom/mongodb/connection/ClusterDescription;Ljava/util/List;)Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: aload 0
aload 1
invokespecial com.mongodb.TaggableReadPreference$SecondaryReadPreference.chooseForReplicaSet:(Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List;
astore 2
3: StackMap locals: java.util.List
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/TaggableReadPreference$PrimaryPreferredReadPreference;
0 4 1 clusterDescription Lcom/mongodb/connection/ClusterDescription;
1 4 2 selectedServers 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:
PrimaryPreferredReadPreference = com.mongodb.TaggableReadPreference$PrimaryPreferredReadPreference of com.mongodb.TaggableReadPreference
SecondaryReadPreference = com.mongodb.TaggableReadPreference$SecondaryReadPreference of com.mongodb.TaggableReadPreference