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.FlushResult
public boolean isCompactionNeeded()
isCompactionNeeded
in interface Region.FlushResult
public Region.FlushResult.Result getResult()
getResult
in interface Region.FlushResult
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.