class org.eclipse.jetty.io.ManagedSelector$Connect implements org.eclipse.jetty.io.ManagedSelector$SelectorUpdate, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.io.ManagedSelector$Connect
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicBoolean failed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.SelectableChannel channel;
descriptor: Ljava/nio/channels/SelectableChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object attachment;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.thread.Scheduler$Task timeout;
descriptor: Lorg/eclipse/jetty/util/thread/Scheduler$Task;
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
void <init>(org.eclipse.jetty.io.ManagedSelector, java.nio.channels.SelectableChannel, java.lang.Object);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;Ljava/nio/channels/SelectableChannel;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$Connect.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield org.eclipse.jetty.io.ManagedSelector$Connect.failed:Ljava/util/concurrent/atomic/AtomicBoolean;
3: aload 0
aload 2
putfield org.eclipse.jetty.io.ManagedSelector$Connect.channel:Ljava/nio/channels/SelectableChannel;
4: aload 0
aload 3
putfield org.eclipse.jetty.io.ManagedSelector$Connect.attachment:Ljava/lang/Object;
5: aload 1
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
invokevirtual org.eclipse.jetty.io.SelectorManager.getConnectTimeout:()J
lstore 4
start local 4 6: lload 4
lconst_0
lcmp
ifle 8
7: aload 0
aload 1
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
invokevirtual org.eclipse.jetty.io.SelectorManager.getScheduler:()Lorg/eclipse/jetty/util/thread/Scheduler;
aload 0
lload 4
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.eclipse.jetty.util.thread.Scheduler.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lorg/eclipse/jetty/util/thread/Scheduler$Task;
putfield org.eclipse.jetty.io.ManagedSelector$Connect.timeout:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
goto 9
8: StackMap locals: org.eclipse.jetty.io.ManagedSelector$Connect org.eclipse.jetty.io.ManagedSelector java.nio.channels.SelectableChannel java.lang.Object long
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.io.ManagedSelector$Connect.timeout:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
9: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ManagedSelector$Connect;
0 10 2 channel Ljava/nio/channels/SelectableChannel;
0 10 3 attachment Ljava/lang/Object;
6 10 4 timeout J
MethodParameters:
Name Flags
this$0 final
channel
attachment
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.channel:Ljava/nio/channels/SelectableChannel;
aload 1
bipush 8
aload 0
invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
pop
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.eclipse.jetty.io.ManagedSelector$Connect.failed:(Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ManagedSelector$Connect;
0 5 1 selector Ljava/nio/channels/Selector;
3 4 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
selector
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.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$Connect.channel:Ljava/nio/channels/SelectableChannel;
invokevirtual org.eclipse.jetty.io.SelectorManager.isConnectionPending:(Ljava/nio/channels/SelectableChannel;)Z
ifeq 4
1: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Channel {} timed out while connecting, closing it"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.channel:Ljava/nio/channels/SelectableChannel;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
new java.net.SocketTimeoutException
dup
ldc "Connect Timeout"
invokespecial java.net.SocketTimeoutException.<init>:(Ljava/lang/String;)V
invokevirtual org.eclipse.jetty.io.ManagedSelector$Connect.failed:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ManagedSelector$Connect;
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.failed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 5
1: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.timeout:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
ifnull 3
2: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.timeout:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
invokeinterface org.eclipse.jetty.util.thread.Scheduler$Task.cancel:()Z
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
4: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.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$Connect.channel:Ljava/nio/channels/SelectableChannel;
aload 1
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.attachment:Ljava/lang/Object;
invokevirtual org.eclipse.jetty.io.SelectorManager.connectionFailed:(Ljava/nio/channels/SelectableChannel;Ljava/lang/Throwable;Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ManagedSelector$Connect;
0 6 1 failure Ljava/lang/Throwable;
MethodParameters:
Name Flags
failure
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "Connect@%x{%s,%s}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.channel:Ljava/nio/channels/SelectableChannel;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Connect.attachment:Ljava/lang/Object;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ManagedSelector$Connect;
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
Connect = org.eclipse.jetty.io.ManagedSelector$Connect of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector
public abstract Task = org.eclipse.jetty.util.thread.Scheduler$Task of org.eclipse.jetty.util.thread.Scheduler