final class org.apache.cassandra.db.Directories$DataDirectoryCandidate implements java.lang.Comparable<org.apache.cassandra.db.Directories$DataDirectoryCandidate>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.db.Directories$DataDirectoryCandidate
super_class: java.lang.Object
{
final org.apache.cassandra.db.Directories$DataDirectory dataDirectory;
descriptor: Lorg/apache/cassandra/db/Directories$DataDirectory;
flags: (0x0010) ACC_FINAL
final long availableSpace;
descriptor: J
flags: (0x0010) ACC_FINAL
double perc;
descriptor: D
flags: (0x0000)
public void <init>(org.apache.cassandra.db.Directories$DataDirectory);
descriptor: (Lorg/apache/cassandra/db/Directories$DataDirectory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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$DataDirectoryCandidate.dataDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
2: aload 0
aload 1
invokevirtual org.apache.cassandra.db.Directories$DataDirectory.getAvailableSpace:()J
putfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
0 4 1 dataDirectory Lorg/apache/cassandra/db/Directories$DataDirectory;
MethodParameters:
Name Flags
dataDirectory
void calcFreePerc(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.availableSpace:J
l2d
dstore 3
start local 3 1: dload 3
lload 1
l2d
ddiv
dstore 3
2: aload 0
dload 3
putfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.perc:D
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
0 4 1 totalAvailableSpace J
1 4 3 w D
MethodParameters:
Name Flags
totalAvailableSpace
public int compareTo(org.apache.cassandra.db.Directories$DataDirectoryCandidate);
descriptor: (Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.perc:D
aload 1
getfield org.apache.cassandra.db.Directories$DataDirectoryCandidate.perc:D
invokestatic java.lang.Double.compare:(DD)I
istore 2
start local 2 3: iload 2
ifeq 5
4: iload 2
ineg
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
0 6 1 o Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;
3 6 2 r I
MethodParameters:
Name Flags
o
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.db.Directories$DataDirectoryCandidate
invokevirtual org.apache.cassandra.db.Directories$DataDirectoryCandidate.compareTo:(Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/cassandra/db/Directories$DataDirectoryCandidate;>;
SourceFile: "Directories.java"
NestHost: org.apache.cassandra.db.Directories
InnerClasses:
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
final DataDirectoryCandidate = org.apache.cassandra.db.Directories$DataDirectoryCandidate of org.apache.cassandra.db.Directories