public class org.apache.cassandra.db.Directories$DataDirectory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.Directories$DataDirectory
super_class: java.lang.Object
{
public final java.io.File location;
descriptor: Ljava/io/File;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
putfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/Directories$DataDirectory;
0 3 1 location Ljava/io/File;
MethodParameters:
Name Flags
location
public long getAvailableSpace();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
invokestatic org.apache.cassandra.io.util.FileUtils.getUsableSpace:(Ljava/io/File;)J
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getMinFreeSpacePerDriveInBytes:()J
lsub
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifle 2
lload 1
goto 3
StackMap locals: long
StackMap stack:
2: lconst_0
StackMap locals:
StackMap stack: long
3: lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Directories$DataDirectory;
1 4 1 availableSpace J
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.Directories$DataDirectory
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
aload 2
getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/Directories$DataDirectory;
0 5 1 o Ljava/lang/Object;
4 5 2 that Lorg/apache/cassandra/db/Directories$DataDirectory;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
invokevirtual java.io.File.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Directories$DataDirectory;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DataDirectory{location="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.cassandra.db.Directories$DataDirectory.location:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Directories$DataDirectory;
}
SourceFile: "Directories.java"
NestHost: org.apache.cassandra.db.Directories
InnerClasses:
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories