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()
GCEstimation
gcNeeded
in interface GCEstimation
public String gcLog()
GCEstimation
GCEstimation.gcNeeded()
flaggcLog
in interface GCEstimation
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.