class org.eclipse.jetty.io.ManagedSelector$StopSelector implements org.eclipse.jetty.io.ManagedSelector$SelectorUpdate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.io.ManagedSelector$StopSelector
super_class: java.lang.Object
{
java.util.concurrent.CountDownLatch _stopped;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0000)
final org.eclipse.jetty.io.ManagedSelector this$0;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.jetty.io.ManagedSelector);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 // org.eclipse.jetty.io.ManagedSelector$StopSelector this
0: .line 884
aload 0 /* this */
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$StopSelector.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 886
aload 0 /* this */
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield org.eclipse.jetty.io.ManagedSelector$StopSelector._stopped:Ljava/util/concurrent/CountDownLatch;
2: .line 884
return
end local 0 // org.eclipse.jetty.io.ManagedSelector$StopSelector this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ManagedSelector$StopSelector;
MethodParameters:
Name Flags
this$0 final
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 // org.eclipse.jetty.io.ManagedSelector$StopSelector this
start local 1 // java.nio.channels.Selector selector
0: .line 891
aload 1 /* selector */
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.eclipse.jetty.io.ManagedSelector$StopSelector java.nio.channels.Selector top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 2 /* key */
start local 2 // java.nio.channels.SelectionKey key
2: .line 893
aload 2 /* key */
ifnull 6
aload 2 /* key */
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 6
3: .line 895
aload 2 /* key */
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 4 /* attachment */
start local 4 // java.lang.Object attachment
4: .line 896
aload 4 /* attachment */
instanceof org.eclipse.jetty.io.EndPoint
ifeq 6
5: .line 897
aload 4 /* attachment */
checkcast org.eclipse.jetty.io.EndPoint
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
end local 4 // java.lang.Object attachment
end local 2 // java.nio.channels.SelectionKey key
6: .line 891
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: .line 901
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$StopSelector.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aconst_null
putfield org.eclipse.jetty.io.ManagedSelector._selector:Ljava/nio/channels/Selector;
8: .line 902
aload 1 /* selector */
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
9: .line 903
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$StopSelector._stopped:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
10: .line 904
return
end local 1 // java.nio.channels.Selector selector
end local 0 // org.eclipse.jetty.io.ManagedSelector$StopSelector this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/io/ManagedSelector$StopSelector;
0 11 1 selector Ljava/nio/channels/Selector;
2 6 2 key Ljava/nio/channels/SelectionKey;
4 6 4 attachment Ljava/lang/Object;
MethodParameters:
Name Flags
selector
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector
private StopSelector = org.eclipse.jetty.io.ManagedSelector$StopSelector of org.eclipse.jetty.io.ManagedSelector