class org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal extends org.apache.cassandra.utils.concurrent.WaitQueue$AbstractSignal
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal
super_class: org.apache.cassandra.utils.concurrent.WaitQueue$AbstractSignal
{
private volatile java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
volatile int state;
descriptor: I
flags: (0x0040) ACC_VOLATILE
final org.apache.cassandra.utils.concurrent.WaitQueue this$0;
descriptor: Lorg/apache/cassandra/utils/concurrent/WaitQueue;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.apache.cassandra.utils.concurrent.WaitQueue);
descriptor: (Lorg/apache/cassandra/utils/concurrent/WaitQueue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.this$0:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
aload 0
invokespecial org.apache.cassandra.utils.concurrent.WaitQueue$AbstractSignal.<init>:()V
1: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.thread:Ljava/lang/Thread;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
MethodParameters:
Name Flags
this$0 final
public boolean isSignalled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.state:I
iconst_1
if_icmpne 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 Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.state:I
iconst_m1
if_icmpne 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 Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
public boolean isSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.state:I
ifeq 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 Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
private java.lang.Thread signal();
descriptor: ()Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.isSet:()Z
ifne 5
getstatic org.apache.cassandra.utils.concurrent.WaitQueue.signalledUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 5
1: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.thread:Ljava/lang/Thread;
astore 1
start local 1 2: aload 1
invokestatic java.util.concurrent.locks.LockSupport.unpark:(Ljava/lang/Thread;)V
3: aload 0
aconst_null
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.thread:Ljava/lang/Thread;
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
2 5 1 thread Ljava/lang/Thread;
public boolean checkAndClear();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.isSet:()Z
ifne 4
getstatic org.apache.cassandra.utils.concurrent.WaitQueue.signalledUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_0
iconst_m1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 4
1: aload 0
aconst_null
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.thread:Ljava/lang/Thread;
2: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.this$0:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue.cleanUpCancelled:()V
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.isCancelled:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.concurrent.WaitQueue.signalledUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_0
iconst_m1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifne 5
3: aload 0
iconst_m1
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.state:I
4: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.this$0:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue.signal:()Z
pop
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.thread:Ljava/lang/Thread;
6: aload 0
getfield org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal.this$0:Lorg/apache/cassandra/utils/concurrent/WaitQueue;
invokevirtual org.apache.cassandra.utils.concurrent.WaitQueue.cleanUpCancelled:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/concurrent/WaitQueue$RegisteredSignal;
}
SourceFile: "WaitQueue.java"
NestHost: org.apache.cassandra.utils.concurrent.WaitQueue
InnerClasses:
public abstract AbstractSignal = org.apache.cassandra.utils.concurrent.WaitQueue$AbstractSignal of org.apache.cassandra.utils.concurrent.WaitQueue
private RegisteredSignal = org.apache.cassandra.utils.concurrent.WaitQueue$RegisteredSignal of org.apache.cassandra.utils.concurrent.WaitQueue