public class org.apache.cassandra.db.monitoring.ApproximateTime
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.monitoring.ApproximateTime
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int CHECK_INTERVAL_MS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile long time;
descriptor: J
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/monitoring/ApproximateTime;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.monitoring.ApproximateTime.logger:Lorg/slf4j/Logger;
1: iconst_5
ldc "cassandra.approximate_time_precision_ms"
ldc "10"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic java.lang.Math.max:(II)I
putstatic org.apache.cassandra.db.monitoring.ApproximateTime.CHECK_INTERVAL_MS:I
2: invokestatic java.lang.System.currentTimeMillis:()J
putstatic org.apache.cassandra.db.monitoring.ApproximateTime.time:J
3: getstatic org.apache.cassandra.db.monitoring.ApproximateTime.logger:Lorg/slf4j/Logger;
ldc "Scheduling approximate time-check task with a precision of {} milliseconds"
getstatic org.apache.cassandra.db.monitoring.ApproximateTime.CHECK_INTERVAL_MS:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
4: getstatic org.apache.cassandra.concurrent.ScheduledExecutors.scheduledFastTasks:Lorg/apache/cassandra/concurrent/DebuggableScheduledThreadPoolExecutor;
invokedynamic run()Ljava/lang/Runnable;
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:
()V
org/apache/cassandra/db/monitoring/ApproximateTime.lambda$0()V (6)
()V
5: getstatic org.apache.cassandra.db.monitoring.ApproximateTime.CHECK_INTERVAL_MS:I
i2l
6: getstatic org.apache.cassandra.db.monitoring.ApproximateTime.CHECK_INTERVAL_MS:I
i2l
7: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
8: invokevirtual org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.scheduleWithFixedDelay:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
9: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/monitoring/ApproximateTime;
public static long currentTimeMillis();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.apache.cassandra.db.monitoring.ApproximateTime.time:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static long precision();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_2
getstatic org.apache.cassandra.db.monitoring.ApproximateTime.CHECK_INTERVAL_MS:I
imul
i2l
lreturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic java.lang.System.currentTimeMillis:()J
dup2
putstatic org.apache.cassandra.db.monitoring.ApproximateTime.time:J
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ApproximateTime.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles