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