public final class org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter extends org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter
super_class: org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.glassfish.grizzly.attributes.Attribute<org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord> COMPOSITE_BUFFER_ATTR;
descriptor: Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/attributes/Attribute<Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.$assertionsDisabled:Z
3: ldc Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.LOGGER:Ljava/util/logging/Logger;
4: getstatic org.glassfish.grizzly.Grizzly.DEFAULT_ATTRIBUTE_BUILDER:Lorg/glassfish/grizzly/attributes/AttributeBuilder;
5: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".compositeBuffer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.glassfish.grizzly.attributes.AttributeBuilder.createAttribute:(Ljava/lang/String;)Lorg/glassfish/grizzly/attributes/Attribute;
6: putstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.COMPOSITE_BUFFER_ATTR:Lorg/glassfish/grizzly/attributes/Attribute;
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.nio.NIOTransport);
descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.<init>:(Lorg/glassfish/grizzly/nio/NIOTransport;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 2 1 transport Lorg/glassfish/grizzly/nio/NIOTransport;
MethodParameters:
Name Flags
transport final
protected org.glassfish.grizzly.asyncqueue.RecordWriteResult write0(org.glassfish.grizzly.nio.NIOConnection, org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
ifeq 2
1: aload 0
aload 1
aload 2
checkcast org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.writeCompositeRecord:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
astore 3
start local 3 3: aload 2
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.remaining:()J
lconst_0
lcmp
ifne 7
4: aload 3
lconst_0
aload 2
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.isUncountable:()Z
ifeq 5
iconst_1
goto 6
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord org.glassfish.grizzly.asyncqueue.RecordWriteResult
StackMap stack: org.glassfish.grizzly.asyncqueue.RecordWriteResult long
5: iconst_0
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord org.glassfish.grizzly.asyncqueue.RecordWriteResult
StackMap stack: org.glassfish.grizzly.asyncqueue.RecordWriteResult long int
6: i2l
invokevirtual org.glassfish.grizzly.asyncqueue.RecordWriteResult.lastWriteResult:(JJ)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getWritableMessage:()Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
aload 3
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0:(Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
lstore 4
start local 4 8: aload 3
lload 4
lload 4
invokevirtual org.glassfish.grizzly.asyncqueue.RecordWriteResult.lastWriteResult:(JJ)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 9 1 connection Lorg/glassfish/grizzly/nio/NIOConnection;
0 9 2 queueRecord Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
3 9 3 writeResult Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
8 9 4 written J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
connection final
queueRecord final
protected long write0(org.glassfish.grizzly.nio.NIOConnection, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof org.glassfish.grizzly.Buffer
ifeq 14
1: aload 2
checkcast org.glassfish.grizzly.Buffer
astore 6
start local 6 2: aload 6
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 5
3: lconst_0
lstore 4
start local 4 4: goto 9
end local 4 StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult top top org.glassfish.grizzly.Buffer
StackMap stack:
5: aload 6
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 8
6: aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aload 6
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOUtils.writeSimpleBuffer:(Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;Lorg/glassfish/grizzly/Buffer;)I
i2l
lstore 4
start local 4 7: goto 9
end local 4 8: StackMap locals:
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aload 6
checkcast org.glassfish.grizzly.memory.CompositeBuffer
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOUtils.writeCompositeBuffer:(Lorg/glassfish/grizzly/nio/transport/TCPNIOConnection;Lorg/glassfish/grizzly/memory/CompositeBuffer;)I
i2l
lstore 4
start local 4 9: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult long org.glassfish.grizzly.Buffer
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aload 6
lload 4
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.onWrite:(Lorg/glassfish/grizzly/Buffer;J)V
10: goto 19
end local 4 StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult top top org.glassfish.grizzly.Buffer
StackMap stack: java.io.IOException
11: astore 7
start local 7 12: aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aconst_null
new org.glassfish.grizzly.CloseReason
dup
getstatic org.glassfish.grizzly.CloseType.REMOTELY:Lorg/glassfish/grizzly/CloseType;
aload 7
invokespecial org.glassfish.grizzly.CloseReason.<init>:(Lorg/glassfish/grizzly/CloseType;Ljava/io/IOException;)V
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.terminate0:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/CloseReason;)V
13: aload 7
athrow
end local 7 end local 6 14: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult
StackMap stack:
aload 2
instanceof org.glassfish.grizzly.FileTransfer
ifeq 18
15: aload 2
checkcast org.glassfish.grizzly.FileTransfer
aload 1
invokevirtual org.glassfish.grizzly.nio.NIOConnection.getChannel:()Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
invokevirtual org.glassfish.grizzly.FileTransfer.writeTo:(Ljava/nio/channels/WritableByteChannel;)J
lstore 4
start local 4 16: aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aconst_null
lload 4
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.onWrite:(Lorg/glassfish/grizzly/Buffer;J)V
17: goto 19
end local 4 18: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Unhandled message type"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
start local 4 19: StackMap locals: long
StackMap stack:
aload 3
ifnull 23
20: aload 3
aload 2
invokevirtual org.glassfish.grizzly.WriteResult.setMessage:(Ljava/lang/Object;)V
21: aload 3
aload 3
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
lload 4
ladd
invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
22: aload 3
aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.peerSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual org.glassfish.grizzly.WriteResult.setDstAddressHolder:(Lorg/glassfish/grizzly/utils/Holder;)V
23: StackMap locals:
StackMap stack:
lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 24 1 connection Lorg/glassfish/grizzly/nio/NIOConnection;
0 24 2 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 24 3 currentResult Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;
4 5 4 written J
7 8 4 written J
9 11 4 written J
16 18 4 written J
19 24 4 written J
2 14 6 buffer Lorg/glassfish/grizzly/Buffer;
12 14 7 e Ljava/io/IOException;
Exception table:
from to target type
2 10 11 Class java.io.IOException
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;)J
MethodParameters:
Name Flags
connection final
message final
currentResult final
private org.glassfish.grizzly.asyncqueue.RecordWriteResult writeCompositeRecord(org.glassfish.grizzly.nio.NIOConnection, org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: getstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
2: getstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
ldc "writeCompositeRecord connection={0}, queueRecord={1}, queueRecord.remaining={2}, queueRecord.queue.size()={3}"
3: iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.remaining:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 2
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.queue:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: int
StackMap stack:
aload 2
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.size:I
ifle 24
6: aload 2
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.size:I
aload 1
invokevirtual org.glassfish.grizzly.nio.NIOConnection.getWriteBufferSize:()I
iconst_3
imul
iconst_2
idiv
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 7: invokestatic org.glassfish.grizzly.nio.DirectByteBufferRecord.get:()Lorg/glassfish/grizzly/nio/DirectByteBufferRecord;
astore 5
start local 5 8: aload 1
invokevirtual org.glassfish.grizzly.nio.NIOConnection.getChannel:()Ljava/nio/channels/SelectableChannel;
checkcast java.nio.channels.SocketChannel
astore 6
start local 6 9: aload 2
iload 4
aload 5
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.fill:(Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;ILorg/glassfish/grizzly/nio/DirectByteBufferRecord;)V
10: aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.finishBufferSlice:()V
11: aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.getArraySize:()I
istore 7
start local 7 12: iload 7
iconst_1
if_icmpne 14
13: aload 6
aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.getArray:()[Ljava/nio/ByteBuffer;
iconst_0
aaload
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOUtils.flushByteBuffer:(Ljava/nio/channels/SocketChannel;Ljava/nio/ByteBuffer;)I
goto 15
14: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord int int org.glassfish.grizzly.nio.DirectByteBufferRecord java.nio.channels.SocketChannel int
StackMap stack:
aload 6
aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.getArray:()[Ljava/nio/ByteBuffer;
iconst_0
iload 7
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOUtils.flushByteBuffers:(Ljava/nio/channels/SocketChannel;[Ljava/nio/ByteBuffer;II)I
15: StackMap locals:
StackMap stack: int
istore 3
end local 7 end local 6 16: goto 23
StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord int int org.glassfish.grizzly.nio.DirectByteBufferRecord
StackMap stack: java.io.IOException
17: astore 6
start local 6 18: aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aconst_null
new org.glassfish.grizzly.CloseReason
dup
getstatic org.glassfish.grizzly.CloseType.REMOTELY:Lorg/glassfish/grizzly/CloseType;
aload 6
invokespecial org.glassfish.grizzly.CloseReason.<init>:(Lorg/glassfish/grizzly/CloseType;Ljava/io/IOException;)V
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.terminate0:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/CloseReason;)V
19: aload 6
athrow
end local 6 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
21: aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.release:()V
22: aload 8
athrow
23: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.glassfish.grizzly.nio.DirectByteBufferRecord.release:()V
end local 5 end local 4 24: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 3
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.update:(Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;I)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 25 1 connection Lorg/glassfish/grizzly/nio/NIOConnection;
0 25 2 queueRecord Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
1 25 3 written I
7 24 4 bufferSize I
8 24 5 directByteBufferRecord Lorg/glassfish/grizzly/nio/DirectByteBufferRecord;
9 16 6 socketChannel Ljava/nio/channels/SocketChannel;
12 16 7 arraySize I
18 20 6 e Ljava/io/IOException;
Exception table:
from to target type
8 16 17 Class java.io.IOException
8 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
connection final
queueRecord final
private static void fill(org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord, int, org.glassfish.grizzly.nio.DirectByteBufferRecord);
descriptor: (Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;ILorg/glassfish/grizzly/nio/DirectByteBufferRecord;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.queue:Ljava/util/Deque;
astore 4
start local 4 2: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.savedBufferStates:Ljava/util/ArrayList;
astore 5
start local 5 3: aload 4
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 6
start local 6 4: goto 17
5: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord int org.glassfish.grizzly.nio.DirectByteBufferRecord int java.util.Deque java.util.ArrayList java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
astore 7
start local 7 6: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.isUncountable:()Z
ifeq 8
7: goto 17
8: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getMessage:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.Buffer
astore 8
start local 8 9: aload 8
invokeinterface org.glassfish.grizzly.Buffer.position:()I
istore 9
start local 9 10: aload 8
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
istore 10
start local 10 11: iload 3
iload 10
if_icmplt 12
aload 8
invokeinterface org.glassfish.grizzly.Buffer.toBufferArray:()Lorg/glassfish/grizzly/memory/BufferArray;
goto 13
StackMap locals: org.glassfish.grizzly.Buffer int int
StackMap stack:
12: aload 8
iload 9
iload 9
iload 3
iadd
invokeinterface org.glassfish.grizzly.Buffer.toBufferArray:(II)Lorg/glassfish/grizzly/memory/BufferArray;
StackMap locals:
StackMap stack: org.glassfish.grizzly.memory.BufferArray
13: astore 11
start local 11 14: aload 5
aload 11
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
15: aload 11
iload 3
aload 2
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOUtils.fill:(Lorg/glassfish/grizzly/memory/BufferArray;ILorg/glassfish/grizzly/nio/DirectByteBufferRecord;)V
16: iload 3
iload 10
isub
istore 3
end local 11 end local 10 end local 9 end local 8 end local 7 17: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord int org.glassfish.grizzly.nio.DirectByteBufferRecord int java.util.Deque java.util.ArrayList java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 18
iload 3
ifgt 5
end local 6 18: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 queueRecord Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
0 19 1 totalBufferSize I
0 19 2 ioRecord Lorg/glassfish/grizzly/nio/DirectByteBufferRecord;
1 19 3 totalRemaining I
2 19 4 queue Ljava/util/Deque<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;
3 19 5 savedBufferStates Ljava/util/ArrayList<Lorg/glassfish/grizzly/memory/BufferArray;>;
4 18 6 it Ljava/util/Iterator<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;
6 17 7 record Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
9 17 8 message Lorg/glassfish/grizzly/Buffer;
10 17 9 pos I
11 17 10 messageRemaining I
14 17 11 bufferArray Lorg/glassfish/grizzly/memory/BufferArray;
MethodParameters:
Name Flags
queueRecord final
totalBufferSize final
ioRecord final
private org.glassfish.grizzly.asyncqueue.RecordWriteResult update(org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord, int);
descriptor: (Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;I)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 1
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.savedBufferStates:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.glassfish.grizzly.memory.BufferArray
astore 4
start local 4 3: aload 4
ifnull 6
4: aload 4
invokevirtual org.glassfish.grizzly.memory.BufferArray.restore:()V
5: aload 4
invokevirtual org.glassfish.grizzly.memory.BufferArray.recycle:()V
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.savedBufferStates:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 3 8: iconst_0
istore 3
start local 3 9: aload 1
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.savedBufferStates:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
10: iload 2
istore 4
start local 4 11: aload 1
dup
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.size:I
iload 2
isub
putfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.size:I
12: aload 1
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.getConnection:()Lorg/glassfish/grizzly/Connection;
astore 5
start local 5 13: aload 1
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.queue:Ljava/util/Deque;
astore 6
start local 6 14: goto 37
15: StackMap locals: int org.glassfish.grizzly.Connection java.util.Deque
StackMap stack:
aload 6
invokeinterface java.util.Deque.peekFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
astore 7
start local 7 16: getstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.$assertionsDisabled:Z
ifne 17
aload 7
ifnonnull 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.isUncountable:()Z
ifeq 22
18: aload 6
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
19: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.notifyCompleteAndRecycle:()V
20: iinc 3 1
21: goto 37
22: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
astore 8
start local 8 23: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getMessage:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.Buffer
astore 9
start local 9 24: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getInitialMessageSize:()J
aload 8
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
lsub
lstore 10
start local 10 25: iload 4
i2l
lload 10
lcmp
iflt 33
26: iload 4
i2l
lload 10
lsub
l2i
istore 4
27: aload 6
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
28: aload 8
aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getInitialMessageSize:()J
invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
29: aload 9
aload 9
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
30: aload 5
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aload 9
lload 10
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.onWrite:(Lorg/glassfish/grizzly/Buffer;J)V
31: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.notifyCompleteAndRecycle:()V
32: goto 37
33: StackMap locals: org.glassfish.grizzly.WriteResult org.glassfish.grizzly.Buffer long
StackMap stack:
aload 9
aload 9
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 4
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
34: aload 8
aload 8
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
iload 4
i2l
ladd
invokevirtual org.glassfish.grizzly.WriteResult.setWrittenSize:(J)V
35: aload 5
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
aload 9
iload 4
i2l
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.onWrite:(Lorg/glassfish/grizzly/Buffer;J)V
36: aload 1
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
iload 2
i2l
iload 2
iload 3
iadd
i2l
invokevirtual org.glassfish.grizzly.asyncqueue.RecordWriteResult.lastWriteResult:(JJ)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
end local 10 end local 9 end local 8 end local 7 37: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord int int int org.glassfish.grizzly.Connection java.util.Deque
StackMap stack:
iload 4
ifgt 15
38: goto 42
start local 7 39: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 6
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
40: aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.notifyCompleteAndRecycle:()V
41: iinc 3 1
end local 7 42: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Deque.peekFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
dup
astore 7
start local 7 43: ifnull 44
aload 7
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.isUncountable:()Z
ifne 39
44: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
iload 2
i2l
iload 2
iload 3
iadd
i2l
invokevirtual org.glassfish.grizzly.asyncqueue.RecordWriteResult.lastWriteResult:(JJ)Lorg/glassfish/grizzly/asyncqueue/RecordWriteResult;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 45 1 queueRecord Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
0 45 2 written I
1 8 3 i I
3 6 4 savedState Lorg/glassfish/grizzly/memory/BufferArray;
9 45 3 extraBytesToRelease I
11 45 4 remainder I
13 45 5 connection Lorg/glassfish/grizzly/Connection;
14 45 6 queue Ljava/util/Deque<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;
16 37 7 record Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
39 42 7 record Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
43 45 7 record Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
23 37 8 firstResult Lorg/glassfish/grizzly/WriteResult;
24 37 9 firstMessage Lorg/glassfish/grizzly/Buffer;
25 37 10 firstMessageRemaining J
MethodParameters:
Name Flags
queueRecord final
written final
protected void onReadyToWrite(org.glassfish.grizzly.nio.NIOConnection);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.glassfish.grizzly.IOEvent.WRITE:Lorg/glassfish/grizzly/IOEvent;
invokevirtual org.glassfish.grizzly.nio.NIOConnection.enableIOEvent:(Lorg/glassfish/grizzly/IOEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 2 1 connection Lorg/glassfish/grizzly/nio/NIOConnection;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
connection final
protected org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord aggregate(org.glassfish.grizzly.asyncqueue.TaskQueue<org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord>);
descriptor: (Lorg/glassfish/grizzly/asyncqueue/TaskQueue;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.size:()I
istore 2
start local 2 1: iload 2
ifne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.poll:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;
checkcast org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
astore 3
start local 3 4: aload 3
ifnull 5
aload 3
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.canBeAggregated:(Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Z
ifeq 5
iload 2
i2l
aload 3
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.remaining:()J
lcmp
ifne 6
5: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 3
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.checkAndGetNextRecord:(Lorg/glassfish/grizzly/asyncqueue/TaskQueue;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
astore 4
start local 4 7: aload 4
ifnonnull 9
8: aload 3
areturn
9: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 0
aload 3
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.createCompositeQueueRecord:(Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
astore 5
start local 5 10: StackMap locals: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
StackMap stack:
aload 5
aload 4
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.append:(Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)V
11: aload 5
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.remaining:()J
iload 2
i2l
lcmp
ifge 12
aload 1
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.checkAndGetNextRecord:(Lorg/glassfish/grizzly/asyncqueue/TaskQueue;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
dup
astore 4
ifnonnull 10
12: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 13 1 writeTaskQueue Lorg/glassfish/grizzly/asyncqueue/TaskQueue<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;
1 13 2 queueSize I
4 13 3 currentRecord Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
7 13 4 nextRecord Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
10 13 5 compositeQueueRecord Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
Signature: (Lorg/glassfish/grizzly/asyncqueue/TaskQueue<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
MethodParameters:
Name Flags
writeTaskQueue final
private static org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord checkAndGetNextRecord(org.glassfish.grizzly.asyncqueue.TaskQueue<org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord>);
descriptor: (Lorg/glassfish/grizzly/asyncqueue/TaskQueue;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.getQueue:()Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.canBeAggregated:(Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Z
ifne 6
4: aload 0
aload 1
invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.setCurrentElement:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writeTaskQueue Lorg/glassfish/grizzly/asyncqueue/TaskQueue<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;
1 7 1 nextRecord Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
Signature: (Lorg/glassfish/grizzly/asyncqueue/TaskQueue<Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;>;)Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
MethodParameters:
Name Flags
writeTaskQueue final
private static boolean canBeAggregated(org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord);
descriptor: (Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.canBeAggregated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 record Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
MethodParameters:
Name Flags
record final
private org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord createCompositeQueueRecord(org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord);
descriptor: (Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
ifne 8
1: aload 1
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.getConnection:()Lorg/glassfish/grizzly/Connection;
astore 2
start local 2 2: getstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.COMPOSITE_BUFFER_ATTR:Lorg/glassfish/grizzly/attributes/Attribute;
aload 2
invokevirtual org.glassfish.grizzly.attributes.Attribute.get:(Lorg/glassfish/grizzly/attributes/AttributeStorage;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
astore 3
start local 3 3: aload 3
ifnonnull 6
4: aload 2
invokestatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.create:(Lorg/glassfish/grizzly/Connection;)Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
astore 3
5: getstatic org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.COMPOSITE_BUFFER_ATTR:Lorg/glassfish/grizzly/attributes/Attribute;
aload 2
aload 3
invokevirtual org.glassfish.grizzly.attributes.Attribute.set:(Lorg/glassfish/grizzly/attributes/AttributeStorage;Ljava/lang/Object;)V
6: StackMap locals: org.glassfish.grizzly.Connection org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
StackMap stack:
aload 3
aload 1
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord.append:(Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;)V
7: aload 3
areturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter;
0 9 1 currentRecord Lorg/glassfish/grizzly/asyncqueue/AsyncWriteQueueRecord;
2 8 2 connection Lorg/glassfish/grizzly/Connection;
3 8 3 compositeQueueRecord Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueWriter$CompositeQueueRecord;
MethodParameters:
Name Flags
currentRecord final
}
SourceFile: "TCPNIOAsyncQueueWriter.java"
NestMembers:
org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord
InnerClasses:
private final CompositeQueueRecord = org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter$CompositeQueueRecord of org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter