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
void <init>(org.eclipse.jetty.io.ManagedSelector, java.nio.channels.SelectableChannel);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;Ljava/nio/channels/SelectableChannel;)V
flags: (0x0000)
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=5, locals=3, args_size=2
start local 0 start local 1 0: 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;
1: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 7
2: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "{} acceptor={}"
aload 0
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
6: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Unable to register OP_ACCEPT on selector for {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
0 8 1 selector Ljava/nio/channels/Selector;
5 7 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 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=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: StackMap locals: 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 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._channel:Ljava/nio/channels/SelectableChannel;
invokevirtual org.eclipse.jetty.io.SelectorManager.doAccept:(Ljava/nio/channels/SelectableChannel;)Ljava/nio/channels/SelectableChannel;
astore 1
2: aload 1
ifnonnull 4
3: goto 9
4: 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 1
invokevirtual org.eclipse.jetty.io.SelectorManager.accepted:(Ljava/nio/channels/SelectableChannel;)V
5: goto 1
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 7: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Accept failed for channel {}"
aload 1
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 1
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
end local 2 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
1 10 1 channel Ljava/nio/channels/SelectableChannel;
7 9 2 x Ljava/lang/Throwable;
Exception table:
from to target type
1 6 6 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 replaceKey(java.nio.channels.SelectionKey);
descriptor: (Ljava/nio/channels/SelectionKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
0 2 1 newKey Ljava/nio/channels/SelectionKey;
MethodParameters:
Name Flags
newKey
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
invokedynamic update(Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;)Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/nio/channels/Selector;)V
org/eclipse/jetty/io/ManagedSelector$Acceptor.lambda$0(Ljava/nio/channels/Selector;)V (7)
(Ljava/nio/channels/Selector;)V
invokevirtual org.eclipse.jetty.io.ManagedSelector.submit:(Lorg/eclipse/jetty/io/ManagedSelector$SelectorUpdate;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
Exceptions:
throws java.io.IOException
private void lambda$0(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Acceptor._key:Ljava/nio/channels/SelectionKey;
invokevirtual java.nio.channels.SelectionKey.cancel:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ManagedSelector$Acceptor;
0 1 1 selector Ljava/nio/channels/Selector;
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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