final class org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy implements org.apache.cassandra.utils.concurrent.RefCounted$Tidy
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy
super_class: java.lang.Object
{
static java.lang.ref.WeakReference<java.util.concurrent.ScheduledFuture<?>> NULL;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ScheduledFuture<*>;>;
static final java.util.concurrent.ConcurrentMap<org.apache.cassandra.io.sstable.Descriptor, org.apache.cassandra.utils.concurrent.Ref<org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy>> lookup;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/utils/concurrent/Ref<Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;>;>;
private final org.apache.cassandra.io.sstable.Descriptor desc;
descriptor: Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.metrics.RestorableMeter readMeter;
descriptor: Lorg/apache/cassandra/metrics/RestorableMeter;
flags: (0x0002) ACC_PRIVATE
private java.lang.ref.WeakReference<java.util.concurrent.ScheduledFuture<?>> readMeterSyncFuture;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ScheduledFuture<*>;>;
private volatile java.lang.Runnable obsoletion;
descriptor: Ljava/lang/Runnable;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.ref.WeakReference
dup
aconst_null
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.NULL:Ljava/lang/ref/WeakReference;
1: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.lookup:Ljava/util/concurrent/ConcurrentMap;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.NULL:Ljava/lang/ref/WeakReference;
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeterSyncFuture:Ljava/lang/ref/WeakReference;
2: aload 0
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
0 4 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
reader final
void ensureReadMeter();
descriptor: ()V
flags: (0x0000)
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeter:Lorg/apache/cassandra/metrics/RestorableMeter;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
invokestatic org.apache.cassandra.config.SchemaConstants.isLocalSystemKeyspace:(Ljava/lang/String;)Z
ifne 3
invokestatic org.apache.cassandra.config.DatabaseDescriptor.isClientOrToolInitialized:()Z
ifeq 6
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeter:Lorg/apache/cassandra/metrics/RestorableMeter;
4: aload 0
getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.NULL:Ljava/lang/ref/WeakReference;
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeterSyncFuture:Ljava/lang/ref/WeakReference;
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokestatic org.apache.cassandra.db.SystemKeyspace.getSSTableReadMeter:(Ljava/lang/String;Ljava/lang/String;I)Lorg/apache/cassandra/metrics/RestorableMeter;
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeter:Lorg/apache/cassandra/metrics/RestorableMeter;
7: aload 0
new java.lang.ref.WeakReference
dup
getstatic org.apache.cassandra.io.sstable.format.SSTableReader.syncExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
new org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy$1
dup
aload 0
invokespecial org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy$1.<init>:(Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;)V
8: lconst_1
ldc 5
getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
9: invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeterSyncFuture:Ljava/lang/ref/WeakReference;
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
private void stopReadMeterPersistence();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeterSyncFuture:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ScheduledFuture
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
iconst_1
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
3: aload 0
getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.NULL:Ljava/lang/ref/WeakReference;
putfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.readMeterSyncFuture:Ljava/lang/ref/WeakReference;
4: StackMap locals: java.util.concurrent.ScheduledFuture
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
1 5 1 readMeterSyncFutureLocal Ljava/util/concurrent/ScheduledFuture<*>;
public void tidy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.lookup:Ljava/util/concurrent/ConcurrentMap;
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.obsoletion:Ljava/lang/Runnable;
ifnull 3
2: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.obsoletion:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
lconst_0
lconst_0
invokestatic org.apache.cassandra.utils.NativeLibrary.trySkipCache:(Ljava/lang/String;JJ)V
4: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getstatic org.apache.cassandra.io.sstable.Component.PRIMARY_INDEX:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
lconst_0
lconst_0
invokestatic org.apache.cassandra.utils.NativeLibrary.trySkipCache:(Ljava/lang/String;JJ)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
public static org.apache.cassandra.utils.concurrent.Ref<org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy> get(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/utils/concurrent/Ref;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
astore 1
start local 1 1: getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.lookup:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.ref:()Lorg/apache/cassandra/utils/concurrent/Ref;
areturn
4: StackMap locals: org.apache.cassandra.io.sstable.Descriptor org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
new org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy
dup
aload 0
invokespecial org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.<init>:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
astore 3
start local 3 5: new org.apache.cassandra.utils.concurrent.Ref
dup
aload 3
aload 3
invokespecial org.apache.cassandra.utils.concurrent.Ref.<init>:(Ljava/lang/Object;Lorg/apache/cassandra/utils/concurrent/RefCounted$Tidy;)V
astore 2
6: getstatic org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.lookup:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.concurrent.Ref
astore 4
start local 4 7: aload 4
ifnull 10
8: aload 2
invokevirtual org.apache.cassandra.utils.concurrent.Ref.close:()V
9: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy org.apache.cassandra.utils.concurrent.Ref
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
1 11 1 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
2 11 2 refc Lorg/apache/cassandra/utils/concurrent/Ref<Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;>;
5 11 3 tidy Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;
7 11 4 ex Lorg/apache/cassandra/utils/concurrent/Ref<*>;
Signature: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Lorg/apache/cassandra/utils/concurrent/Ref<Lorg/apache/cassandra/io/sstable/format/SSTableReader$GlobalTidy;>;
MethodParameters:
Name Flags
sstable
}
SourceFile: "SSTableReader.java"
NestHost: org.apache.cassandra.io.sstable.format.SSTableReader
InnerClasses:
final GlobalTidy = org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy of org.apache.cassandra.io.sstable.format.SSTableReader
org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy$1
public abstract Tidy = org.apache.cassandra.utils.concurrent.RefCounted$Tidy of org.apache.cassandra.utils.concurrent.RefCounted