public class examples.CoreExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.CoreExamples
super_class: java.lang.Object
{
examples.CoreExamples$BlockingAPI someAPI;
descriptor: Lexamples/CoreExamples$BlockingAPI;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new examples.CoreExamples$BlockingAPI
dup
aload 0
invokespecial examples.CoreExamples$BlockingAPI.<init>:(Lexamples/CoreExamples;)V
putfield examples.CoreExamples.someAPI:Lexamples/CoreExamples$BlockingAPI;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
public void example1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic io.vertx.core.Vertx.vertx:()Lio/vertx/core/Vertx;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
public void example2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
bipush 40
invokevirtual io.vertx.core.VertxOptions.setWorkerPoolSize:(I)Lio/vertx/core/VertxOptions;
invokestatic io.vertx.core.Vertx.vertx:(Lio/vertx/core/VertxOptions;)Lio/vertx/core/Vertx;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
public void example3(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "Content-Type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
ldc "some text"
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public void example4(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "Content-Type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 2
ldc "some text"
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
3: aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/CoreExamples;
0 5 1 request Lio/vertx/core/http/HttpServerRequest;
1 5 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example5(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc 1000
invokedynamic handle()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
examples/CoreExamples.lambda$0(Ljava/lang/Long;)V (6)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setPeriodic:(JLio/vertx/core/Handler;)J
pop2
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example6(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/CoreExamples.lambda$1(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void example7(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic handle(Lexamples/CoreExamples;)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
examples/CoreExamples.lambda$2(Lio/vertx/core/Promise;)V (7)
(Lio/vertx/core/Promise;)V
1: invokedynamic handle()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
examples/CoreExamples.lambda$3(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
2: invokeinterface io.vertx.core.Vertx.executeBlocking:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void workerExecutor1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "my-worker-pool"
invokeinterface io.vertx.core.Vertx.createSharedWorkerExecutor:(Ljava/lang/String;)Lio/vertx/core/WorkerExecutor;
astore 2
start local 2 1: aload 2
aload 0
invokedynamic handle(Lexamples/CoreExamples;)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
examples/CoreExamples.lambda$4(Lio/vertx/core/Promise;)V (7)
(Lio/vertx/core/Promise;)V
2: invokedynamic handle()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
examples/CoreExamples.lambda$5(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
3: invokeinterface io.vertx.core.WorkerExecutor.executeBlocking:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/CoreExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
1 5 2 executor Lio/vertx/core/WorkerExecutor;
MethodParameters:
Name Flags
vertx
public void workerExecutor2(io.vertx.core.WorkerExecutor);
descriptor: (Lio/vertx/core/WorkerExecutor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.WorkerExecutor.close:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 executor Lio/vertx/core/WorkerExecutor;
MethodParameters:
Name Flags
executor
public void workerExecutor3(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: bipush 10
istore 2
start local 2 1: ldc 2
lstore 3
start local 3 2: getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
astore 5
start local 5 3: aload 1
ldc "my-worker-pool"
iload 2
lload 3
aload 5
invokeinterface io.vertx.core.Vertx.createSharedWorkerExecutor:(Ljava/lang/String;IJLjava/util/concurrent/TimeUnit;)Lio/vertx/core/WorkerExecutor;
pop
4: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/CoreExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
1 5 2 poolSize I
2 5 3 maxExecuteTime J
3 5 5 maxExecuteTimeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
vertx
public void exampleFutureAll1(io.vertx.core.http.HttpServer, io.vertx.core.net.NetServer);
descriptor: (Lio/vertx/core/http/HttpServer;Lio/vertx/core/net/NetServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokedynamic handle(Lio/vertx/core/http/HttpServer;)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
examples/CoreExamples.lambda$6(Lio/vertx/core/http/HttpServer;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
astore 3
start local 3 1: aload 2
invokedynamic handle(Lio/vertx/core/net/NetServer;)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
examples/CoreExamples.lambda$7(Lio/vertx/core/net/NetServer;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
astore 4
start local 4 2: aload 3
aload 4
invokestatic io.vertx.core.CompositeFuture.all:(Lio/vertx/core/Future;Lio/vertx/core/Future;)Lio/vertx/core/CompositeFuture;
invokedynamic handle()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
examples/CoreExamples.lambda$8(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 httpServer Lio/vertx/core/http/HttpServer;
0 4 2 netServer Lio/vertx/core/net/NetServer;
1 4 3 httpServerFuture Lio/vertx/core/Future<Lio/vertx/core/http/HttpServer;>;
2 4 4 netServerFuture Lio/vertx/core/Future<Lio/vertx/core/net/NetServer;>;
MethodParameters:
Name Flags
httpServer
netServer
public void exampleFutureAll2(io.vertx.core.Future, io.vertx.core.Future, io.vertx.core.Future);
descriptor: (Lio/vertx/core/Future;Lio/vertx/core/Future;Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_3
anewarray io.vertx.core.Future
dup
iconst_0
1: aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
pop
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 future1 Lio/vertx/core/Future;
0 2 2 future2 Lio/vertx/core/Future;
0 2 3 future3 Lio/vertx/core/Future;
MethodParameters:
Name Flags
future1
future2
future3
public void exampleFutureAny1(io.vertx.core.Future<java.lang.String>, io.vertx.core.Future<java.lang.String>);
descriptor: (Lio/vertx/core/Future;Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic io.vertx.core.CompositeFuture.any:(Lio/vertx/core/Future;Lio/vertx/core/Future;)Lio/vertx/core/CompositeFuture;
invokedynamic handle()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
examples/CoreExamples.lambda$9(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 future1 Lio/vertx/core/Future<Ljava/lang/String;>;
0 2 2 future2 Lio/vertx/core/Future<Ljava/lang/String;>;
Signature: (Lio/vertx/core/Future<Ljava/lang/String;>;Lio/vertx/core/Future<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
future1
future2
public void exampleFutureAny2(io.vertx.core.Future, io.vertx.core.Future, io.vertx.core.Future);
descriptor: (Lio/vertx/core/Future;Lio/vertx/core/Future;Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_3
anewarray io.vertx.core.Future
dup
iconst_0
1: aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic io.vertx.core.CompositeFuture.any:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
pop
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 f1 Lio/vertx/core/Future;
0 2 2 f2 Lio/vertx/core/Future;
0 2 3 f3 Lio/vertx/core/Future;
MethodParameters:
Name Flags
f1
f2
f3
public void exampleFutureJoin1(io.vertx.core.Future, io.vertx.core.Future, io.vertx.core.Future);
descriptor: (Lio/vertx/core/Future;Lio/vertx/core/Future;Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokestatic io.vertx.core.CompositeFuture.join:(Lio/vertx/core/Future;Lio/vertx/core/Future;Lio/vertx/core/Future;)Lio/vertx/core/CompositeFuture;
invokedynamic handle()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
examples/CoreExamples.lambda$10(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 future1 Lio/vertx/core/Future;
0 2 2 future2 Lio/vertx/core/Future;
0 2 3 future3 Lio/vertx/core/Future;
MethodParameters:
Name Flags
future1
future2
future3
public void exampleFutureJoin2(io.vertx.core.Future, io.vertx.core.Future, io.vertx.core.Future);
descriptor: (Lio/vertx/core/Future;Lio/vertx/core/Future;Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_3
anewarray io.vertx.core.Future
dup
iconst_0
1: aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic io.vertx.core.CompositeFuture.join:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
pop
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 future1 Lio/vertx/core/Future;
0 2 2 future2 Lio/vertx/core/Future;
0 2 3 future3 Lio/vertx/core/Future;
MethodParameters:
Name Flags
future1
future2
future3
public void exampleFuture6(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
astore 2
start local 2 1: aload 2
invokedynamic handle(Lio/vertx/core/file/FileSystem;)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
examples/CoreExamples.lambda$11(Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
astore 3
start local 3 2: aload 3
3: aload 2
invokedynamic apply(Lio/vertx/core/file/FileSystem;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
examples/CoreExamples.lambda$12(Lio/vertx/core/file/FileSystem;Ljava/lang/Void;)Lio/vertx/core/Future; (6)
(Ljava/lang/Void;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
4: aload 2
invokedynamic apply(Lio/vertx/core/file/FileSystem;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
examples/CoreExamples.lambda$14(Lio/vertx/core/file/FileSystem;Ljava/lang/Void;)Lio/vertx/core/Future; (6)
(Ljava/lang/Void;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/CoreExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
1 6 2 fs Lio/vertx/core/file/FileSystem;
2 6 3 fut1 Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
vertx
public void example7_1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
iconst_1
invokevirtual io.vertx.core.DeploymentOptions.setWorker:(Z)Lio/vertx/core/DeploymentOptions;
astore 2
start local 2 1: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
aload 2
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/DeploymentOptions;
MethodParameters:
Name Flags
vertx
public void multiThreadedWorkerVerticleAlternative(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
1: iconst_1
invokevirtual io.vertx.core.DeploymentOptions.setWorker:(Z)Lio/vertx/core/DeploymentOptions;
2: iconst_5
invokevirtual io.vertx.core.DeploymentOptions.setInstances:(I)Lio/vertx/core/DeploymentOptions;
3: ldc "the-specific-pool"
invokevirtual io.vertx.core.DeploymentOptions.setWorkerPoolName:(Ljava/lang/String;)Lio/vertx/core/DeploymentOptions;
4: iconst_5
invokevirtual io.vertx.core.DeploymentOptions.setWorkerPoolSize:(I)Lio/vertx/core/DeploymentOptions;
5: astore 2
start local 2 6: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
aload 2
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/CoreExamples;
0 8 1 vertx Lio/vertx/core/Vertx;
6 8 2 options Lio/vertx/core/DeploymentOptions;
MethodParameters:
Name Flags
vertx
public void multiThreadedWorkerVerticleAlternative2(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
ldc "foo"
aload 2
aload 1
invokedynamic handle(Ljava/lang/String;Lio/vertx/core/Vertx;)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
examples/CoreExamples.lambda$16(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/core/eventbus/Message;)V (6)
(Lio/vertx/core/eventbus/Message;)V
invokeinterface io.vertx.core.eventbus.EventBus.consumer:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
0 2 2 someresult Ljava/lang/String;
MethodParameters:
Name Flags
vertx
someresult
public void example8(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new examples.CoreExamples$MyVerticle
dup
aload 0
invokespecial examples.CoreExamples$MyVerticle.<init>:(Lexamples/CoreExamples;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.deployVerticle:(Lio/vertx/core/Verticle;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 myVerticle Lio/vertx/core/Verticle;
MethodParameters:
Name Flags
vertx
public void example9(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;)V
1: aload 1
ldc "verticles/myverticle.js"
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;)V
2: aload 1
ldc "verticles/my_verticle.rb"
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example10(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
invokedynamic handle()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
examples/CoreExamples.lambda$19(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example11(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokedynamic handle()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
examples/CoreExamples.lambda$20(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Vertx.undeploy:(Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
0 2 2 deploymentID Ljava/lang/String;
MethodParameters:
Name Flags
vertx
deploymentID
public void example12(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
bipush 16
invokevirtual io.vertx.core.DeploymentOptions.setInstances:(I)Lio/vertx/core/DeploymentOptions;
astore 2
start local 2 1: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
aload 2
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/DeploymentOptions;
MethodParameters:
Name Flags
vertx
public void example13(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "name"
ldc "tim"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "directory"
ldc "/blah"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 2
start local 2 1: new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.DeploymentOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/DeploymentOptions;
astore 3
start local 3 2: aload 1
ldc "com.mycompany.MyOrderProcessorVerticle"
aload 3
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 config Lio/vertx/core/json/JsonObject;
2 4 3 options Lio/vertx/core/DeploymentOptions;
MethodParameters:
Name Flags
vertx
public void example14(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
ldc "mygroup"
invokevirtual io.vertx.core.DeploymentOptions.setIsolationGroup:(Ljava/lang/String;)Lio/vertx/core/DeploymentOptions;
astore 2
start local 2 1: aload 2
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "com.mycompany.myverticle.*"
aastore
dup
iconst_1
2: ldc "com.mycompany.somepkg.SomeClass"
aastore
dup
iconst_2
ldc "org.somelibrary.*"
aastore
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual io.vertx.core.DeploymentOptions.setIsolatedClasses:(Ljava/util/List;)Lio/vertx/core/DeploymentOptions;
pop
4: aload 1
ldc "com.mycompany.myverticle.VerticleClass"
aload 2
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/CoreExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
1 6 2 options Lio/vertx/core/DeploymentOptions;
MethodParameters:
Name Flags
vertx
public void example15(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc 1000
invokedynamic handle()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
examples/CoreExamples.lambda$21(Ljava/lang/Long;)V (6)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
pop2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "First this is printed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example16(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc 1000
invokedynamic handle()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
examples/CoreExamples.lambda$22(Ljava/lang/Long;)V (6)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setPeriodic:(JLio/vertx/core/Handler;)J
pop2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "First this is printed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example17(io.vertx.core.Vertx, long);
descriptor: (Lio/vertx/core/Vertx;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
lload 2
invokeinterface io.vertx.core.Vertx.cancelTimer:(J)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
0 2 2 timerID J
MethodParameters:
Name Flags
vertx
timerID
public void example18(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/String;)Lio/vertx/core/logging/Logger;
astore 3
start local 3 1: aload 3
ldc "something happened"
invokevirtual io.vertx.core.logging.Logger.info:(Ljava/lang/Object;)V
2: aload 3
ldc "oops!"
aload 2
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 className Ljava/lang/String;
0 4 2 exception Ljava/lang/Exception;
1 4 3 logger Lio/vertx/core/logging/Logger;
MethodParameters:
Name Flags
className
exception
public void retrieveContext(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void retrieveContextType(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.Context.isEventLoopContext:()Z
ifeq 4
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Context attached to Event Loop"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: goto 12
StackMap locals: io.vertx.core.Context
StackMap stack:
4: aload 2
invokeinterface io.vertx.core.Context.isWorkerContext:()Z
ifeq 7
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Context attached to Worker Thread"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: goto 12
StackMap locals:
StackMap stack:
7: aload 2
invokeinterface io.vertx.core.Context.isMultiThreadedWorkerContext:()Z
ifeq 10
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Context attached to Worker Thread - multi threaded worker"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: goto 12
StackMap locals:
StackMap stack:
10: invokestatic io.vertx.core.Context.isOnVertxThread:()Z
ifne 12
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Context not attached to a thread managed by vert.x"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lexamples/CoreExamples;
0 13 1 vertx Lio/vertx/core/Vertx;
1 13 2 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
vertx
public void runInContext(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
invokedynamic handle()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
examples/CoreExamples.lambda$23(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void runInContextWithData(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
astore 2
start local 2 1: aload 2
ldc "data"
ldc "hello"
invokeinterface io.vertx.core.Context.put:(Ljava/lang/String;Ljava/lang/Object;)V
2: aload 2
aload 2
invokedynamic handle(Lio/vertx/core/Context;)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
examples/CoreExamples.lambda$24(Lio/vertx/core/Context;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
vertx
public void systemAndEnvProperties();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "prop"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
pop
1: ldc "HOME"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
public void configureDNSServers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
1: new io.vertx.core.dns.AddressResolverOptions
dup
invokespecial io.vertx.core.dns.AddressResolverOptions.<init>:()V
2: ldc "192.168.0.1"
invokevirtual io.vertx.core.dns.AddressResolverOptions.addServer:(Ljava/lang/String;)Lio/vertx/core/dns/AddressResolverOptions;
3: ldc "192.168.0.2:40000"
invokevirtual io.vertx.core.dns.AddressResolverOptions.addServer:(Ljava/lang/String;)Lio/vertx/core/dns/AddressResolverOptions;
4: invokevirtual io.vertx.core.VertxOptions.setAddressResolverOptions:(Lio/vertx/core/dns/AddressResolverOptions;)Lio/vertx/core/VertxOptions;
5: invokestatic io.vertx.core.Vertx.vertx:(Lio/vertx/core/VertxOptions;)Lio/vertx/core/Vertx;
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/CoreExamples;
public void configureHosts();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
1: new io.vertx.core.dns.AddressResolverOptions
dup
invokespecial io.vertx.core.dns.AddressResolverOptions.<init>:()V
2: ldc "/path/to/hosts"
invokevirtual io.vertx.core.dns.AddressResolverOptions.setHostsPath:(Ljava/lang/String;)Lio/vertx/core/dns/AddressResolverOptions;
3: invokevirtual io.vertx.core.VertxOptions.setAddressResolverOptions:(Lio/vertx/core/dns/AddressResolverOptions;)Lio/vertx/core/VertxOptions;
4: invokestatic io.vertx.core.Vertx.vertx:(Lio/vertx/core/VertxOptions;)Lio/vertx/core/Vertx;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/CoreExamples;
public void configureSearchDomains();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
1: new io.vertx.core.dns.AddressResolverOptions
dup
invokespecial io.vertx.core.dns.AddressResolverOptions.<init>:()V
ldc "foo.com"
invokevirtual io.vertx.core.dns.AddressResolverOptions.addSearchDomain:(Ljava/lang/String;)Lio/vertx/core/dns/AddressResolverOptions;
ldc "bar.com"
invokevirtual io.vertx.core.dns.AddressResolverOptions.addSearchDomain:(Ljava/lang/String;)Lio/vertx/core/dns/AddressResolverOptions;
2: invokevirtual io.vertx.core.VertxOptions.setAddressResolverOptions:(Lio/vertx/core/dns/AddressResolverOptions;)Lio/vertx/core/VertxOptions;
3: invokestatic io.vertx.core.Vertx.vertx:(Lio/vertx/core/VertxOptions;)Lio/vertx/core/Vertx;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/CoreExamples;
public void deployVerticleWithDifferentWorkerPool(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "the-verticle"
new io.vertx.core.DeploymentOptions
dup
invokespecial io.vertx.core.DeploymentOptions.<init>:()V
ldc "the-specific-pool"
invokevirtual io.vertx.core.DeploymentOptions.setWorkerPoolName:(Ljava/lang/String;)Lio/vertx/core/DeploymentOptions;
invokeinterface io.vertx.core.Vertx.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void configureNative();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
1: iconst_1
invokevirtual io.vertx.core.VertxOptions.setPreferNativeTransport:(Z)Lio/vertx/core/VertxOptions;
2: invokestatic io.vertx.core.Vertx.vertx:(Lio/vertx/core/VertxOptions;)Lio/vertx/core/Vertx;
astore 1
start local 1 3: aload 1
invokeinterface io.vertx.core.Vertx.isNativeTransportEnabled:()Z
istore 2
start local 2 4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Running with native: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/CoreExamples;
3 6 1 vertx Lio/vertx/core/Vertx;
4 6 2 usingNative Z
public void configureLinuxOptions(io.vertx.core.Vertx, boolean, boolean, boolean, boolean);
descriptor: (Lio/vertx/core/Vertx;ZZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
new io.vertx.core.http.HttpServerOptions
dup
invokespecial io.vertx.core.http.HttpServerOptions.<init>:()V
1: iload 2
invokevirtual io.vertx.core.http.HttpServerOptions.setTcpFastOpen:(Z)Lio/vertx/core/http/HttpServerOptions;
2: iload 3
invokevirtual io.vertx.core.http.HttpServerOptions.setTcpCork:(Z)Lio/vertx/core/http/HttpServerOptions;
3: iload 4
invokevirtual io.vertx.core.http.HttpServerOptions.setTcpQuickAck:(Z)Lio/vertx/core/http/HttpServerOptions;
4: iload 5
invokevirtual io.vertx.core.http.HttpServerOptions.setReusePort:(Z)Lio/vertx/core/http/HttpServerOptions;
5: invokeinterface io.vertx.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/core/http/HttpServer;
pop
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/CoreExamples;
0 7 1 vertx Lio/vertx/core/Vertx;
0 7 2 fastOpen Z
0 7 3 cork Z
0 7 4 quickAck Z
0 7 5 reusePort Z
MethodParameters:
Name Flags
vertx
fastOpen
cork
quickAck
reusePort
public void configureBSDOptions(io.vertx.core.Vertx, boolean);
descriptor: (Lio/vertx/core/Vertx;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new io.vertx.core.http.HttpServerOptions
dup
invokespecial io.vertx.core.http.HttpServerOptions.<init>:()V
iload 2
invokevirtual io.vertx.core.http.HttpServerOptions.setReusePort:(Z)Lio/vertx/core/http/HttpServerOptions;
invokeinterface io.vertx.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/CoreExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
0 2 2 reusePort Z
MethodParameters:
Name Flags
vertx
reusePort
public void tcpServerWithDomainSockets(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createNetServer:()Lio/vertx/core/net/NetServer;
invokedynamic handle()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
examples/CoreExamples.lambda$25(Lio/vertx/core/net/NetSocket;)V (6)
(Lio/vertx/core/net/NetSocket;)V
invokeinterface io.vertx.core.net.NetServer.connectHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/NetServer;
1: ldc "/var/tmp/myservice.sock"
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.NetServer.listen:(Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/net/NetServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void httpServerWithDomainSockets(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/CoreExamples.lambda$26(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: ldc "/var/tmp/myservice.sock"
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
invokedynamic handle()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
examples/CoreExamples.lambda$27(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpServer.listen:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void tcpClientWithDomainSockets(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createNetClient:()Lio/vertx/core/net/NetClient;
astore 2
start local 2 1: ldc "/var/tmp/myservice.sock"
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 2: aload 2
aload 3
invokedynamic handle()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
examples/CoreExamples.lambda$28(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.net.NetClient.connect:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/CoreExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 netClient Lio/vertx/core/net/NetClient;
2 4 3 addr Lio/vertx/core/net/SocketAddress;
MethodParameters:
Name Flags
vertx
public void httpClientWithDomainSockets(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
astore 2
start local 2 1: ldc "/var/tmp/myservice.sock"
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 2: aload 2
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
aload 3
sipush 8080
ldc "localhost"
ldc "/"
invokedynamic handle()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
examples/CoreExamples.lambda$29(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Lio/vertx/core/net/SocketAddress;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
3: invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/CoreExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
1 5 2 httpClient Lio/vertx/core/http/HttpClient;
2 5 3 addr Lio/vertx/core/net/SocketAddress;
MethodParameters:
Name Flags
vertx
private static void lambda$0(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "timer fired!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/Long;
private static void lambda$1(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "hello world!"
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 request Lio/vertx/core/http/HttpServerRequest;
private void lambda$2(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield examples.CoreExamples.someAPI:Lexamples/CoreExamples$BlockingAPI;
ldc "hello"
invokevirtual examples.CoreExamples$BlockingAPI.blockingMethod:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 2 2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 promise Lio/vertx/core/Promise<Ljava/lang/Object;>;
1 2 2 result Ljava/lang/String;
private static void lambda$3(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "The result is: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 res Lio/vertx/core/AsyncResult<Ljava/lang/Object;>;
private void lambda$4(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield examples.CoreExamples.someAPI:Lexamples/CoreExamples$BlockingAPI;
ldc "hello"
invokevirtual examples.CoreExamples$BlockingAPI.blockingMethod:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 2 2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/CoreExamples;
0 3 1 promise Lio/vertx/core/Promise<Ljava/lang/Object;>;
1 2 2 result Ljava/lang/String;
private static void lambda$5(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "The result is: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 res Lio/vertx/core/AsyncResult<Ljava/lang/Object;>;
private static void lambda$6(io.vertx.core.http.HttpServer, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/http/HttpServer;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.http.HttpServer.listen:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 promise Lio/vertx/core/Promise<Lio/vertx/core/http/HttpServer;>;
private static void lambda$7(io.vertx.core.net.NetServer, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/net/NetServer;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.net.NetServer.listen:(Lio/vertx/core/Handler;)Lio/vertx/core/net/NetServer;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 promise Lio/vertx/core/Promise<Lio/vertx/core/net/NetServer;>;
private static void lambda$8(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
private static void lambda$9(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
private static void lambda$10(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
private static void lambda$11(io.vertx.core.file.FileSystem, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
ldc "/foo"
aload 1
invokeinterface io.vertx.core.file.FileSystem.createFile:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
private static io.vertx.core.Future lambda$12(io.vertx.core.file.FileSystem, java.lang.Void);
descriptor: (Lio/vertx/core/file/FileSystem;Ljava/lang/Void;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokedynamic handle(Lio/vertx/core/file/FileSystem;)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
examples/CoreExamples.lambda$13(Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static io.vertx.core.Future lambda$14(io.vertx.core.file.FileSystem, java.lang.Void);
descriptor: (Lio/vertx/core/file/FileSystem;Ljava/lang/Void;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokedynamic handle(Lio/vertx/core/file/FileSystem;)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
examples/CoreExamples.lambda$15(Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokestatic io.vertx.core.Future.future:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static void lambda$16(java.lang.String, io.vertx.core.Vertx, io.vertx.core.eventbus.Message);
descriptor: (Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/core/eventbus/Message;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 1
aload 0
invokedynamic handle(Ljava/lang/String;)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
examples/CoreExamples.lambda$17(Ljava/lang/String;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
1: iconst_0
invokedynamic handle()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
examples/CoreExamples.lambda$18(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
2: invokeinterface io.vertx.core.Vertx.executeBlocking:(Lio/vertx/core/Handler;ZLio/vertx/core/Handler;)V
3: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 msg Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;
private static void lambda$19(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Deployment id is: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Deployment failed!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 res Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
private static void lambda$20(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Undeployed ok"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Undeploy failed!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 res Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private static void lambda$21(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "And one second later this is printed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/Long;
private static void lambda$22(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "And every second this is printed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/Long;
private static void lambda$23(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "This will be executed asynchronously in the same context"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Ljava/lang/Void;
private static void lambda$24(io.vertx.core.Context, java.lang.Void);
descriptor: (Lio/vertx/core/Context;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
ldc "data"
invokeinterface io.vertx.core.Context.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$25(io.vertx.core.net.NetSocket);
descriptor: (Lio/vertx/core/net/NetSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
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 so Lio/vertx/core/net/NetSocket;
private static void lambda$26(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
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 req Lio/vertx/core/http/HttpServerRequest;
private static void lambda$27(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifne 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.printStackTrace:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;
private static void lambda$28(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifne 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.printStackTrace:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;
private static void lambda$29(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
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 resp Lio/vertx/core/http/HttpClientResponse;
private static void lambda$13(io.vertx.core.file.FileSystem, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 0
ldc "/foo"
invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.file.FileSystem.writeFile:(Ljava/lang/String;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
private static void lambda$15(io.vertx.core.file.FileSystem, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/file/FileSystem;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 0
ldc "/foo"
ldc "/bar"
aload 1
invokeinterface io.vertx.core.file.FileSystem.move:(Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
private static void lambda$17(java.lang.String, io.vertx.core.Promise);
descriptor: (Ljava/lang/String;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 promise Lio/vertx/core/Promise<Ljava/lang/Object;>;
private static void lambda$18(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
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 ar Lio/vertx/core/AsyncResult<Ljava/lang/Object;>;
}
SourceFile: "CoreExamples.java"
NestMembers:
examples.CoreExamples$BlockingAPI examples.CoreExamples$MyVerticle
InnerClasses:
BlockingAPI = examples.CoreExamples$BlockingAPI of examples.CoreExamples
MyVerticle = examples.CoreExamples$MyVerticle of examples.CoreExamples
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles