CompactionConfig
public CompactionConfig(long minCandidateHoleCostInBytes,
int minCandidateHolePercentage)
Create a new compaction. Both of the criteria specified by the following parameters must be met in order for a type
to be considered a candidate for compaction.
- Parameters:
minCandidateHoleCostInBytes
- identify a type as a candidate for compaction only when the bytes used by ordinal holes exceeds this value
minCandidateHolePercentage
- identify a type as a candidate for compaction only when the percentage of space used by ordinal holes exceeds this value