class org.apache.cassandra.db.commitlog.BatchCommitLogService extends org.apache.cassandra.db.commitlog.AbstractCommitLogService
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.commitlog.BatchCommitLogService
super_class: org.apache.cassandra.db.commitlog.AbstractCommitLogService
{
public void <init>(org.apache.cassandra.db.commitlog.CommitLog);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLog;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // org.apache.cassandra.db.commitlog.BatchCommitLogService this
start local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
0: .line 26
aload 0 /* this */
aload 1 /* commitLog */
ldc "COMMIT-LOG-WRITER"
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCommitLogSyncBatchWindow:()D
d2i
i2l
invokespecial org.apache.cassandra.db.commitlog.AbstractCommitLogService.<init>:(Lorg/apache/cassandra/db/commitlog/CommitLog;Ljava/lang/String;J)V
1: .line 27
return
end local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
end local 0 // org.apache.cassandra.db.commitlog.BatchCommitLogService this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/commitlog/BatchCommitLogService;
0 2 1 commitLog Lorg/apache/cassandra/db/commitlog/CommitLog;
MethodParameters:
Name Flags
commitLog
protected void maybeWaitForSync(org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.cassandra.db.commitlog.BatchCommitLogService this
start local 1 // org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation alloc
0: .line 32
aload 0 /* this */
getfield org.apache.cassandra.db.commitlog.BatchCommitLogService.pending:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: .line 33
aload 0 /* this */
invokevirtual org.apache.cassandra.db.commitlog.BatchCommitLogService.requestExtraSync:()V
2: .line 34
aload 1 /* alloc */
aload 0 /* this */
getfield org.apache.cassandra.db.commitlog.BatchCommitLogService.commitLog:Lorg/apache/cassandra/db/commitlog/CommitLog;
getfield org.apache.cassandra.db.commitlog.CommitLog.metrics:Lorg/apache/cassandra/metrics/CommitLogMetrics;
getfield org.apache.cassandra.metrics.CommitLogMetrics.waitingOnCommit:Lcom/codahale/metrics/Timer;
invokevirtual org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation.awaitDiskSync:(Lcom/codahale/metrics/Timer;)V
3: .line 35
aload 0 /* this */
getfield org.apache.cassandra.db.commitlog.BatchCommitLogService.pending:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
4: .line 36
return
end local 1 // org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation alloc
end local 0 // org.apache.cassandra.db.commitlog.BatchCommitLogService this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/commitlog/BatchCommitLogService;
0 5 1 alloc Lorg/apache/cassandra/db/commitlog/CommitLogSegment$Allocation;
MethodParameters:
Name Flags
alloc
}
SourceFile: "BatchCommitLogService.java"
InnerClasses:
protected Allocation = org.apache.cassandra.db.commitlog.CommitLogSegment$Allocation of org.apache.cassandra.db.commitlog.CommitLogSegment