public static class HRegion.FlushResultImpl extends java.lang.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.
|
java.lang.String |
toString() |
public boolean isFlushSucceeded()
isFlushSucceeded in interface HRegion.FlushResultpublic boolean isCompactionNeeded()
isCompactionNeeded in interface HRegion.FlushResultpublic java.lang.String toString()
toString in class java.lang.Objectpublic HRegion.FlushResult.Result getResult()
getResult in interface HRegion.FlushResult