public class SizeDeltaGcEstimation extends Object implements GCEstimation
| Constructor and Description |
|---|
SizeDeltaGcEstimation(SegmentGCOptions opts,
GCJournal gcJournal,
long totalSize) |
| Modifier and Type | Method and Description |
|---|---|
String |
gcLog()
User friendly message explaining the value of the
GCEstimation.gcNeeded() flag |
boolean |
gcNeeded()
Determines if the Gc operation needs to run or not
|
public SizeDeltaGcEstimation(@Nonnull SegmentGCOptions opts, @Nonnull GCJournal gcJournal, long totalSize)
public boolean gcNeeded()
GCEstimationgcNeeded in interface GCEstimationpublic String gcLog()
GCEstimationGCEstimation.gcNeeded() flaggcLog in interface GCEstimationCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.