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
{
private final java.util.concurrent.CountDownLatch _stopped;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 994
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 996
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 994
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 1001
aload 1 /* selector */
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
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 1004
aload 2 /* key */
ifnonnull 4
3: .line 1005
goto 7
4: .line 1006
StackMap locals: org.eclipse.jetty.io.ManagedSelector$StopSelector java.nio.channels.Selector java.nio.channels.SelectionKey java.util.Iterator
StackMap stack:
aload 2 /* key */
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 4 /* attachment */
start local 4 // java.lang.Object attachment
5: .line 1007
aload 4 /* attachment */
instanceof java.io.Closeable
ifeq 7
6: .line 1008
aload 4 /* attachment */
checkcast java.io.Closeable
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
end local 4 // java.lang.Object attachment
end local 2 // java.nio.channels.SelectionKey key
7: .line 1001
StackMap locals: org.eclipse.jetty.io.ManagedSelector$StopSelector java.nio.channels.Selector top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: .line 1010
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;
9: .line 1011
aload 1 /* selector */
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
10: .line 1012
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$StopSelector._stopped:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
11: .line 1013
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 12 0 this Lorg/eclipse/jetty/io/ManagedSelector$StopSelector;
0 12 1 selector Ljava/nio/channels/Selector;
2 7 2 key Ljava/nio/channels/SelectionKey;
5 7 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