class org.eclipse.jetty.io.ManagedSelector$CloseConnections 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$CloseConnections
super_class: java.lang.Object
{
final java.util.Set<java.io.Closeable> _closed;
descriptor: Ljava/util/Set;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Set<Ljava/io/Closeable;>;
final java.util.concurrent.CountDownLatch _noEndPoints;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.CountDownLatch _complete;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0010) ACC_FINAL
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);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
0: .line 831
aload 0 /* this */
aload 1
aconst_null
invokespecial org.eclipse.jetty.io.ManagedSelector$CloseConnections.<init>:(Lorg/eclipse/jetty/io/ManagedSelector;Ljava/util/Set;)V
1: .line 832
return
end local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ManagedSelector$CloseConnections;
MethodParameters:
Name Flags
this$0 final
public void <init>(java.util.Set<java.io.Closeable>);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
start local 2 // java.util.Set closed
0: .line 835
aload 0 /* this */
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$CloseConnections.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
1: .line 834
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
2: .line 826
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$CloseConnections._noEndPoints:Ljava/util/concurrent/CountDownLatch;
3: .line 827
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$CloseConnections._complete:Ljava/util/concurrent/CountDownLatch;
4: .line 836
aload 0 /* this */
aload 2 /* closed */
putfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._closed:Ljava/util/Set;
5: .line 837
return
end local 2 // java.util.Set closed
end local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ManagedSelector$CloseConnections;
0 6 2 closed Ljava/util/Set<Ljava/io/Closeable;>;
Signature: (Ljava/util/Set<Ljava/io/Closeable;>;)V
MethodParameters:
Name Flags
this$0 final
closed
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
start local 1 // java.nio.channels.Selector selector
0: .line 842
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: .line 843
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Closing {} connections on {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1 /* selector */
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: .line 844
StackMap locals:
StackMap stack:
iconst_1
istore 2 /* zero */
start local 2 // boolean zero
3: .line 845
aload 1 /* selector */
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 23
StackMap locals: org.eclipse.jetty.io.ManagedSelector$CloseConnections java.nio.channels.Selector int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 3 /* key */
start local 3 // java.nio.channels.SelectionKey key
5: .line 847
aload 3 /* key */
ifnull 23
aload 3 /* key */
invokevirtual java.nio.channels.SelectionKey.isValid:()Z
ifeq 23
6: .line 849
aconst_null
astore 5 /* closeable */
start local 5 // java.io.Closeable closeable
7: .line 850
aload 3 /* key */
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
astore 6 /* attachment */
start local 6 // java.lang.Object attachment
8: .line 851
aload 6 /* attachment */
instanceof org.eclipse.jetty.io.EndPoint
ifeq 16
9: .line 853
aload 6 /* attachment */
checkcast org.eclipse.jetty.io.EndPoint
astore 7 /* endp */
start local 7 // org.eclipse.jetty.io.EndPoint endp
10: .line 854
aload 7 /* endp */
invokeinterface org.eclipse.jetty.io.EndPoint.isOutputShutdown:()Z
ifne 12
11: .line 855
iconst_0
istore 2 /* zero */
12: .line 856
StackMap locals: org.eclipse.jetty.io.ManagedSelector$CloseConnections java.nio.channels.Selector int java.nio.channels.SelectionKey java.util.Iterator java.io.Closeable java.lang.Object org.eclipse.jetty.io.EndPoint
StackMap stack:
aload 7 /* endp */
invokeinterface org.eclipse.jetty.io.EndPoint.getConnection:()Lorg/eclipse/jetty/io/Connection;
astore 8 /* connection */
start local 8 // org.eclipse.jetty.io.Connection connection
13: .line 857
aload 8 /* connection */
ifnull 15
14: .line 858
aload 8 /* connection */
astore 5 /* closeable */
goto 16
15: .line 860
StackMap locals: org.eclipse.jetty.io.Connection
StackMap stack:
aload 7 /* endp */
astore 5 /* closeable */
end local 8 // org.eclipse.jetty.io.Connection connection
end local 7 // org.eclipse.jetty.io.EndPoint endp
16: .line 863
StackMap locals:
StackMap stack:
aload 5 /* closeable */
ifnull 23
17: .line 865
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._closed:Ljava/util/Set;
ifnonnull 20
18: .line 867
aload 5 /* closeable */
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
19: .line 868
goto 23
20: .line 869
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._closed:Ljava/util/Set;
aload 5 /* closeable */
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 23
21: .line 871
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._closed:Ljava/util/Set;
aload 5 /* closeable */
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
22: .line 872
aload 5 /* closeable */
invokestatic org.eclipse.jetty.io.ManagedSelector.closeNoExceptions:(Ljava/io/Closeable;)V
end local 6 // java.lang.Object attachment
end local 5 // java.io.Closeable closeable
end local 3 // java.nio.channels.SelectionKey key
23: .line 845
StackMap locals: org.eclipse.jetty.io.ManagedSelector$CloseConnections java.nio.channels.Selector int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
24: .line 878
iload 2 /* zero */
ifeq 26
25: .line 879
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._noEndPoints:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
26: .line 880
StackMap locals: org.eclipse.jetty.io.ManagedSelector$CloseConnections java.nio.channels.Selector int
StackMap stack:
aload 0 /* this */
getfield org.eclipse.jetty.io.ManagedSelector$CloseConnections._complete:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
27: .line 881
return
end local 2 // boolean zero
end local 1 // java.nio.channels.Selector selector
end local 0 // org.eclipse.jetty.io.ManagedSelector$CloseConnections this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/eclipse/jetty/io/ManagedSelector$CloseConnections;
0 28 1 selector Ljava/nio/channels/Selector;
3 28 2 zero Z
5 23 3 key Ljava/nio/channels/SelectionKey;
7 23 5 closeable Ljava/io/Closeable;
8 23 6 attachment Ljava/lang/Object;
10 16 7 endp Lorg/eclipse/jetty/io/EndPoint;
13 16 8 connection Lorg/eclipse/jetty/io/Connection;
MethodParameters:
Name Flags
selector
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
private CloseConnections = org.eclipse.jetty.io.ManagedSelector$CloseConnections of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector