public class org.apache.cassandra.utils.Clock
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.Clock
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static org.apache.cassandra.utils.Clock instance;
descriptor: Lorg/apache/cassandra/utils/Clock;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc Lorg/apache/cassandra/utils/Clock;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.utils.Clock.logger:Lorg/slf4j/Logger;
1: ldc "cassandra.clock"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: aload 0
ifnonnull 5
3: new org.apache.cassandra.utils.Clock
dup
invokespecial org.apache.cassandra.utils.Clock.<init>:()V
putstatic org.apache.cassandra.utils.Clock.instance:Lorg/apache/cassandra/utils/Clock;
4: goto 10
5: StackMap locals: java.lang.String
StackMap stack:
getstatic org.apache.cassandra.utils.Clock.logger:Lorg/slf4j/Logger;
ldc "Using custom clock implementation: {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
6: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Clock
putstatic org.apache.cassandra.utils.Clock.instance:Lorg/apache/cassandra/utils/Clock;
7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 9: getstatic org.apache.cassandra.utils.Clock.logger:Lorg/slf4j/Logger;
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 end local 0 10: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 10 0 sclock Ljava/lang/String;
9 10 1 e Ljava/lang/Exception;
Exception table:
from to target type
5 7 8 Class java.lang.Exception
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/utils/Clock;
public long nanoTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.nanoTime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/Clock;
public long currentTimeMillis();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/Clock;
}
SourceFile: "Clock.java"