public class org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard extends org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard
super_class: org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager
{
public void <init>(org.apache.cassandra.db.commitlog.CommitLog, java.lang.String);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLog;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager.<init>:(Lorg/apache/cassandra/db/commitlog/CommitLog;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentManagerStandard;
0 2 1 commitLog Lorg/apache/cassandra/db/commitlog/CommitLog;
0 2 2 storageDirectory Ljava/lang/String;
MethodParameters:
Name Flags
commitLog final
storageDirectory
public void discard(org.apache.cassandra.db.commitlog.CommitLogSegment, boolean);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLogSegment;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegment.close:()V
1: iload 2
ifeq 3
2: aload 1
getfield org.apache.cassandra.db.commitlog.CommitLogSegment.logFile:Ljava/io/File;
invokestatic org.apache.cassandra.io.util.FileUtils.deleteWithConfirm:(Ljava/io/File;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegment.onDiskSize:()J
lneg
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.addSize:(J)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentManagerStandard;
0 5 1 segment Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
0 5 2 delete Z
MethodParameters:
Name Flags
segment
delete
public org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation allocate(org.apache.cassandra.db.Mutation, int);
descriptor: (Lorg/apache/cassandra/db/Mutation;I)Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.allocatingFrom:()Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
astore 3
start local 3 1: goto 4
start local 4 2: StackMap locals: org.apache.cassandra.db.commitlog.CommitLogSegment org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.advanceAllocatingFrom:(Lorg/apache/cassandra/db/commitlog/CommitLogSegment;)V
3: aload 0
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.allocatingFrom:()Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
astore 3
end local 4 4: StackMap locals:
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegment.allocate:(Lorg/apache/cassandra/db/Mutation;I)Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;
dup
astore 4
start local 4 5: ifnull 2
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentManagerStandard;
0 7 1 mutation Lorg/apache/cassandra/db/Mutation;
0 7 2 size I
1 7 3 segment Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
2 4 4 alloc Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;
5 7 4 alloc Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;
MethodParameters:
Name Flags
mutation
size
void handleReplayedSegment(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.logger:Lorg/slf4j/Logger;
ldc "(Unopened) segment {} is no longer needed and will be deleted now"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokestatic org.apache.cassandra.io.util.FileUtils.deleteWithConfirm:(Ljava/io/File;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentManagerStandard;
0 3 1 file Ljava/io/File;
MethodParameters:
Name Flags
file final
public org.apache.cassandra.db.commitlog.CommitLogSegment createSegment();
descriptor: ()Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.commitLog:Lorg/apache/cassandra/db/commitlog/CommitLog;
aload 0
invokestatic org.apache.cassandra.db.commitlog.CommitLogSegment.createSegment:(Lorg/apache/cassandra/db/commitlog/CommitLog;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;)Lorg/apache/cassandra/db/commitlog/CommitLogSegment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/commitlog/CommitLogSegmentManagerStandard;
}
SourceFile: "CommitLogSegmentManagerStandard.java"
InnerClasses:
protected Allocation = org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation of org.apache.cassandra.db.commitlog.CommitLogSegment