final class com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest
super_class: java.lang.Object
{
private final com.mongodb.selector.ServerSelector originalSelector;
descriptor: Lcom/mongodb/selector/ServerSelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.selector.ServerSelector compositeSelector;
descriptor: Lcom/mongodb/selector/ServerSelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long maxWaitTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.async.SingleResultCallback<com.mongodb.connection.Server> callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/Server;>;
private final long startTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.concurrent.CountDownLatch phase;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0002) ACC_PRIVATE
void <init>(com.mongodb.selector.ServerSelector, com.mongodb.selector.ServerSelector, long, com.mongodb.async.SingleResultCallback<com.mongodb.connection.Server>);
descriptor: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/selector/ServerSelector;JLcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.startTimeNanos:J
2: aload 0
aload 1
putfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.originalSelector:Lcom/mongodb/selector/ServerSelector;
3: aload 0
aload 2
putfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.compositeSelector:Lcom/mongodb/selector/ServerSelector;
4: aload 0
lload 3
putfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.maxWaitTimeNanos:J
5: aload 0
aload 5
putfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.callback:Lcom/mongodb/async/SingleResultCallback;
6: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/BaseCluster$ServerSelectionRequest;
0 7 1 serverSelector Lcom/mongodb/selector/ServerSelector;
0 7 2 compositeSelector Lcom/mongodb/selector/ServerSelector;
0 7 3 maxWaitTimeNanos J
0 7 5 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/Server;>;
Signature: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/selector/ServerSelector;JLcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/Server;>;)V
MethodParameters:
Name Flags
serverSelector final
compositeSelector final
maxWaitTimeNanos final
callback final
void onResult(com.mongodb.connection.Server, java.lang.Throwable);
descriptor: (Lcom/mongodb/connection/Server;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: goto 3
StackMap locals:
StackMap stack: java.lang.Throwable
2: pop
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/BaseCluster$ServerSelectionRequest;
0 4 1 server Lcom/mongodb/connection/Server;
0 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
server final
t final
boolean timedOut();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.nanoTime:()J
aload 0
getfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.startTimeNanos:J
lsub
aload 0
getfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.maxWaitTimeNanos:J
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/BaseCluster$ServerSelectionRequest;
long getRemainingTime();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.startTimeNanos:J
aload 0
getfield com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest.maxWaitTimeNanos:J
ladd
invokestatic java.lang.System.nanoTime:()J
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/BaseCluster$ServerSelectionRequest;
}
SourceFile: "BaseCluster.java"
NestHost: com.mongodb.internal.connection.BaseCluster
InnerClasses:
private final ServerSelectionRequest = com.mongodb.internal.connection.BaseCluster$ServerSelectionRequest of com.mongodb.internal.connection.BaseCluster