public class io.vertx.core.shareddata.impl.SharedDataImpl implements io.vertx.core.shareddata.SharedData
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.shareddata.impl.SharedDataImpl
super_class: java.lang.Object
{
private static final long DEFAULT_LOCK_TIMEOUT;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.cluster.ClusterManager clusterManager;
descriptor: Lio/vertx/core/spi/cluster/ClusterManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.shareddata.impl.LocalAsyncLocks localAsyncLocks;
descriptor: Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentMap<java.lang.String, io.vertx.core.shareddata.impl.LocalAsyncMapImpl<?, ?>> localAsyncMaps;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl<**>;>;
private final java.util.concurrent.ConcurrentMap<java.lang.String, io.vertx.core.shareddata.Counter> localCounters;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lio/vertx/core/shareddata/Counter;>;
private final java.util.concurrent.ConcurrentMap<java.lang.String, io.vertx.core.shareddata.LocalMap<?, ?>> localMaps;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lio/vertx/core/shareddata/LocalMap<**>;>;
public void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.spi.cluster.ClusterManager);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/spi/cluster/ClusterManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.shareddata.impl.SharedDataImpl.localAsyncMaps:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.shareddata.impl.SharedDataImpl.localCounters:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.shareddata.impl.SharedDataImpl.localMaps:Ljava/util/concurrent/ConcurrentMap;
4: aload 0
aload 1
putfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
5: aload 0
aload 2
putfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
6: aload 0
new io.vertx.core.shareddata.impl.LocalAsyncLocks
dup
invokespecial io.vertx.core.shareddata.impl.LocalAsyncLocks.<init>:()V
putfield io.vertx.core.shareddata.impl.SharedDataImpl.localAsyncLocks:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 8 1 vertx Lio/vertx/core/impl/VertxInternal;
0 8 2 clusterManager Lio/vertx/core/spi/cluster/ClusterManager;
MethodParameters:
Name Flags
vertx
clusterManager
public <K, V> void getClusterWideMap(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.AsyncMap<K, V>>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)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
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "Can't get cluster wide map if not clustered"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
aload 1
aload 2
invokedynamic handle(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/shareddata/impl/SharedDataImpl.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.spi.cluster.ClusterManager.getAsyncMap:(Ljava/lang/String;Lio/vertx/core/Handler;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 6 1 name Ljava/lang/String;
0 6 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public <K, V> void getAsyncMap(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.AsyncMap<K, V>>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)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
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 5
3: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalAsyncMap:(Ljava/lang/String;Lio/vertx/core/Handler;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
aload 1
aload 2
invokedynamic handle(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/shareddata/impl/SharedDataImpl.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.spi.cluster.ClusterManager.getAsyncMap:(Ljava/lang/String;Lio/vertx/core/Handler;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 7 1 name Ljava/lang/String;
0 7 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public void getLock(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
ldc 10000
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLockWithTimeout:(Ljava/lang/String;JLio/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 Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 4 1 name Ljava/lang/String;
0 4 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public void getLockWithTimeout(java.lang.String, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>>);
descriptor: (Ljava/lang/String;JLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 4
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: lload 2
lconst_0
lcmp
iflt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ldc "timeout must be >= 0"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
5: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 8
6: aload 0
aload 1
lload 2
aload 4
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;JLio/vertx/core/Handler;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
aload 1
lload 2
aload 4
invokeinterface io.vertx.core.spi.cluster.ClusterManager.getLockWithTimeout:(Ljava/lang/String;JLio/vertx/core/Handler;)V
9: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 10 1 name Ljava/lang/String;
0 10 2 timeout J
0 10 4 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
Signature: (Ljava/lang/String;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;)V
MethodParameters:
Name Flags
name
timeout
resultHandler
public void getLocalLock(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
ldc 10000
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;JLio/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 Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 4 1 name Ljava/lang/String;
0 4 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public void getLocalLockWithTimeout(java.lang.String, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>>);
descriptor: (Ljava/lang/String;JLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 4
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: lload 2
lconst_0
lcmp
iflt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ldc "timeout must be >= 0"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
5: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.localAsyncLocks:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
aload 1
lload 2
aload 4
invokevirtual io.vertx.core.shareddata.impl.LocalAsyncLocks.acquire:(Lio/vertx/core/Context;Ljava/lang/String;JLio/vertx/core/Handler;)V
6: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 7 1 name Ljava/lang/String;
0 7 2 timeout J
0 7 4 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
Signature: (Ljava/lang/String;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;)V
MethodParameters:
Name Flags
name
timeout
resultHandler
public void getCounter(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Counter>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)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
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 5
3: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalCounter:(Ljava/lang/String;Lio/vertx/core/Handler;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
aload 1
aload 2
invokeinterface io.vertx.core.spi.cluster.ClusterManager.getCounter:(Ljava/lang/String;Lio/vertx/core/Handler;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 7 1 name Ljava/lang/String;
0 7 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Counter;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Counter;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public <K, V> io.vertx.core.shareddata.LocalMap<K, V> getLocalMap(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.localMaps:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 0
invokedynamic apply(Lio/vertx/core/shareddata/impl/SharedDataImpl;)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;
io/vertx/core/shareddata/impl/SharedDataImpl.lambda$2(Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap; (7)
(Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast io.vertx.core.shareddata.LocalMap
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 1 1 name Ljava/lang/String;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap<TK;TV;>;
MethodParameters:
Name Flags
name
public <K, V> void getLocalAsyncMap(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.AsyncMap<K, V>>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.localAsyncMaps:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 0
invokedynamic apply(Lio/vertx/core/shareddata/impl/SharedDataImpl;)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;
io/vertx/core/shareddata/impl/SharedDataImpl.lambda$3(Ljava/lang/String;)Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl; (7)
(Ljava/lang/String;)Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast io.vertx.core.shareddata.impl.LocalAsyncMapImpl
astore 3
start local 3 1: aload 2
new io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap
dup
aload 3
invokespecial io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap.<init>:(Lio/vertx/core/shareddata/AsyncMap;)V
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 3 1 name Ljava/lang/String;
0 3 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;
1 3 3 asyncMap Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl<TK;TV;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
public void getLocalCounter(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Counter>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.localCounters:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 0
invokedynamic apply(Lio/vertx/core/shareddata/impl/SharedDataImpl;)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;
io/vertx/core/shareddata/impl/SharedDataImpl.lambda$4(Ljava/lang/String;)Lio/vertx/core/shareddata/Counter; (7)
(Ljava/lang/String;)Lio/vertx/core/shareddata/Counter;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast io.vertx.core.shareddata.Counter
astore 3
start local 3 1: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 4
start local 4 2: aload 4
aload 2
aload 3
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/shareddata/Counter;)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/shareddata/impl/SharedDataImpl.lambda$5(Lio/vertx/core/Handler;Lio/vertx/core/shareddata/Counter;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
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 Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 4 1 name Ljava/lang/String;
0 4 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Counter;>;>;
1 4 3 counter Lio/vertx/core/shareddata/Counter;
2 4 4 context Lio/vertx/core/Context;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Counter;>;>;)V
MethodParameters:
Name Flags
name
resultHandler
private static void checkType(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Cannot put null in key or value of async map"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 3: aload 1
ldc Ljava/lang/Integer;
if_acmpeq 11
aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpeq 11
4: aload 1
ldc Ljava/lang/Long;
if_acmpeq 11
aload 1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpeq 11
5: aload 1
ldc Ljava/lang/Short;
if_acmpeq 11
aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpeq 11
6: aload 1
ldc Ljava/lang/Float;
if_acmpeq 11
aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpeq 11
7: aload 1
ldc Ljava/lang/Double;
if_acmpeq 11
aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpeq 11
8: aload 1
ldc Ljava/lang/Boolean;
if_acmpeq 11
aload 1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpeq 11
9: aload 1
ldc Ljava/lang/Byte;
if_acmpeq 11
aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpeq 11
10: aload 1
ldc Ljava/lang/String;
if_acmpeq 11
aload 1
ldc [B
if_acmpne 12
11: StackMap locals: java.lang.Class
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 0
instanceof io.vertx.core.shareddata.impl.ClusterSerializable
ifeq 14
13: return
14: StackMap locals:
StackMap stack:
aload 0
instanceof java.io.Serializable
ifeq 16
15: return
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to put in async map"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 obj Ljava/lang/Object;
3 17 1 clazz Ljava/lang/Class<*>;
MethodParameters:
Name Flags
obj
private static void lambda$0(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
new io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap
dup
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.shareddata.AsyncMap
invokespecial io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap.<init>:(Lio/vertx/core/shareddata/AsyncMap;)V
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
private static void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
new io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap
dup
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.shareddata.AsyncMap
invokespecial io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap.<init>:(Lio/vertx/core/shareddata/AsyncMap;)V
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
private io.vertx.core.shareddata.LocalMap lambda$2(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.shareddata.impl.LocalMapImpl
dup
aload 1
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.localMaps:Ljava/util/concurrent/ConcurrentMap;
invokespecial io.vertx.core.shareddata.impl.LocalMapImpl.<init>:(Ljava/lang/String;Ljava/util/concurrent/ConcurrentMap;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 1 1 n Ljava/lang/String;
private io.vertx.core.shareddata.impl.LocalAsyncMapImpl lambda$3(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.shareddata.impl.LocalAsyncMapImpl
dup
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokespecial io.vertx.core.shareddata.impl.LocalAsyncMapImpl.<init>:(Lio/vertx/core/Vertx;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 1 1 n Ljava/lang/String;
private io.vertx.core.shareddata.Counter lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/shareddata/Counter;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.shareddata.impl.AsynchronousCounter
dup
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokespecial io.vertx.core.shareddata.impl.AsynchronousCounter.<init>:(Lio/vertx/core/impl/VertxInternal;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 1 1 n Ljava/lang/String;
private static void lambda$5(io.vertx.core.Handler, io.vertx.core.shareddata.Counter, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/shareddata/Counter;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
}
SourceFile: "SharedDataImpl.java"
NestMembers:
io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap
InnerClasses:
public final WrappedAsyncMap = io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap of io.vertx.core.shareddata.impl.SharedDataImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles