public class CompactionProgress extends Object
The metrics tracked allow one to calculate the percent completion of the compaction based on the number of Key/Value pairs already compacted vs. total amount scheduled to be compacted.
|Modifier and Type||Field and Description|
the completed count of key values in currently running compaction
the total compacting key values in currently running compaction
|Constructor and Description|
public long totalCompactingKVs
public long currentCompactedKVs
public CompactionProgress(long totalCompactingKVs)
totalCompactingKVs- the total Key/Value pairs to be compacted
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.