public final class org.glassfish.grizzly.strategies.WorkerThreadIOStrategy extends org.glassfish.grizzly.strategies.AbstractIOStrategy
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.strategies.WorkerThreadIOStrategy
super_class: org.glassfish.grizzly.strategies.AbstractIOStrategy
{
private static final org.glassfish.grizzly.strategies.WorkerThreadIOStrategy INSTANCE;
descriptor: Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.grizzly.strategies.WorkerThreadIOStrategy
dup
invokespecial org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.<init>:()V
putstatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.INSTANCE:Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
1: ldc Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.logger:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.strategies.AbstractIOStrategy.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
public static org.glassfish.grizzly.strategies.WorkerThreadIOStrategy getInstance();
descriptor: ()Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.INSTANCE:Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean executeIoEvent(org.glassfish.grizzly.Connection, org.glassfish.grizzly.IOEvent, boolean);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.isReadWrite:(Lorg/glassfish/grizzly/IOEvent;)Z
istore 4
start local 4 1: iload 4
ifeq 6
2: iload 3
ifeq 4
3: aload 1
aload 2
invokeinterface org.glassfish.grizzly.Connection.disableIOEvent:(Lorg/glassfish/grizzly/IOEvent;)V
4: StackMap locals: int
StackMap stack:
getstatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.ENABLE_INTEREST_LIFECYCLE_LISTENER:Lorg/glassfish/grizzly/IOEventLifeCycleListener;
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 7: StackMap locals: org.glassfish.grizzly.IOEventLifeCycleListener
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.getThreadPoolFor:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;)Ljava/util/concurrent/Executor;
astore 6
start local 6 8: aload 6
ifnull 11
9: aload 6
new org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable
dup
aload 1
aload 2
aload 5
invokespecial org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.<init>:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;Lorg/glassfish/grizzly/IOEventLifeCycleListener;)V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
10: goto 12
11: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 1
aload 2
aload 5
invokestatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;Lorg/glassfish/grizzly/IOEventLifeCycleListener;)V
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 13 0 this Lorg/glassfish/grizzly/strategies/WorkerThreadIOStrategy;
0 13 1 connection Lorg/glassfish/grizzly/Connection;
0 13 2 ioEvent Lorg/glassfish/grizzly/IOEvent;
0 13 3 isIoEventEnabled Z
1 13 4 isReadOrWriteEvent Z
5 6 5 listener Lorg/glassfish/grizzly/IOEventLifeCycleListener;
7 13 5 listener Lorg/glassfish/grizzly/IOEventLifeCycleListener;
8 13 6 threadPool Ljava/util/concurrent/Executor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
connection final
ioEvent final
isIoEventEnabled final
private static void run0(org.glassfish.grizzly.Connection, org.glassfish.grizzly.IOEvent, org.glassfish.grizzly.IOEventLifeCycleListener);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;Lorg/glassfish/grizzly/IOEventLifeCycleListener;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.logger:Ljava/util/logging/Logger;
invokestatic org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.fireIOEvent:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/IOEvent;Lorg/glassfish/grizzly/IOEventLifeCycleListener;Ljava/util/logging/Logger;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 connection Lorg/glassfish/grizzly/Connection;
0 2 1 ioEvent Lorg/glassfish/grizzly/IOEvent;
0 2 2 lifeCycleListener Lorg/glassfish/grizzly/IOEventLifeCycleListener;
MethodParameters:
Name Flags
connection final
ioEvent final
lifeCycleListener final
}
SourceFile: "WorkerThreadIOStrategy.java"
NestMembers:
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable
InnerClasses:
private final WorkerThreadRunnable = org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable of org.glassfish.grizzly.strategies.WorkerThreadIOStrategy