final class com.sun.jndi.ldap.LdapRequest
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.LdapRequest
super_class: java.lang.Object
{
private static final com.sun.jndi.ldap.BerDecoder EOF;
descriptor: Lcom/sun/jndi/ldap/BerDecoder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
com.sun.jndi.ldap.LdapRequest next;
descriptor: Lcom/sun/jndi/ldap/LdapRequest;
flags: (0x0000)
final int msgId;
descriptor: I
flags: (0x0010) ACC_FINAL
private final java.util.concurrent.BlockingQueue<com.sun.jndi.ldap.BerDecoder> replies;
descriptor: Ljava/util/concurrent/BlockingQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/BlockingQueue<Lcom/sun/jndi/ldap/BerDecoder;>;
private volatile boolean cancelled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean completed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final boolean pauseAfterReceipt;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new com.sun.jndi.ldap.BerDecoder
dup
iconst_0
newarray 8
iconst_m1
iconst_0
invokespecial com.sun.jndi.ldap.BerDecoder.<init>:([BII)V
putstatic com.sun.jndi.ldap.LdapRequest.EOF:Lcom/sun/jndi/ldap/BerDecoder;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, boolean, int);
descriptor: (IZI)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield com.sun.jndi.ldap.LdapRequest.msgId:I
2: aload 0
iload 2
putfield com.sun.jndi.ldap.LdapRequest.pauseAfterReceipt:Z
3: iload 3
iconst_m1
if_icmpne 6
4: aload 0
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
putfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
5: goto 7
6: StackMap locals: com.sun.jndi.ldap.LdapRequest int int int
StackMap stack:
aload 0
new java.util.concurrent.LinkedBlockingQueue
dup
bipush 8
iload 3
imul
bipush 10
idiv
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(I)V
putfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 8 1 msgId I
0 8 2 pause Z
0 8 3 replyQueueCapacity I
MethodParameters:
Name Flags
msgId
pause
replyQueueCapacity
void cancel();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.jndi.ldap.LdapRequest.cancelled:Z
1: aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
getstatic com.sun.jndi.ldap.LdapRequest.EOF:Lcom/sun/jndi/ldap/BerDecoder;
invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapRequest;
synchronized void close();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.jndi.ldap.LdapRequest.closed:Z
1: aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
getstatic com.sun.jndi.ldap.LdapRequest.EOF:Lcom/sun/jndi/ldap/BerDecoder;
invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapRequest;
private boolean isClosed();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.LdapRequest.closed:Z
ifeq 2
aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.size:()I
ifeq 1
aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.peek:()Ljava/lang/Object;
getstatic com.sun.jndi.ldap.LdapRequest.EOF:Lcom/sun/jndi/ldap/BerDecoder;
if_acmpne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapRequest;
synchronized boolean addReplyBer(com.sun.jndi.ldap.BerDecoder);
descriptor: (Lcom/sun/jndi/ldap/BerDecoder;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.LdapRequest.cancelled:Z
ifne 1
aload 0
getfield com.sun.jndi.ldap.LdapRequest.closed:Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual com.sun.jndi.ldap.BerDecoder.parseSeq:([I)I
pop
3: aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.parseInt:()I
pop
4: aload 0
aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.peekByte:()I
bipush 101
if_icmpne 5
iconst_1
goto 6
StackMap locals:
StackMap stack: com.sun.jndi.ldap.LdapRequest
5: iconst_0
StackMap locals: com.sun.jndi.ldap.LdapRequest com.sun.jndi.ldap.BerDecoder
StackMap stack: com.sun.jndi.ldap.LdapRequest int
6: putfield com.sun.jndi.ldap.LdapRequest.completed:Z
7: goto 9
StackMap locals:
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.reset:()V
10: aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
aload 1
invokeinterface java.util.concurrent.BlockingQueue.put:(Ljava/lang/Object;)V
11: goto 13
StackMap locals:
StackMap stack: java.lang.InterruptedException
12: pop
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapRequest.pauseAfterReceipt:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 14 1 ber Lcom/sun/jndi/ldap/BerDecoder;
Exception table:
from to target type
2 7 8 Class java.io.IOException
10 11 12 Class java.lang.InterruptedException
MethodParameters:
Name Flags
ber
com.sun.jndi.ldap.BerDecoder getReplyBer(long);
descriptor: (J)Lcom/sun/jndi/ldap/BerDecoder;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.LdapRequest.cancelled:Z
ifeq 4
1: new javax.naming.CommunicationException
dup
new java.lang.StringBuilder
dup
ldc "Request: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jndi.ldap.LdapRequest.msgId:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " cancelled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jndi.ldap.LdapRequest.isClosed:()Z
ifeq 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 8
7: aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
lload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.BlockingQueue.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.BerDecoder
goto 9
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
checkcast com.sun.jndi.ldap.BerDecoder
9: StackMap locals:
StackMap stack: com.sun.jndi.ldap.BerDecoder
astore 3
start local 3 10: aload 0
getfield com.sun.jndi.ldap.LdapRequest.cancelled:Z
ifeq 14
11: new javax.naming.CommunicationException
dup
new java.lang.StringBuilder
dup
ldc "Request: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jndi.ldap.LdapRequest.msgId:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc " cancelled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial javax.naming.CommunicationException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: com.sun.jndi.ldap.BerDecoder
StackMap stack:
aload 3
getstatic com.sun.jndi.ldap.LdapRequest.EOF:Lcom/sun/jndi/ldap/BerDecoder;
if_acmpne 15
aconst_null
goto 16
StackMap locals:
StackMap stack:
15: aload 3
StackMap locals:
StackMap stack: com.sun.jndi.ldap.BerDecoder
16: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 17 1 millis J
10 17 3 result Lcom/sun/jndi/ldap/BerDecoder;
Exceptions:
throws javax.naming.CommunicationException, java.lang.InterruptedException
MethodParameters:
Name Flags
millis
boolean hasSearchCompleted();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.LdapRequest.completed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/ldap/LdapRequest;
}
SourceFile: "LdapRequest.java"