class com.mongodb.TaggableReadPreference$NearestReadPreference extends com.mongodb.TaggableReadPreference
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.TaggableReadPreference$NearestReadPreference
  super_class: com.mongodb.TaggableReadPreference
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
         0: .line 344
            aload 0 /* this */
            invokespecial com.mongodb.TaggableReadPreference.<init>:()V
         1: .line 345
            return
        end local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/TaggableReadPreference$NearestReadPreference;

  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 // com.mongodb.TaggableReadPreference$NearestReadPreference this
        start local 1 // java.util.List tagSetList
        start local 2 // java.lang.Long maxStaleness
        start local 3 // java.util.concurrent.TimeUnit timeUnit
         0: .line 348
            aload 0 /* this */
            aload 1 /* tagSetList */
            aload 2 /* maxStaleness */
            aload 3 /* timeUnit */
            invokespecial com.mongodb.TaggableReadPreference.<init>:(Ljava/util/List;Ljava/lang/Long;Ljava/util/concurrent/TimeUnit;)V
         1: .line 349
            return
        end local 3 // java.util.concurrent.TimeUnit timeUnit
        end local 2 // java.lang.Long maxStaleness
        end local 1 // java.util.List tagSetList
        end local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lcom/mongodb/TaggableReadPreference$NearestReadPreference;
            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 // com.mongodb.TaggableReadPreference$NearestReadPreference this
         0: .line 354
            ldc "nearest"
            areturn
        end local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/TaggableReadPreference$NearestReadPreference;

  public java.util.List<com.mongodb.connection.ServerDescription> chooseForReplicaSet(com.mongodb.connection.ClusterDescription);
    descriptor: (Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
        start local 1 // com.mongodb.connection.ClusterDescription clusterDescription
         0: .line 361
            aload 0 /* this */
            aload 1 /* clusterDescription */
            aload 1 /* clusterDescription */
            invokevirtual com.mongodb.connection.ClusterDescription.getAnyPrimaryOrSecondary:()Ljava/util/List;
            invokevirtual com.mongodb.TaggableReadPreference$NearestReadPreference.selectFreshServers:(Lcom/mongodb/connection/ClusterDescription;Ljava/util/List;)Ljava/util/List;
            astore 2 /* selectedServers */
        start local 2 // java.util.List selectedServers
         1: .line 362
            aload 0 /* this */
            invokevirtual com.mongodb.TaggableReadPreference$NearestReadPreference.getTagSetList:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 11
         2: .line 363
            aload 1 /* clusterDescription */
            aload 2 /* selectedServers */
            invokestatic com.mongodb.TaggableReadPreference$NearestReadPreference.copyClusterDescription:(Lcom/mongodb/connection/ClusterDescription;Ljava/util/List;)Lcom/mongodb/connection/ClusterDescription;
            astore 3 /* nonStaleClusterDescription */
        start local 3 // com.mongodb.connection.ClusterDescription nonStaleClusterDescription
         3: .line 364
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            astore 2 /* selectedServers */
         4: .line 365
            aload 0 /* this */
            invokevirtual com.mongodb.TaggableReadPreference$NearestReadPreference.getTagSetList:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 10
      StackMap locals: com.mongodb.TaggableReadPreference$NearestReadPreference 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 /* tagSet */
        start local 4 // com.mongodb.TagSet tagSet
         6: .line 366
            aload 3 /* nonStaleClusterDescription */
            aload 4 /* tagSet */
            invokevirtual com.mongodb.connection.ClusterDescription.getAnyPrimaryOrSecondary:(Lcom/mongodb/TagSet;)Ljava/util/List;
            astore 6 /* servers */
        start local 6 // java.util.List servers
         7: .line 367
            aload 6 /* servers */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 10
         8: .line 368
            aload 6 /* servers */
            astore 2 /* selectedServers */
         9: .line 369
            goto 11
        end local 6 // java.util.List servers
        end local 4 // com.mongodb.TagSet tagSet
        10: .line 365
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        end local 3 // com.mongodb.connection.ClusterDescription nonStaleClusterDescription
        11: .line 373
      StackMap locals: com.mongodb.TaggableReadPreference$NearestReadPreference com.mongodb.connection.ClusterDescription java.util.List
      StackMap stack:
            aload 2 /* selectedServers */
            areturn
        end local 2 // java.util.List selectedServers
        end local 1 // com.mongodb.connection.ClusterDescription clusterDescription
        end local 0 // com.mongodb.TaggableReadPreference$NearestReadPreference this
      LocalVariableTable:
        Start  End  Slot                        Name  Signature
            0   12     0                        this  Lcom/mongodb/TaggableReadPreference$NearestReadPreference;
            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:
  NearestReadPreference = com.mongodb.TaggableReadPreference$NearestReadPreference of com.mongodb.TaggableReadPreference