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
{
com.sun.jndi.ldap.LdapRequest next;
descriptor: Lcom/sun/jndi/ldap/LdapRequest;
flags: (0x0000)
int msgId;
descriptor: I
flags: (0x0000)
private int gotten;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.BlockingQueue<com.sun.jndi.ldap.BerDecoder> replies;
descriptor: Ljava/util/concurrent/BlockingQueue;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/BlockingQueue<Lcom/sun/jndi/ldap/BerDecoder;>;
private int highWatermark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean cancelled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean pauseAfterReceipt;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean completed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(int, boolean);
descriptor: (IZ)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
iconst_m1
invokespecial com.sun.jndi.ldap.LdapRequest.<init>:(IZI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 2 1 msgId I
0 2 2 pause Z
MethodParameters:
Name Flags
msgId
pause
void <init>(int, boolean, int);
descriptor: (IZI)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.jndi.ldap.LdapRequest.gotten:I
2: aload 0
iconst_m1
putfield com.sun.jndi.ldap.LdapRequest.highWatermark:I
3: aload 0
iconst_0
putfield com.sun.jndi.ldap.LdapRequest.cancelled:Z
4: aload 0
iconst_0
putfield com.sun.jndi.ldap.LdapRequest.pauseAfterReceipt:Z
5: aload 0
iconst_0
putfield com.sun.jndi.ldap.LdapRequest.completed:Z
6: aload 0
iload 1
putfield com.sun.jndi.ldap.LdapRequest.msgId:I
7: aload 0
iload 2
putfield com.sun.jndi.ldap.LdapRequest.pauseAfterReceipt:Z
8: iload 3
iconst_m1
if_icmpne 11
9: 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;
10: goto 15
11: StackMap locals: com.sun.jndi.ldap.LdapRequest int int int
StackMap stack:
aload 0
12: new java.util.concurrent.LinkedBlockingQueue
dup
iload 3
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(I)V
13: putfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
14: aload 0
iload 3
bipush 80
imul
bipush 100
idiv
putfield com.sun.jndi.ldap.LdapRequest.highWatermark:I
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 16 1 msgId I
0 16 2 pause Z
0 16 3 replyQueueCapacity I
MethodParameters:
Name Flags
msgId
pause
replyQueueCapacity
synchronized void cancel();
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.cancelled:Z
1: aload 0
invokevirtual java.lang.Object.notify:()V
2: return
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
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
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
3: goto 5
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual com.sun.jndi.ldap.BerDecoder.parseSeq:([I)I
pop
6: aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.parseInt:()I
pop
7: aload 0
aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.peekByte:()I
bipush 101
if_icmpne 8
iconst_1
goto 9
StackMap locals:
StackMap stack: com.sun.jndi.ldap.LdapRequest
8: iconst_0
StackMap locals: com.sun.jndi.ldap.LdapRequest com.sun.jndi.ldap.BerDecoder
StackMap stack: com.sun.jndi.ldap.LdapRequest int
9: putfield com.sun.jndi.ldap.LdapRequest.completed:Z
10: goto 12
StackMap locals:
StackMap stack: java.io.IOException
11: pop
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.jndi.ldap.BerDecoder.reset:()V
13: aload 0
invokevirtual java.lang.Object.notify:()V
14: aload 0
getfield com.sun.jndi.ldap.LdapRequest.highWatermark:I
iconst_m1
if_icmpeq 16
aload 0
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.size:()I
aload 0
getfield com.sun.jndi.ldap.LdapRequest.highWatermark:I
if_icmplt 16
15: iconst_1
ireturn
16: 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 17 0 this Lcom/sun/jndi/ldap/LdapRequest;
0 17 1 ber Lcom/sun/jndi/ldap/BerDecoder;
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
5 10 11 Class java.io.IOException
MethodParameters:
Name Flags
ber
synchronized com.sun.jndi.ldap.BerDecoder getReplyBer();
descriptor: ()Lcom/sun/jndi/ldap/BerDecoder;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 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
getfield com.sun.jndi.ldap.LdapRequest.replies:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.poll:()Ljava/lang/Object;
checkcast com.sun.jndi.ldap.BerDecoder
astore 1
start local 1 5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/ldap/LdapRequest;
5 6 1 reply Lcom/sun/jndi/ldap/BerDecoder;
Exceptions:
throws javax.naming.CommunicationException
synchronized boolean hasSearchCompleted();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
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"