class io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter
super_class: java.lang.Object
{
final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0010) ACC_FINAL
final java.lang.String lockName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final io.vertx.core.Promise<io.vertx.core.shareddata.Lock> promise;
descriptor: Lio/vertx/core/Promise;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Promise<Lio/vertx/core/shareddata/Lock;>;
final java.lang.Long timerId;
descriptor: Ljava/lang/Long;
flags: (0x0010) ACC_FINAL
final io.vertx.core.shareddata.impl.LocalAsyncLocks this$0;
descriptor: Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.impl.ContextInternal, java.lang.String, long, io.vertx.core.Promise<io.vertx.core.shareddata.Lock>);
descriptor: (Lio/vertx/core/shareddata/impl/LocalAsyncLocks;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;JLio/vertx/core/Promise;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 6 0: aload 0
aload 1
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.this$0:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.lockName:Ljava/lang/String;
2: aload 0
aload 6
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.promise:Lio/vertx/core/Promise;
3: aload 0
aload 2
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/impl/ContextInternal;
4: aload 0
lload 4
ldc 9223372036854775807
lcmp
ifeq 5
aload 2
lload 4
aload 0
invokedynamic handle(Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;)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/LocalAsyncLocks$LockWaiter.lambda$0(Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.impl.ContextInternal.setTimer:(JLio/vertx/core/Handler;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
goto 6
StackMap locals: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter io.vertx.core.shareddata.impl.LocalAsyncLocks io.vertx.core.impl.ContextInternal java.lang.String long io.vertx.core.Promise
StackMap stack: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter
5: aconst_null
StackMap locals: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter io.vertx.core.shareddata.impl.LocalAsyncLocks io.vertx.core.impl.ContextInternal java.lang.String long io.vertx.core.Promise
StackMap stack: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter java.lang.Long
6: putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
7: return
end local 6 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
0 8 2 context Lio/vertx/core/impl/ContextInternal;
0 8 3 lockName Ljava/lang/String;
0 8 4 timeout J
0 8 6 promise Lio/vertx/core/Promise<Lio/vertx/core/shareddata/Lock;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;JLio/vertx/core/Promise<Lio/vertx/core/shareddata/Lock;>;)V
MethodParameters:
Name Flags
this$0 final
context
lockName
timeout
promise
void timeout();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.this$0:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks.waitersMap:Ljava/util/concurrent/ConcurrentMap;
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.lockName:Ljava/lang/String;
aload 0
invokedynamic apply(Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;)Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
io/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter.lambda$1(Ljava/lang/String;Ljava/util/List;)Ljava/util/List; (7)
(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
invokeinterface java.util.concurrent.ConcurrentMap.compute:(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.promise:Lio/vertx/core/Promise;
ldc "Timed out waiting to get lock"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
void acquireLock();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
ifnull 1
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
invokeinterface io.vertx.core.impl.VertxInternal.cancelTimer:(J)Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.promise:Lio/vertx/core/Promise;
new io.vertx.core.shareddata.impl.LocalAsyncLocks$AsyncLock
dup
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.this$0:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.lockName:Ljava/lang/String;
invokespecial io.vertx.core.shareddata.impl.LocalAsyncLocks$AsyncLock.<init>:(Lio/vertx/core/shareddata/impl/LocalAsyncLocks;Ljava/lang/String;)V
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.this$0:Lio/vertx/core/shareddata/impl/LocalAsyncLocks;
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.lockName:Ljava/lang/String;
invokevirtual io.vertx.core.shareddata.impl.LocalAsyncLocks.nextWaiter:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
private void lambda$0(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timeout:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
0 1 1 tid Ljava/lang/Long;
private java.util.List lambda$1(java.lang.String, java.util.List);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
aload 2
aload 0
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
dup
istore 3
start local 3 1: iconst_m1
if_icmpne 3
end local 3 2: StackMap locals:
StackMap stack:
aload 2
areturn
start local 3 3: StackMap locals: int
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
istore 4
start local 4 6: new java.util.ArrayList
dup
iload 4
iconst_1
isub
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 7: iload 3
ifle 9
8: aload 5
aload 2
iconst_0
iload 3
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
9: StackMap locals: int java.util.List
StackMap stack:
iload 3
iconst_1
iadd
iload 4
if_icmpge 11
10: aload 5
aload 2
iload 3
iconst_1
iadd
iload 4
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
11: StackMap locals:
StackMap stack:
aload 5
areturn
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 12 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
0 12 1 s Ljava/lang/String;
0 12 2 list Ljava/util/List<Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;>;
1 2 3 idx I
3 12 3 idx I
6 12 4 size I
7 12 5 n Ljava/util/List<Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;>;
}
SourceFile: "LocalAsyncLocks.java"
NestHost: io.vertx.core.shareddata.impl.LocalAsyncLocks
InnerClasses:
private AsyncLock = io.vertx.core.shareddata.impl.LocalAsyncLocks$AsyncLock of io.vertx.core.shareddata.impl.LocalAsyncLocks
private LockWaiter = io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter of io.vertx.core.shareddata.impl.LocalAsyncLocks
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles