final class org.xnio.ByteBufferPool$OneCache implements org.xnio.ByteBufferPool$Cache
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.ByteBufferPool$OneCache
super_class: java.lang.Object
{
private final org.xnio.ByteBufferPool$Cache parent;
descriptor: Lorg/xnio/ByteBufferPool$Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
void <init>(org.xnio.ByteBufferPool$Cache);
descriptor: (Lorg/xnio/ByteBufferPool$Cache;)V
flags: (0x0000)
Code:
stack=2, 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.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/ByteBufferPool$OneCache;
0 3 1 parent Lorg/xnio/ByteBufferPool$Cache;
MethodParameters:
Name Flags
parent final
public void free(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.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
ifnonnull 3
1: aload 0
aload 1
putfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/ByteBufferPool$OneCache;
0 5 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb final
public void flushBuffer(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.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.flushBuffer:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/ByteBufferPool$OneCache;
0 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb final
public java.nio.ByteBuffer allocate();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
ifnull 7
1: aload 0
getfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
astore 2
2: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
invokeinterface org.xnio.ByteBufferPool$Cache.allocate:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/ByteBufferPool$OneCache;
Exception table:
from to target type
1 2 4 any
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield org.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/ByteBufferPool$OneCache;
1 5 1 buffer Ljava/nio/ByteBuffer;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$OneCache.buffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 1
invokevirtual org.xnio.ByteBufferPool$OneCache.flushBuffer:(Ljava/nio/ByteBuffer;)V
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$OneCache.parent:Lorg/xnio/ByteBufferPool$Cache;
invokeinterface org.xnio.ByteBufferPool$Cache.flush:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/ByteBufferPool$OneCache;
1 6 1 buffer Ljava/nio/ByteBuffer;
}
SourceFile: "ByteBufferPool.java"
NestHost: org.xnio.ByteBufferPool
InnerClasses:
abstract Cache = org.xnio.ByteBufferPool$Cache of org.xnio.ByteBufferPool
final OneCache = org.xnio.ByteBufferPool$OneCache of org.xnio.ByteBufferPool