public class org.eclipse.jetty.io.ByteBufferPool$Lease
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.io.ByteBufferPool$Lease
super_class: java.lang.Object
{
private final org.eclipse.jetty.io.ByteBufferPool byteBufferPool;
descriptor: Lorg/eclipse/jetty/io/ByteBufferPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.nio.ByteBuffer> buffers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;
private final java.util.List<java.lang.Boolean> recycles;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Boolean;>;
public void <init>(org.eclipse.jetty.io.ByteBufferPool);
descriptor: (Lorg/eclipse/jetty/io/ByteBufferPool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jetty.io.ByteBufferPool$Lease.byteBufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.io.ByteBufferPool$Lease.recycles:Ljava/util/List;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
0 5 1 byteBufferPool Lorg/eclipse/jetty/io/ByteBufferPool;
MethodParameters:
Name Flags
byteBufferPool
public java.nio.ByteBuffer acquire(int, boolean);
descriptor: (IZ)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.byteBufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
iload 1
iload 2
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
astore 3
start local 3 1: aload 3
invokestatic org.eclipse.jetty.util.BufferUtil.clearToFill:(Ljava/nio/ByteBuffer;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
0 3 1 capacity I
0 3 2 direct Z
1 3 3 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
capacity
direct
public void append(java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.recycles:Ljava/util/List;
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
0 3 1 buffer Ljava/nio/ByteBuffer;
0 3 2 recycle Z
MethodParameters:
Name Flags
buffer
recycle
public void insert(int, java.nio.ByteBuffer, boolean);
descriptor: (ILjava/nio/ByteBuffer;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
1: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.recycles:Ljava/util/List;
iload 1
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
0 3 1 index I
0 3 2 buffer Ljava/nio/ByteBuffer;
0 3 3 recycle Z
MethodParameters:
Name Flags
index
buffer
recycle
public java.util.List<java.nio.ByteBuffer> getByteBuffers();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
Signature: ()Ljava/util/List<Ljava/nio/ByteBuffer;>;
public long getTotalLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.eclipse.jetty.io.ByteBufferPool$Lease long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 3
start local 3 3: lload 1
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
1 6 1 length J
3 4 3 buffer Ljava/nio/ByteBuffer;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 3: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.recycles:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 5
4: aload 0
aload 2
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Lease.release:(Ljava/nio/ByteBuffer;)V
end local 2 5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 1 7: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.buffers:Ljava/util/List;
invokeinterface java.util.List.clear:()V
8: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.recycles:Ljava/util/List;
invokeinterface java.util.List.clear:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
1 7 1 i I
3 5 2 buffer Ljava/nio/ByteBuffer;
public void release(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ByteBufferPool$Lease.byteBufferPool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ByteBufferPool$Lease;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
}
SourceFile: "ByteBufferPool.java"
NestHost: org.eclipse.jetty.io.ByteBufferPool
InnerClasses:
public Lease = org.eclipse.jetty.io.ByteBufferPool$Lease of org.eclipse.jetty.io.ByteBufferPool