public abstract class io.vertx.core.net.impl.clientconnection.Endpoint<C>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.core.net.impl.clientconnection.Endpoint
super_class: java.lang.Object
{
private final java.util.Set<C> connectionMap;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<TC;>;
private final java.lang.Runnable dispose;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean disposed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long pendingRequestCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long openConnectionCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.vertx.core.impl.ConcurrentHashSet
dup
invokespecial io.vertx.core.impl.ConcurrentHashSet.<init>:()V
putfield io.vertx.core.net.impl.clientconnection.Endpoint.connectionMap:Ljava/util/Set;
2: aload 0
aload 1
putfield io.vertx.core.net.impl.clientconnection.Endpoint.dispose:Ljava/lang/Runnable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 4 1 dispose Ljava/lang/Runnable;
MethodParameters:
Name Flags
dispose
public boolean getConnection(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<C>>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.disposed:Z
ifeq 4
2: aload 3
monitorexit
3: iconst_0
ireturn
4: StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint
StackMap stack:
aload 0
dup
getfield io.vertx.core.net.impl.clientconnection.Endpoint.pendingRequestCount:J
lconst_1
ladd
putfield io.vertx.core.net.impl.clientconnection.Endpoint.pendingRequestCount:J
5: aload 3
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
aload 2
invokedynamic handle(Lio/vertx/core/net/impl/clientconnection/Endpoint;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/net/impl/clientconnection/Endpoint.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.requestConnection:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
10: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 11 1 ctx Lio/vertx/core/impl/ContextInternal;
0 11 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TC;>;>;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TC;>;>;)Z
MethodParameters:
Name Flags
ctx
handler
public abstract void requestConnection(io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<C>>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TC;>;>;)V
MethodParameters:
Name Flags
ctx
handler
protected void connectionAdded();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.connectionMap:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
dup
getfield io.vertx.core.net.impl.clientconnection.Endpoint.openConnectionCount:J
lconst_1
ladd
putfield io.vertx.core.net.impl.clientconnection.Endpoint.openConnectionCount:J
3: goto 5
4: StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "BUG!!!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.closed:Z
ifne 8
6: aload 2
monitorexit
7: return
8: StackMap locals:
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.close:(Ljava/lang/Object;)V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 14 1 conn TC;
Exception table:
from to target type
1 7 10 any
8 9 10 any
10 11 10 any
Signature: (TC;)V
MethodParameters:
Name Flags
conn
protected void connectionRemoved();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.connectionMap:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
dup
getfield io.vertx.core.net.impl.clientconnection.Endpoint.openConnectionCount:J
lconst_1
lsub
putfield io.vertx.core.net.impl.clientconnection.Endpoint.openConnectionCount:J
3: goto 5
4: StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "BUG!!!!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.checkDispose:()Z
ifne 8
6: aload 2
monitorexit
7: return
8: StackMap locals:
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.disposeInternal:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 14 1 conn TC;
Exception table:
from to target type
1 7 10 any
8 9 10 any
10 11 10 any
Signature: (TC;)V
MethodParameters:
Name Flags
conn
private void disposeInternal();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.dispose:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
1: aload 0
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
private boolean checkDispose();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.disposed:Z
ifne 3
aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.openConnectionCount:J
lconst_0
lcmp
ifne 3
aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.pendingRequestCount:J
lconst_0
lcmp
ifne 3
1: aload 0
iconst_1
putfield io.vertx.core.net.impl.clientconnection.Endpoint.disposed:Z
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
protected void dispose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
protected void close();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 1 1 connection TC;
Signature: (TC;)V
MethodParameters:
Name Flags
connection
protected void close();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.closed:Z
ifeq 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.net.impl.clientconnection.Endpoint.closed:Z
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.clientconnection.Endpoint.connectionMap:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint top java.util.Iterator
StackMap stack:
9: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 1
start local 1 10: aload 0
aload 1
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.close:(Ljava/lang/Object;)V
end local 1 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
10 11 1 conn TC;
Exception table:
from to target type
1 5 6 any
6 7 6 any
private void lambda$0(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 2 0: aload 0
dup
astore 4
monitorenter
1: aload 0
dup
getfield io.vertx.core.net.impl.clientconnection.Endpoint.pendingRequestCount:J
lconst_1
lsub
putfield io.vertx.core.net.impl.clientconnection.Endpoint.pendingRequestCount:J
2: aload 0
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.checkDispose:()Z
istore 3
start local 3 3: aload 4
monitorexit
4: goto 7
end local 3 StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint io.vertx.core.Handler io.vertx.core.AsyncResult top io.vertx.core.net.impl.clientconnection.Endpoint
StackMap stack: java.lang.Throwable
5: aload 4
monitorexit
6: athrow
start local 3 7: StackMap locals: io.vertx.core.net.impl.clientconnection.Endpoint io.vertx.core.Handler io.vertx.core.AsyncResult int
StackMap stack:
iload 3
ifeq 9
8: aload 0
invokevirtual io.vertx.core.net.impl.clientconnection.Endpoint.disposeInternal:()V
9: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 3 10: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/net/impl/clientconnection/Endpoint<TC;>;
0 11 2 ar Lio/vertx/core/AsyncResult<TC;>;
3 5 3 dispose Z
7 10 3 dispose Z
Exception table:
from to target type
1 4 5 any
5 6 5 any
}
Signature: <C:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Endpoint.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles