class org.eclipse.jetty.io.ManagedSelector$Acceptor implements org.eclipse.jetty.io.ManagedSelector$SelectorUpdate, org.eclipse.jetty.io.ManagedSelector$Selectable, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.io.ManagedSelector$Acceptor
super_class: java.lang.Object
{
private final java.nio.channels.SelectableChannel _channel;
descriptor: Ljava/nio/channels/SelectableChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.channels.SelectionKey _key;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.io.ManagedSelector this$0;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.eclipse.jetty.io.ManagedSelector, java.nio.channels.SelectableChannel);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$Acceptor.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
0 4 2 channel Ljava/nio/channels/SelectableChannel;
MethodParameters:
Name Flags
this$0 final
channel
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
ifnonnull 2
1: aload 0
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
aload 1
bipush 16
aload 0
invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
putfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 8
3: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} acceptor={}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
4: goto 8
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 6: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
7: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
0 9 1 selector Ljava/nio/channels/Selector;
6 8 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
selector
public java.lang.Runnable onSelected();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: StackMap locals: java.nio.channels.SelectableChannel java.nio.channels.SelectableChannel
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 1
invokevirtual org.eclipse.jetty.io.SelectorManager.doAccept:(Ljava/nio/channels/SelectableChannel;)Ljava/nio/channels/SelectableChannel;
astore 2
3: aload 2
ifnonnull 5
4: goto 10
5: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 2
invokevirtual org.eclipse.jetty.io.SelectorManager.accepted:(Ljava/nio/channels/SelectableChannel;)V
6: goto 2
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 8: aload 2
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
9: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Accept failed for channel "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
1 11 1 server Ljava/nio/channels/SelectableChannel;
2 11 2 channel Ljava/nio/channels/SelectableChannel;
8 10 3 x Ljava/lang/Throwable;
Exception table:
from to target type
2 7 7 Class java.lang.Throwable
public void updateKey();
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/eclipse/jetty/io/ManagedSelector$Acceptor;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
astore 1
start local 1 1: aload 0
aconst_null
putfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
2: aload 1
ifnull 4
aload 1
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 4
3: aload 1
invokevirtual java.nio.channels.SelectionKey.cancel:()V
4: StackMap locals: java.nio.channels.SelectionKey
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
1 5 1 key Ljava/nio/channels/SelectionKey;
Exceptions:
throws java.io.IOException
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
Acceptor = org.eclipse.jetty.io.ManagedSelector$Acceptor of org.eclipse.jetty.io.ManagedSelector
public abstract Selectable = org.eclipse.jetty.io.ManagedSelector$Selectable of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector