public final class org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask implements org.glassfish.grizzly.nio.SelectorHandlerTask
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask
super_class: java.lang.Object
{
private final java.nio.channels.SelectionKey selectionKey;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int interest;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.nio.channels.SelectionKey, int);
descriptor: (Ljava/nio/channels/SelectionKey;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.selectionKey:Ljava/nio/channels/SelectionKey;
2: aload 0
iload 2
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.interest:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterKeyTask;
0 4 1 selectionKey Ljava/nio/channels/SelectionKey;
0 4 2 interest I
MethodParameters:
Name Flags
selectionKey final
interest final
public boolean run(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.selectionKey:Ljava/nio/channels/SelectionKey;
astore 2
start local 2 1: getstatic org.glassfish.grizzly.nio.DefaultSelectorHandler.IS_WORKAROUND_SELECTOR_SPIN:Z
ifeq 3
2: aload 1
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.selectionKey:Ljava/nio/channels/SelectionKey;
invokevirtual org.glassfish.grizzly.nio.SelectorRunner.checkIfSpinnedKey:(Ljava/nio/channels/SelectionKey;)Ljava/nio/channels/SelectionKey;
astore 2
3: StackMap locals: java.nio.channels.SelectionKey
StackMap stack:
aload 2
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask.interest:I
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.registerKey0:(Ljava/nio/channels/SelectionKey;I)V
4: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterKeyTask;
0 5 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
1 5 2 localSelectionKey Ljava/nio/channels/SelectionKey;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterKeyTask;
}
SourceFile: "DefaultSelectorHandler.java"
NestHost: org.glassfish.grizzly.nio.DefaultSelectorHandler
InnerClasses:
protected final RegisterKeyTask = org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterKeyTask of org.glassfish.grizzly.nio.DefaultSelectorHandler