public class org.apache.cassandra.utils.DirectorySizeCalculator extends java.nio.file.SimpleFileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.DirectorySizeCalculator
super_class: java.nio.file.SimpleFileVisitor
{
protected volatile long size;
descriptor: J
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected final java.io.File path;
descriptor: Ljava/io/File;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.file.SimpleFileVisitor.<init>:()V
1: aload 0
lconst_0
putfield org.apache.cassandra.utils.DirectorySizeCalculator.size:J
2: aload 0
aload 1
putfield org.apache.cassandra.utils.DirectorySizeCalculator.path:Ljava/io/File;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/DirectorySizeCalculator;
0 4 1 path Ljava/io/File;
MethodParameters:
Name Flags
path
public boolean isAcceptable(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/DirectorySizeCalculator;
0 1 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.DirectorySizeCalculator.isAcceptable:(Ljava/nio/file/Path;)Z
ifeq 2
1: aload 0
dup
getfield org.apache.cassandra.utils.DirectorySizeCalculator.size:J
aload 2
invokeinterface java.nio.file.attribute.BasicFileAttributes.size:()J
ladd
putfield org.apache.cassandra.utils.DirectorySizeCalculator.size:J
2: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/DirectorySizeCalculator;
0 3 1 file Ljava/nio/file/Path;
0 3 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult visitFileFailed(java.nio.file.Path, java.io.IOException);
descriptor: (Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/DirectorySizeCalculator;
0 1 1 file Ljava/nio/file/Path;
0 1 2 exc Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
exc
public long getAllocatedSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.DirectorySizeCalculator.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/DirectorySizeCalculator;
public java.nio.file.FileVisitResult visitFileFailed(java.lang.Object, java.io.IOException);
descriptor: (Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.apache.cassandra.utils.DirectorySizeCalculator.visitFileFailed:(Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.file.FileVisitResult visitFile(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.apache.cassandra.utils.DirectorySizeCalculator.visitFile:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/nio/file/SimpleFileVisitor<Ljava/nio/file/Path;>;
SourceFile: "DirectorySizeCalculator.java"