|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.HRegion.FlushResult
public static class HRegion.FlushResult
Objects from this class are created when flushing to describe all the different states that that method ends up in. The Result enum describes those states. The sequence id should only be specified if the flush was successful, and the failure message should only be speficied if it didn't flush.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isFlushSucceeded()
public boolean isCompactionNeeded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |