public class org.glassfish.grizzly.nio.DefaultSelectorHandler implements org.glassfish.grizzly.nio.SelectorHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.nio.DefaultSelectorHandler
super_class: java.lang.Object
{
private static final long DEFAULT_SELECT_TIMEOUT_MILLIS;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30000
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final boolean IS_WORKAROUND_SELECTOR_SPIN;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected final long selectTimeout;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static final int SPIN_RATE_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2000
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.nio.DefaultSelectorHandler.logger:Ljava/util/logging/Logger;
1: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
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 ".force-selector-spin-detection"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 4
2: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc "linux"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 4
3: iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: putstatic org.glassfish.grizzly.nio.DefaultSelectorHandler.IS_WORKAROUND_SELECTOR_SPIN:Z
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc 30000
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler.<init>:(JLjava/util/concurrent/TimeUnit;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
public void <init>(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler.selectTimeout:J
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 3 1 selectTimeout J
0 3 3 timeunit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
selectTimeout final
timeunit final
public long getSelectTimeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler.selectTimeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
public boolean preSelect(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.processPendingTasks:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 1 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
public java.util.Set<java.nio.channels.SelectionKey> select(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
astore 2
start local 2 1: aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getPostponedTasks:()Ljava/util/Queue;
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 2
iconst_0
goto 3
StackMap locals: java.nio.channels.Selector
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: iload 3
ifne 7
5: aload 2
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler.selectTimeout:J
invokevirtual java.nio.channels.Selector.select:(J)I
pop
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.nio.channels.Selector.selectNow:()I
pop
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
astore 4
start local 4 9: getstatic org.glassfish.grizzly.nio.DefaultSelectorHandler.IS_WORKAROUND_SELECTOR_SPIN:Z
ifeq 13
10: aload 1
aload 4
invokeinterface java.util.Set.isEmpty:()Z
ifeq 11
iload 3
ifne 11
iconst_0
goto 12
StackMap locals: org.glassfish.grizzly.nio.DefaultSelectorHandler org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector int java.util.Set
StackMap stack: org.glassfish.grizzly.nio.SelectorRunner
11: iconst_1
StackMap locals: org.glassfish.grizzly.nio.DefaultSelectorHandler org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.Selector int java.util.Set
StackMap stack: org.glassfish.grizzly.nio.SelectorRunner int
12: sipush 2000
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.checkSelectorSpin:(ZI)V
13: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 14 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
1 14 2 selector Ljava/nio/channels/Selector;
4 14 3 hasPostponedTasks Z
9 14 4 selectedKeys Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
MethodParameters:
Name Flags
selectorRunner final
public void postSelect(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 1 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
public void registerKeyInterest(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectionKey, int);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectionKey;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.isSelectorRunnerThread:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifeq 3
1: aload 2
iload 3
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.registerKey0:(Ljava/nio/channels/SelectionKey;I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
new org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask
dup
aload 2
iload 3
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.<init>:(Ljava/nio/channels/SelectionKey;I)V
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 5 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 5 2 key Ljava/nio/channels/SelectionKey;
0 5 3 interest I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
key final
interest final
private static void registerKey0(java.nio.channels.SelectionKey, int);
descriptor: (Ljava/nio/channels/SelectionKey;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 4
1: aload 0
invokevirtual java.nio.channels.SelectionKey.interestOps:()I
istore 2
start local 2 2: iload 2
iload 1
iand
iload 1
if_icmpeq 4
3: aload 0
iload 2
iload 1
ior
invokevirtual java.nio.channels.SelectionKey.interestOps:(I)Ljava/nio/channels/SelectionKey;
pop
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 selectionKey Ljava/nio/channels/SelectionKey;
0 5 1 interest I
2 4 2 currentOps I
MethodParameters:
Name Flags
selectionKey final
interest final
public void deregisterKeyInterest(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectionKey, int);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectionKey;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 4
1: aload 2
invokevirtual java.nio.channels.SelectionKey.interestOps:()I
istore 4
start local 4 2: iload 4
iload 3
iand
ifeq 4
3: aload 2
iload 4
iload 3
iconst_m1
ixor
iand
invokevirtual java.nio.channels.SelectionKey.interestOps:(I)Ljava/nio/channels/SelectionKey;
pop
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 5 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 5 2 key Ljava/nio/channels/SelectionKey;
0 5 3 interest I
2 4 4 currentOps I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
key final
interest final
public void registerChannel(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel, int, java.lang.Object);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
astore 5
start local 5 1: aload 0
aload 1
aload 2
iload 3
aload 4
aload 5
invokestatic org.glassfish.grizzly.utils.Futures.toCompletionHandler:(Lorg/glassfish/grizzly/impl/FutureImpl;)Lorg/glassfish/grizzly/CompletionHandler;
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.registerChannelAsync:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
2: aload 5
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler.selectTimeout:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.glassfish.grizzly.impl.FutureImpl.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
pop
3: goto 6
StackMap locals: org.glassfish.grizzly.nio.DefaultSelectorHandler org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectableChannel int java.lang.Object org.glassfish.grizzly.impl.FutureImpl
StackMap stack: java.lang.Exception
4: astore 6
start local 6 5: new java.io.IOException
dup
aload 6
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 6 6: 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 7 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 7 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 7 2 channel Ljava/nio/channels/SelectableChannel;
0 7 3 interest I
0 7 4 attachment Ljava/lang/Object;
1 7 5 future Lorg/glassfish/grizzly/impl/FutureImpl<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
5 6 6 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
channel final
interest final
attachment final
public void registerChannelAsync(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel, int, , org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.isSelectorRunnerThread:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifeq 3
1: aload 1
aload 2
iload 3
aload 4
aload 5
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.registerChannel0:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
new org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation
dup
aload 2
iload 3
aload 4
aload 5
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.<init>:(Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
4: 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 5 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 5 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 5 2 channel Ljava/nio/channels/SelectableChannel;
0 5 3 interest I
0 5 4 attachment Ljava/lang/Object;
0 5 5 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
selectorRunner
channel
interest
attachment
completionHandler
public void deregisterChannel(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
astore 3
start local 3 1: aload 0
aload 1
aload 2
aload 3
invokestatic org.glassfish.grizzly.utils.Futures.toCompletionHandler:(Lorg/glassfish/grizzly/impl/FutureImpl;)Lorg/glassfish/grizzly/CompletionHandler;
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.deregisterChannelAsync:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
2: aload 3
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler.selectTimeout:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.glassfish.grizzly.impl.FutureImpl.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
pop
3: goto 6
StackMap locals: org.glassfish.grizzly.nio.DefaultSelectorHandler org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectableChannel org.glassfish.grizzly.impl.FutureImpl
StackMap stack: java.lang.Exception
4: astore 4
start local 4 5: new java.io.IOException
dup
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 7 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 7 2 channel Ljava/nio/channels/SelectableChannel;
1 7 3 future Lorg/glassfish/grizzly/impl/FutureImpl<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
5 6 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
channel final
public void deregisterChannelAsync(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.isSelectorRunnerThread:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifeq 3
1: aload 1
aload 2
aload 3
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.deregisterChannel0:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
new org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation
dup
aload 2
aload 3
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.<init>:(Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 5 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 5 2 channel Ljava/nio/channels/SelectableChannel;
0 5 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
selectorRunner final
channel final
completionHandler final
public void execute(org.glassfish.grizzly.nio.SelectorRunner, org.glassfish.grizzly.nio.SelectorHandler$Task, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.SelectorHandler$Task>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.isSelectorRunnerThread:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifeq 9
1: aload 2
invokeinterface org.glassfish.grizzly.nio.SelectorHandler$Task.run:()Z
pop
2: aload 3
ifnull 10
3: aload 3
aload 2
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
4: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 4
start local 4 6: aload 3
ifnull 10
7: aload 3
aload 4
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
end local 4 8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 1
new org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask
dup
aload 2
aload 3
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask.<init>:(Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler;)V
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 11 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 11 2 task Lorg/glassfish/grizzly/nio/SelectorHandler$Task;
0 11 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/SelectorHandler$Task;>;
6 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/SelectorHandler$Task;>;)V
MethodParameters:
Name Flags
selectorRunner final
task final
completionHandler final
public void enque(org.glassfish.grizzly.nio.SelectorRunner, org.glassfish.grizzly.nio.SelectorHandler$Task, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.SelectorHandler$Task>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.isSelectorRunnerThread:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifeq 4
1: aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getPostponedTasks:()Ljava/util/Queue;
astore 4
start local 4 2: aload 4
new org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask
dup
aload 2
aload 3
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask.<init>:(Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler;)V
invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
pop
end local 4 3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
new org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask
dup
aload 2
aload 3
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask.<init>:(Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler;)V
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 6 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 6 2 task Lorg/glassfish/grizzly/nio/SelectorHandler$Task;
0 6 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/SelectorHandler$Task;>;
2 3 4 postponedTasks Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandler$Task;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/SelectorHandler$Task;>;)V
MethodParameters:
Name Flags
selectorRunner final
task final
completionHandler final
private void addPendingTask(org.glassfish.grizzly.nio.SelectorRunner, org.glassfish.grizzly.nio.SelectorHandlerTask);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 2
invokeinterface org.glassfish.grizzly.nio.SelectorHandlerTask.cancel:()V
2: return
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.addPendingTask:(Lorg/glassfish/grizzly/nio/SelectorHandlerTask;)V
4: aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.isStop:()Z
ifeq 6
aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getPendingTasks:()Ljava/util/Queue;
aload 2
invokeinterface java.util.Queue.remove:(Ljava/lang/Object;)Z
ifeq 6
5: aload 2
invokeinterface org.glassfish.grizzly.nio.SelectorHandlerTask.cancel:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 7 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 7 2 task Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
MethodParameters:
Name Flags
selectorRunner final
task final
private boolean processPendingTasks(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.obtainPostponedTasks:()Ljava/util/Queue;
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.processPendingTaskQueue:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/util/Queue;)Z
ifeq 3
1: aload 1
getfield org.glassfish.grizzly.nio.SelectorRunner.hasPendingTasks:Z
ifeq 2
aload 0
aload 1
aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getPendingTasks:()Ljava/util/Queue;
invokevirtual org.glassfish.grizzly.nio.DefaultSelectorHandler.processPendingTaskQueue:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/util/Queue;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 4 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
private boolean processPendingTaskQueue(org.glassfish.grizzly.nio.SelectorRunner, java.util.Queue<org.glassfish.grizzly.nio.SelectorHandlerTask>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/util/Queue;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 3
start local 3 1: StackMap locals: org.glassfish.grizzly.nio.SelectorHandlerTask
StackMap stack:
aload 3
aload 1
invokeinterface org.glassfish.grizzly.nio.SelectorHandlerTask.run:(Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
ifne 3
2: iconst_0
ireturn
end local 3 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.nio.SelectorHandlerTask
dup
astore 3
start local 3 4: ifnonnull 1
5: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 6 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 6 2 selectorHandlerTasks Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;
1 3 3 selectorHandlerTask Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
4 6 3 selectorHandlerTask Lorg/glassfish/grizzly/nio/SelectorHandlerTask;
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;)Z
MethodParameters:
Name Flags
selectorRunner final
selectorHandlerTasks final
private static void registerChannel0(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel, int, , org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
ifeq 14
1: aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
astore 5
start local 5 2: aload 1
aload 5
invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 6
start local 6 3: aload 6
ifnull 4
aload 6
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 10
4: StackMap locals: java.nio.channels.Selector java.nio.channels.SelectionKey
StackMap stack:
aload 1
aload 5
iload 2
aload 3
invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
astore 7
start local 7 5: aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getTransport:()Lorg/glassfish/grizzly/nio/NIOTransport;
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
aload 7
invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.onKeyRegistered:(Ljava/nio/channels/SelectionKey;)V
6: new org.glassfish.grizzly.nio.RegisterChannelResult
dup
aload 0
aload 7
aload 1
invokespecial org.glassfish.grizzly.nio.RegisterChannelResult.<init>:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectionKey;Ljava/nio/channels/SelectableChannel;)V
astore 8
start local 8 7: aload 4
ifnull 18
8: aload 4
aload 8
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
end local 8 end local 7 9: goto 18
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getPostponedTasks:()Ljava/util/Queue;
astore 7
start local 7 11: new org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation
dup
aload 1
iload 2
aload 3
aload 4
invokespecial org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.<init>:(Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
astore 8
start local 8 12: aload 7
aload 8
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 end local 5 13: goto 18
14: StackMap locals:
StackMap stack:
aload 4
new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.failChannelRegistration:(Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
15: goto 18
StackMap locals:
StackMap stack: java.io.IOException
16: astore 5
start local 5 17: aload 4
aload 5
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.failChannelRegistration:(Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
end local 5 18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 19 1 channel Ljava/nio/channels/SelectableChannel;
0 19 2 interest I
0 19 3 attachment Ljava/lang/Object;
0 19 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
2 13 5 selector Ljava/nio/channels/Selector;
3 13 6 key Ljava/nio/channels/SelectionKey;
5 9 7 registeredSelectionKey Ljava/nio/channels/SelectionKey;
7 9 8 result Lorg/glassfish/grizzly/nio/RegisterChannelResult;
11 13 7 postponedTasks Ljava/util/Queue<Lorg/glassfish/grizzly/nio/SelectorHandlerTask;>;
12 13 8 operation Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterChannelOperation;
17 18 5 e Ljava/io/IOException;
Exception table:
from to target type
0 15 16 Class java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
selectorRunner final
channel final
interest final
attachment final
completionHandler final
private static void failChannelRegistration(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>, java.lang.Throwable);
descriptor: (Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 2
1: aload 0
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
0 3 1 error Ljava/lang/Throwable;
Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
completionHandler final
error final
private static void deregisterChannel0(org.glassfish.grizzly.nio.SelectorRunner, java.nio.channels.SelectableChannel, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.channels.SelectableChannel.isOpen:()Z
ifeq 12
1: aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getSelector:()Ljava/nio/channels/Selector;
astore 4
start local 4 2: aload 1
aload 4
invokevirtual java.nio.channels.SelectableChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 5
start local 5 3: aload 5
ifnull 10
4: aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getTransport:()Lorg/glassfish/grizzly/nio/NIOTransport;
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
aload 5
invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.cancel:(Ljava/nio/channels/SelectionKey;)V
5: aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getTransport:()Lorg/glassfish/grizzly/nio/NIOTransport;
invokevirtual org.glassfish.grizzly.nio.NIOTransport.getSelectionKeyHandler:()Lorg/glassfish/grizzly/nio/SelectionKeyHandler;
aload 5
invokeinterface org.glassfish.grizzly.nio.SelectionKeyHandler.onKeyDeregistered:(Ljava/nio/channels/SelectionKey;)V
6: new org.glassfish.grizzly.nio.RegisterChannelResult
dup
aload 0
aload 5
aload 1
invokespecial org.glassfish.grizzly.nio.RegisterChannelResult.<init>:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectionKey;Ljava/nio/channels/SelectableChannel;)V
astore 6
start local 6 7: aload 2
ifnull 9
8: aload 2
aload 6
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
9: StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectableChannel org.glassfish.grizzly.CompletionHandler top java.nio.channels.Selector java.nio.channels.SelectionKey org.glassfish.grizzly.nio.RegisterChannelResult
StackMap stack:
return
end local 6 10: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Channel is not registered"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
astore 3
end local 5 end local 4 start local 3 11: goto 13
end local 3 12: StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectableChannel org.glassfish.grizzly.CompletionHandler
StackMap stack:
new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
astore 3
start local 3 13: StackMap locals: java.lang.Throwable
StackMap stack:
aconst_null
aload 2
aload 3
invokestatic org.glassfish.grizzly.utils.Futures.notifyFailure:(Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
14: goto 17
end local 3 StackMap locals: org.glassfish.grizzly.nio.SelectorRunner java.nio.channels.SelectableChannel org.glassfish.grizzly.CompletionHandler
StackMap stack: java.io.IOException
15: astore 4
start local 4 16: aconst_null
aload 2
aload 4
invokestatic org.glassfish.grizzly.utils.Futures.notifyFailure:(Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
end local 4 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
0 18 1 channel Ljava/nio/channels/SelectableChannel;
0 18 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
11 12 3 error Ljava/lang/Throwable;
13 15 3 error Ljava/lang/Throwable;
2 11 4 selector Ljava/nio/channels/Selector;
3 11 5 key Ljava/nio/channels/SelectionKey;
7 10 6 result Lorg/glassfish/grizzly/nio/RegisterChannelResult;
16 17 4 e Ljava/io/IOException;
Exception table:
from to target type
0 9 15 Class java.io.IOException
10 14 15 Class java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
selectorRunner final
channel final
completionHandler final
public boolean onSelectorClosed(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.workaroundSelectorSpin:()V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler;
0 4 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
selectorRunner final
private static boolean isSelectorRunnerThread(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.getRunnerThread:()Ljava/lang/Thread;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
MethodParameters:
Name Flags
selectorRunner final
}
SourceFile: "DefaultSelectorHandler.java"
NestMembers:
org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask
InnerClasses:
protected final DeregisterChannelOperation = org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation of org.glassfish.grizzly.nio.DefaultSelectorHandler
protected final RegisterChannelOperation = org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation of org.glassfish.grizzly.nio.DefaultSelectorHandler
protected final RegisterKeyTask = org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask of org.glassfish.grizzly.nio.DefaultSelectorHandler
protected final RunnableTask = org.glassfish.grizzly.nio.DefaultSelectorHandler$RunnableTask of org.glassfish.grizzly.nio.DefaultSelectorHandler
public abstract Task = org.glassfish.grizzly.nio.SelectorHandler$Task of org.glassfish.grizzly.nio.SelectorHandler