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.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0010) ACC_FINAL
final java.lang.String lockName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>> handler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
final java.util.concurrent.atomic.AtomicReference<io.vertx.core.shareddata.impl.LocalAsyncLocks$Status> status;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;>;
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.Context, java.lang.String, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.shareddata.Lock>>);
descriptor: (Lio/vertx/core/shareddata/impl/LocalAsyncLocks;Lio/vertx/core/Context;Ljava/lang/String;JLio/vertx/core/Handler;)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 2
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/Context;
2: aload 0
aload 3
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.lockName:Ljava/lang/String;
3: aload 0
aload 6
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.handler:Lio/vertx/core/Handler;
4: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.WAITING:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.status:Ljava/util/concurrent/atomic/AtomicReference;
5: aload 0
lload 4
ldc 9223372036854775807
lcmp
ifeq 6
aload 2
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
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.Vertx.setTimer:(JLio/vertx/core/Handler;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
goto 7
StackMap locals: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter io.vertx.core.shareddata.impl.LocalAsyncLocks io.vertx.core.Context java.lang.String long io.vertx.core.Handler
StackMap stack: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter
6: aconst_null
StackMap locals: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter io.vertx.core.shareddata.impl.LocalAsyncLocks io.vertx.core.Context java.lang.String long io.vertx.core.Handler
StackMap stack: io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter java.lang.Long
7: putfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
8: return
end local 6 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
0 9 2 context Lio/vertx/core/Context;
0 9 3 lockName Ljava/lang/String;
0 9 4 timeout J
0 9 6 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;
Signature: (Lio/vertx/core/Context;Ljava/lang/String;JLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/shareddata/Lock;>;>;)V
MethodParameters:
Name Flags
this$0 final
context
lockName
timeout
handler
boolean isWaiting();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.status:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.WAITING:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
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.status:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.WAITING:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.TIMED_OUT:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.handler:Lio/vertx/core/Handler;
ldc "Timed out waiting to get lock"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
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=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.status:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.WAITING:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
getstatic io.vertx.core.shareddata.impl.LocalAsyncLocks$Status.ACQUIRED:Lio/vertx/core/shareddata/impl/LocalAsyncLocks$Status;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
1: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
ifnull 3
2: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.timerId:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
invokeinterface io.vertx.core.Vertx.cancelTimer:(J)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/Context;
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$1(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.context:Lio/vertx/core/Context;
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$2(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 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 void lambda$1(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.shareddata.impl.LocalAsyncLocks$LockWaiter.handler:Lio/vertx/core/Handler;
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
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/shareddata/impl/LocalAsyncLocks$LockWaiter;
0 1 1 v Ljava/lang/Void;
private void lambda$2(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: 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
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 v Ljava/lang/Void;
}
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
private final Status = io.vertx.core.shareddata.impl.LocalAsyncLocks$Status of io.vertx.core.shareddata.impl.LocalAsyncLocks
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles