class org.eclipse.jetty.io.ManagedSelector$DumpKeys 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$DumpKeys
super_class: java.lang.Object
{
private final java.util.concurrent.CountDownLatch latch;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<java.lang.String> keys;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
putfield org.eclipse.jetty.io.ManagedSelector$DumpKeys.latch:Ljava/util/concurrent/CountDownLatch;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ManagedSelector$DumpKeys;
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.channels.Selector.keys:()Ljava/util/Set;
astore 2
start local 2 1: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.Set.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.eclipse.jetty.io.ManagedSelector$DumpKeys java.nio.channels.Selector java.util.Set java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.SelectionKey
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 3
ldc "SelectionKey@%x{i=%d}->%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 4
invokestatic org.eclipse.jetty.io.ManagedSelector.safeInterestOps:(Ljava/nio/channels/SelectionKey;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 4
invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 0
aload 3
putfield org.eclipse.jetty.io.ManagedSelector$DumpKeys.keys:Ljava/util/List;
8: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$DumpKeys.latch:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ManagedSelector$DumpKeys;
0 10 1 selector Ljava/nio/channels/Selector;
1 10 2 selectorKeys Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
2 10 3 list Ljava/util/List<Ljava/lang/String;>;
4 6 4 key Ljava/nio/channels/SelectionKey;
MethodParameters:
Name Flags
selector
public java.util.List<java.lang.String> get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$DumpKeys.latch:Ljava/util/concurrent/CountDownLatch;
lload 1
aload 3
invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
pop
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 4
start local 4 3: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$DumpKeys.keys:Ljava/util/List;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ManagedSelector$DumpKeys;
0 5 1 timeout J
0 5 3 unit Ljava/util/concurrent/TimeUnit;
3 4 4 x Ljava/lang/InterruptedException;
Exception table:
from to target type
0 1 2 Class java.lang.InterruptedException
Signature: (JLjava/util/concurrent/TimeUnit;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
timeout
unit
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
private DumpKeys = org.eclipse.jetty.io.ManagedSelector$DumpKeys of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector