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 |
---|---|
long |
currentCompactedKVs
the completed count of key values in currently running compaction
|
long |
totalCompactingKVs
the total compacting key values in currently running compaction
|
Constructor and Description |
---|
CompactionProgress(long totalCompactingKVs)
Constructor
|
public long totalCompactingKVs
public long currentCompactedKVs
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.