public static class HRegion.FlushResultImpl extends Object implements Region.FlushResult
Region.FlushResult.Result| Modifier and Type | Method and Description |
|---|---|
Region.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 Region.FlushResultpublic boolean isCompactionNeeded()
isCompactionNeeded in interface Region.FlushResultpublic Region.FlushResult.Result getResult()
getResult in interface Region.FlushResultCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.