public static class HRegion.FlushResultImpl extends Object implements HRegion.FlushResult
HRegion.FlushResult.Result
Modifier and Type | Method and Description |
---|---|
HRegion.FlushResult.Result |
getResult() |
boolean |
isCompactionNeeded()
Convenience method, the equivalent of checking if result is FLUSHED_COMPACTION_NEEDED.
|
boolean |
isFlushSucceeded()
Convenience method, the equivalent of checking if result is
FLUSHED_NO_COMPACTION_NEEDED or FLUSHED_NO_COMPACTION_NEEDED.
|
String |
toString() |
public boolean isFlushSucceeded()
isFlushSucceeded
in interface HRegion.FlushResult
public boolean isCompactionNeeded()
isCompactionNeeded
in interface HRegion.FlushResult
public HRegion.FlushResult.Result getResult()
getResult
in interface HRegion.FlushResult
Copyright © 2007–2019 Cloudera. All rights reserved.