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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getClusterWideMap:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
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;>;>;>;
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> io.vertx.core.Future<io.vertx.core.shareddata.AsyncMap<K, V>> getClusterWideMap(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 3
2: 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
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 4: 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.getAsyncMap:(Ljava/lang/String;Lio/vertx/core/Promise;)V
5: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokedynamic apply()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$WrappedAsyncMap.<init>(Lio/vertx/core/shareddata/AsyncMap;)V (8)
(Lio/vertx/core/shareddata/AsyncMap;)Lio/vertx/core/shareddata/AsyncMap;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
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;
4 6 2 promise Lio/vertx/core/Promise<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
MethodParameters:
Name Flags
name
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getAsyncMap:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
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;>;>;>;
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> io.vertx.core.Future<io.vertx.core.shareddata.AsyncMap<K, V>> getAsyncMap(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 3
2: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalAsyncMap:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 4: 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.getAsyncMap:(Ljava/lang/String;Lio/vertx/core/Promise;)V
5: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokedynamic apply()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$WrappedAsyncMap.<init>(Lio/vertx/core/shareddata/AsyncMap;)V (8)
(Lio/vertx/core/shareddata/AsyncMap;)Lio/vertx/core/shareddata/AsyncMap;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
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;
4 6 2 promise Lio/vertx/core/Promise<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
MethodParameters:
Name Flags
name
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 0
aload 1
ldc 10000
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLockWithTimeout:(Ljava/lang/String;JLio/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 Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 2 1 name Ljava/lang/String;
0 2 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 io.vertx.core.Future<io.vertx.core.shareddata.Lock> getLock(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc 10000
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLockWithTimeout:(Ljava/lang/String;J)Lio/vertx/core/Future;
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: (Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Lock;>;
MethodParameters:
Name Flags
name
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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
lload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLockWithTimeout:(Ljava/lang/String;J)Lio/vertx/core/Future;
aload 4
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
end local 4 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 timeout J
0 3 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 io.vertx.core.Future<io.vertx.core.shareddata.Lock> getLockWithTimeout(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, 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: lload 2
lconst_0
lcmp
iflt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "timeout must be >= 0"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
4: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 6
5: aload 0
aload 1
lload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;J)Lio/vertx/core/Future;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 4
start local 4 7: 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/Promise;)V
8: aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 9 1 name Ljava/lang/String;
0 9 2 timeout J
7 9 4 promise Lio/vertx/core/Promise<Lio/vertx/core/shareddata/Lock;>;
Signature: (Ljava/lang/String;J)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Lock;>;
MethodParameters:
Name Flags
name
timeout
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 0
aload 1
ldc 10000
aload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;JLio/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 Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 2 1 name Ljava/lang/String;
0 2 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 io.vertx.core.Future<io.vertx.core.shareddata.Lock> getLocalLock(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc 10000
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;J)Lio/vertx/core/Future;
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: (Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Lock;>;
MethodParameters:
Name Flags
name
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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
lload 2
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalLockWithTimeout:(Ljava/lang/String;J)Lio/vertx/core/Future;
aload 4
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
end local 4 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 timeout J
0 3 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 io.vertx.core.Future<io.vertx.core.shareddata.Lock> getLocalLockWithTimeout(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, 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: lload 2
lconst_0
lcmp
iflt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "timeout must be >= 0"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
4: 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
invokevirtual io.vertx.core.shareddata.impl.LocalAsyncLocks.acquire:(Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;J)Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/shareddata/impl/SharedDataImpl;
0 5 1 name Ljava/lang/String;
0 5 2 timeout J
Signature: (Ljava/lang/String;J)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Lock;>;
MethodParameters:
Name Flags
name
timeout
public io.vertx.core.Future<io.vertx.core.shareddata.Counter> getCounter(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.clusterManager:Lio/vertx/core/spi/cluster/ClusterManager;
ifnonnull 3
2: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalCounter:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.SharedDataImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 4: 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/Promise;)V
5: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
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;
4 6 2 promise Lio/vertx/core/Promise<Lio/vertx/core/shareddata/Counter;>;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Counter;>;
MethodParameters:
Name Flags
name
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getCounter:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
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/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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalAsyncMap:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
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;>;>;>;
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> io.vertx.core.Future<io.vertx.core.shareddata.AsyncMap<K, V>> getLocalAsyncMap(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 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 2
start local 2 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 3
start local 3 2: aload 3
new io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap
dup
aload 2
invokespecial io.vertx.core.shareddata.impl.SharedDataImpl$WrappedAsyncMap.<init>:(Lio/vertx/core/shareddata/AsyncMap;)V
invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
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;
1 3 2 asyncMap Lio/vertx/core/shareddata/impl/LocalAsyncMapImpl<TK;TV;>;
2 3 3 context Lio/vertx/core/impl/ContextInternal;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/AsyncMap<TK;TV;>;>;
MethodParameters:
Name Flags
name
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resultHandler"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.shareddata.impl.SharedDataImpl.getLocalCounter:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
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/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 io.vertx.core.Future<io.vertx.core.shareddata.Counter> getLocalCounter(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 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 2
start local 2 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 3
start local 3 2: aload 3
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
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;
1 3 2 counter Lio/vertx/core/shareddata/Counter;
2 3 3 context Lio/vertx/core/impl/ContextInternal;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Lio/vertx/core/shareddata/Counter;>;
MethodParameters:
Name Flags
name
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 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/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 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;
}
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