class org.apache.cassandra.db.Directories$SSTableSizeSummer extends org.apache.cassandra.utils.DirectorySizeCalculator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.Directories$SSTableSizeSummer
super_class: org.apache.cassandra.utils.DirectorySizeCalculator
{
private final java.util.HashSet<java.io.File> toSkip;
descriptor: Ljava/util/HashSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashSet<Ljava/io/File;>;
final org.apache.cassandra.db.Directories this$0;
descriptor: Lorg/apache/cassandra/db/Directories;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.io.File, java.util.List<java.io.File>);
descriptor: (Lorg/apache/cassandra/db/Directories;Ljava/io/File;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 // org.apache.cassandra.db.Directories$SSTableSizeSummer this
start local 2 // java.io.File path
start local 3 // java.util.List files
0: .line 1043
aload 0 /* this */
aload 1
putfield org.apache.cassandra.db.Directories$SSTableSizeSummer.this$0:Lorg/apache/cassandra/db/Directories;
1: .line 1044
aload 0 /* this */
aload 2 /* path */
invokespecial org.apache.cassandra.utils.DirectorySizeCalculator.<init>:(Ljava/io/File;)V
2: .line 1045
aload 0 /* this */
new java.util.HashSet
dup
aload 3 /* files */
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield org.apache.cassandra.db.Directories$SSTableSizeSummer.toSkip:Ljava/util/HashSet;
3: .line 1046
return
end local 3 // java.util.List files
end local 2 // java.io.File path
end local 0 // org.apache.cassandra.db.Directories$SSTableSizeSummer this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Directories$SSTableSizeSummer;
0 4 2 path Ljava/io/File;
0 4 3 files Ljava/util/List<Ljava/io/File;>;
Signature: (Ljava/io/File;Ljava/util/List<Ljava/io/File;>;)V
MethodParameters:
Name Flags
this$0 final
path
files
public boolean isAcceptable(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 // org.apache.cassandra.db.Directories$SSTableSizeSummer this
start local 1 // java.nio.file.Path path
0: .line 1051
aload 1 /* path */
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
astore 2 /* file */
start local 2 // java.io.File file
1: .line 1052
aload 1 /* path */
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 2 /* file */
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.sstable.SSTable.tryComponentFromFilename:(Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair;
astore 3 /* pair */
start local 3 // org.apache.cassandra.utils.Pair pair
2: .line 1053
aload 3 /* pair */
ifnull 7
3: .line 1054
aload 3 /* pair */
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0 /* this */
getfield org.apache.cassandra.db.Directories$SSTableSizeSummer.this$0:Lorg/apache/cassandra/db/Directories;
getfield org.apache.cassandra.db.Directories.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
4: .line 1055
aload 3 /* pair */
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0 /* this */
getfield org.apache.cassandra.db.Directories$SSTableSizeSummer.this$0:Lorg/apache/cassandra/db/Directories;
getfield org.apache.cassandra.db.Directories.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: .line 1056
aload 0 /* this */
getfield org.apache.cassandra.db.Directories$SSTableSizeSummer.toSkip:Ljava/util/HashSet;
aload 2 /* file */
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifne 7
6: .line 1053
iconst_1
ireturn
StackMap locals: java.io.File org.apache.cassandra.utils.Pair
StackMap stack:
7: iconst_0
ireturn
end local 3 // org.apache.cassandra.utils.Pair pair
end local 2 // java.io.File file
end local 1 // java.nio.file.Path path
end local 0 // org.apache.cassandra.db.Directories$SSTableSizeSummer this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/Directories$SSTableSizeSummer;
0 8 1 path Ljava/nio/file/Path;
1 8 2 file Ljava/io/File;
2 8 3 pair Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/io/sstable/Component;>;
MethodParameters:
Name Flags
path
}
SourceFile: "Directories.java"
NestHost: org.apache.cassandra.db.Directories
InnerClasses:
private SSTableSizeSummer = org.apache.cassandra.db.Directories$SSTableSizeSummer of org.apache.cassandra.db.Directories