public class org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement extends java.util.concurrent.atomic.AtomicLong
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement
super_class: java.util.concurrent.atomic.AtomicLong
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final java.lang.String statement;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long minIntervalNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.utils.NoSpamLogger this$0;
descriptor: Lorg/apache/cassandra/utils/NoSpamLogger;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$utils$NoSpamLogger$Level;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(org.apache.cassandra.utils.NoSpamLogger, java.lang.String, long);
descriptor: (Lorg/apache/cassandra/utils/NoSpamLogger;Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.this$0:Lorg/apache/cassandra/utils/NoSpamLogger;
1: aload 0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
2: aload 0
aload 2
putfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.statement:Ljava/lang/String;
3: aload 0
lload 3
putfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.minIntervalNanos:J
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 5 2 statement Ljava/lang/String;
0 5 3 minIntervalNanos J
MethodParameters:
Name Flags
this$0 final
statement
minIntervalNanos
private boolean shouldLog(long);
descriptor: (J)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.get:()J
lstore 3
start local 3 1: lload 1
lload 3
lsub
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.minIntervalNanos:J
lcmp
iflt 2
aload 0
lload 3
lload 1
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.compareAndSet:(JJ)Z
ifeq 2
iconst_1
ireturn
StackMap locals: long
StackMap stack:
2: iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 3 1 nowNanos J
1 3 3 expected J
MethodParameters:
Name Flags
nowNanos
public boolean log(org.apache.cassandra.utils.NoSpamLogger$Level, long, java.lang.Object[]);
descriptor: (Lorg/apache/cassandra/utils/NoSpamLogger$Level;J[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
lload 2
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.shouldLog:(J)Z
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.$SWITCH_TABLE$org$apache$cassandra$utils$NoSpamLogger$Level:()[I
aload 1
invokevirtual org.apache.cassandra.utils.NoSpamLogger$Level.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 4
3: 6
default: 8
}
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.this$0:Lorg/apache/cassandra/utils/NoSpamLogger;
getfield org.apache.cassandra.utils.NoSpamLogger.wrapped:Lorg/slf4j/Logger;
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.statement:Ljava/lang/String;
aload 4
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.this$0:Lorg/apache/cassandra/utils/NoSpamLogger;
getfield org.apache.cassandra.utils.NoSpamLogger.wrapped:Lorg/slf4j/Logger;
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.statement:Ljava/lang/String;
aload 4
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
5: goto 9
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.this$0:Lorg/apache/cassandra/utils/NoSpamLogger;
getfield org.apache.cassandra.utils.NoSpamLogger.wrapped:Lorg/slf4j/Logger;
aload 0
getfield org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.statement:Ljava/lang/String;
aload 4
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;[Ljava/lang/Object;)V
7: goto 9
8: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 10 1 l Lorg/apache/cassandra/utils/NoSpamLogger$Level;
0 10 2 nowNanos J
0 10 4 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
l
nowNanos
objects
public boolean info(long, java.lang.Object[]);
descriptor: (J[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.INFO:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
lload 1
aload 3
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.log:(Lorg/apache/cassandra/utils/NoSpamLogger$Level;J[Ljava/lang/Object;)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 nowNanos J
0 1 3 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
nowNanos
objects
public boolean info(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger.CLOCK:Lorg/apache/cassandra/utils/NoSpamLogger$Clock;
invokeinterface org.apache.cassandra.utils.NoSpamLogger$Clock.nanoTime:()J
aload 1
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.info:(J[Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
public boolean warn(long, java.lang.Object[]);
descriptor: (J[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.WARN:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
lload 1
aload 3
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.log:(Lorg/apache/cassandra/utils/NoSpamLogger$Level;J[Ljava/lang/Object;)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 nowNanos J
0 1 3 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
nowNanos
objects
public boolean warn(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger.CLOCK:Lorg/apache/cassandra/utils/NoSpamLogger$Clock;
invokeinterface org.apache.cassandra.utils.NoSpamLogger$Clock.nanoTime:()J
aload 1
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.warn:(J[Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
public boolean error(long, java.lang.Object[]);
descriptor: (J[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.ERROR:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
lload 1
aload 3
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.log:(Lorg/apache/cassandra/utils/NoSpamLogger$Level;J[Ljava/lang/Object;)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 nowNanos J
0 1 3 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
nowNanos
objects
public boolean error(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger.CLOCK:Lorg/apache/cassandra/utils/NoSpamLogger$Clock;
invokeinterface org.apache.cassandra.utils.NoSpamLogger$Clock.nanoTime:()J
aload 1
invokevirtual org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.error:(J[Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/NoSpamLogger$NoSpamLogStatement;
0 1 1 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
static int[] $SWITCH_TABLE$org$apache$cassandra$utils$NoSpamLogger$Level();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.$SWITCH_TABLE$org$apache$cassandra$utils$NoSpamLogger$Level:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.utils.NoSpamLogger$Level.values:()[Lorg/apache/cassandra/utils/NoSpamLogger$Level;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.ERROR:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
invokevirtual org.apache.cassandra.utils.NoSpamLogger$Level.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.INFO:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
invokevirtual org.apache.cassandra.utils.NoSpamLogger$Level.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.WARN:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
invokevirtual org.apache.cassandra.utils.NoSpamLogger$Level.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement.$SWITCH_TABLE$org$apache$cassandra$utils$NoSpamLogger$Level:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "NoSpamLogger.java"
NestHost: org.apache.cassandra.utils.NoSpamLogger
InnerClasses:
abstract Clock = org.apache.cassandra.utils.NoSpamLogger$Clock of org.apache.cassandra.utils.NoSpamLogger
public final Level = org.apache.cassandra.utils.NoSpamLogger$Level of org.apache.cassandra.utils.NoSpamLogger
public NoSpamLogStatement = org.apache.cassandra.utils.NoSpamLogger$NoSpamLogStatement of org.apache.cassandra.utils.NoSpamLogger