public final class org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord extends org.glassfish.grizzly.asyncqueue.AsyncQueueRecord<org.glassfish.grizzly.ReadResult>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord
super_class: org.glassfish.grizzly.asyncqueue.AsyncQueueRecord
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord> CACHE_IDX;
descriptor: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;>;
protected org.glassfish.grizzly.Interceptor interceptor;
descriptor: Lorg/glassfish/grizzly/Interceptor;
flags: (0x0004) ACC_PROTECTED
private final org.glassfish.grizzly.asyncqueue.RecordReadResult readResult;
descriptor: Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
iconst_2
invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
putstatic org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord create(org.glassfish.grizzly.Connection, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.Interceptor<org.glassfish.grizzly.ReadResult>);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
invokestatic org.glassfish.grizzly.ThreadCache.takeFromCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord
astore 4
start local 4 1: aload 4
ifnull 5
2: aload 4
iconst_0
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.isRecycled:Z
3: aload 4
aload 0
aload 1
aload 2
aload 3
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.set:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
4: aload 4
areturn
5: StackMap locals: org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord
StackMap stack:
new org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord
dup
aload 0
aload 1
aload 2
aload 3
invokespecial org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.<init>:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 connection Lorg/glassfish/grizzly/Connection;
0 6 1 message Lorg/glassfish/grizzly/Buffer;
0 6 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler;
0 6 3 interceptor Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;
1 6 4 asyncReadQueueRecord Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
Signature: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;)Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
MethodParameters:
Name Flags
connection final
message final
completionHandler final
interceptor final
private void <init>(org.glassfish.grizzly.Connection, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.Interceptor<org.glassfish.grizzly.ReadResult>);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.glassfish.grizzly.asyncqueue.AsyncQueueRecord.<init>:()V
1: aload 0
new org.glassfish.grizzly.asyncqueue.RecordReadResult
dup
invokespecial org.glassfish.grizzly.asyncqueue.RecordReadResult.<init>:()V
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
2: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.set:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
0 4 1 connection Lorg/glassfish/grizzly/Connection;
0 4 2 message Lorg/glassfish/grizzly/Buffer;
0 4 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler;
0 4 4 interceptor Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;
Signature: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;)V
MethodParameters:
Name Flags
connection final
message final
completionHandler final
interceptor final
public org.glassfish.grizzly.Interceptor getInterceptor();
descriptor: ()Lorg/glassfish/grizzly/Interceptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.checkRecycled:()V
1: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.interceptor:Lorg/glassfish/grizzly/Interceptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
public void notifyComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
public boolean isFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
invokevirtual org.glassfish.grizzly.asyncqueue.RecordReadResult.getReadSize:()I
ifgt 1
aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.message:Ljava/lang/Object;
checkcast org.glassfish.grizzly.Buffer
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
public org.glassfish.grizzly.ReadResult getCurrentResult();
descriptor: ()Lorg/glassfish/grizzly/ReadResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
protected void set(org.glassfish.grizzly.Connection, java.lang.Object, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.Interceptor);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.set:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
1: aload 0
aload 4
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.interceptor:Lorg/glassfish/grizzly/Interceptor;
2: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
aload 1
aload 2
aconst_null
iconst_0
invokevirtual org.glassfish.grizzly.asyncqueue.RecordReadResult.set:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Ljava/lang/Object;I)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
0 4 1 connection Lorg/glassfish/grizzly/Connection;
0 4 2 message Ljava/lang/Object;
0 4 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler;
0 4 4 interceptor Lorg/glassfish/grizzly/Interceptor;
MethodParameters:
Name Flags
connection final
message final
completionHandler final
interceptor final
protected void reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
aconst_null
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.set:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
1: aload 0
getfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.readResult:Lorg/glassfish/grizzly/asyncqueue/RecordReadResult;
invokevirtual org.glassfish.grizzly.asyncqueue.RecordReadResult.recycle:()V
2: aload 0
aconst_null
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.interceptor:Lorg/glassfish/grizzly/Interceptor;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.checkRecycled:()V
1: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.reset:()V
2: aload 0
iconst_1
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.isRecycled:Z
3: invokestatic org.glassfish.grizzly.Grizzly.isTrackingThreadCache:()Z
ifeq 5
4: aload 0
new org.glassfish.grizzly.utils.DebugPoint
dup
new java.lang.Exception
dup
invokespecial java.lang.Exception.<init>:()V
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokespecial org.glassfish.grizzly.utils.DebugPoint.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
putfield org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.recycleTrack:Lorg/glassfish/grizzly/utils/DebugPoint;
5: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
aload 0
invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
public java.lang.Object getCurrentResult();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/ReadResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord<Lorg/glassfish/grizzly/ReadResult;>;
SourceFile: "AsyncReadQueueRecord.java"
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache