public abstract class org.apache.cassandra.db.monitoring.MonitorableImpl implements org.apache.cassandra.db.monitoring.Monitorable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.db.monitoring.MonitorableImpl
super_class: java.lang.Object
{
private org.apache.cassandra.db.monitoring.MonitoringState state;
descriptor: Lorg/apache/cassandra/db/monitoring/MonitoringState;
flags: (0x0002) ACC_PRIVATE
private boolean isSlow;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long constructionTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long timeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long slowTimeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean isCrossNode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.monitoring.MonitorableImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
2: aload 0
getstatic org.apache.cassandra.db.monitoring.MonitoringState.IN_PROGRESS:Lorg/apache/cassandra/db/monitoring/MonitoringState;
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
3: aload 0
iconst_0
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.isSlow:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public void setMonitoringTime(long, boolean, long, long);
descriptor: (JZJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 6 0: getstatic org.apache.cassandra.db.monitoring.MonitorableImpl.$assertionsDisabled:Z
ifne 1
lload 1
lconst_0
lcmp
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
2: aload 0
iload 3
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.isCrossNode:Z
3: aload 0
lload 4
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.timeout:J
4: aload 0
lload 6
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.slowTimeout:J
5: return
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
0 6 1 constructionTime J
0 6 3 isCrossNode Z
0 6 4 timeout J
0 6 6 slowTimeout J
MethodParameters:
Name Flags
constructionTime
isCrossNode
timeout
slowTimeout
public long constructionTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public long timeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.timeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean isCrossNode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.isCrossNode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public long slowTimeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.slowTimeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean isInProgress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.monitoring.MonitorableImpl.check:()V
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.IN_PROGRESS:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean isAborted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.monitoring.MonitorableImpl.check:()V
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.ABORTED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean isCompleted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.monitoring.MonitorableImpl.check:()V
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.COMPLETED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean isSlow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.monitoring.MonitorableImpl.check:()V
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.isSlow:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean abort();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.IN_PROGRESS:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 5
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
lconst_0
lcmp
iflt 3
2: aload 0
invokestatic org.apache.cassandra.db.monitoring.ApproximateTime.currentTimeMillis:()J
invokestatic org.apache.cassandra.db.monitoring.MonitoringTask.addFailedOperation:(Lorg/apache/cassandra/db/monitoring/Monitorable;J)V
3: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.db.monitoring.MonitoringState.ABORTED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.ABORTED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
public boolean complete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.IN_PROGRESS:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 5
1: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.isSlow:Z
ifeq 3
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.slowTimeout:J
lconst_0
lcmp
ifle 3
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
lconst_0
lcmp
iflt 3
2: aload 0
invokestatic org.apache.cassandra.db.monitoring.ApproximateTime.currentTimeMillis:()J
invokestatic org.apache.cassandra.db.monitoring.MonitoringTask.addSlowOperation:(Lorg/apache/cassandra/db/monitoring/Monitorable;J)V
3: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.db.monitoring.MonitoringState.COMPLETED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.COMPLETED:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
private void check();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
lconst_0
lcmp
iflt 1
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.state:Lorg/apache/cassandra/db/monitoring/MonitoringState;
getstatic org.apache.cassandra.db.monitoring.MonitoringState.IN_PROGRESS:Lorg/apache/cassandra/db/monitoring/MonitoringState;
if_acmpeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.monitoring.ApproximateTime.currentTimeMillis:()J
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.constructionTime:J
lsub
lstore 1
start local 1 3: lload 1
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.slowTimeout:J
lcmp
iflt 5
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.isSlow:Z
ifne 5
4: aload 0
iconst_1
putfield org.apache.cassandra.db.monitoring.MonitorableImpl.isSlow:Z
5: StackMap locals: long
StackMap stack:
lload 1
aload 0
getfield org.apache.cassandra.db.monitoring.MonitorableImpl.timeout:J
lcmp
iflt 7
6: aload 0
invokevirtual org.apache.cassandra.db.monitoring.MonitorableImpl.abort:()Z
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/monitoring/MonitorableImpl;
3 8 1 elapsed J
}
SourceFile: "MonitorableImpl.java"