@Override
    public boolean isFlushSucceeded() {
      return result == Result.FLUSHED_NO_COMPACTION_NEEDED
        || result == Result.FLUSHED_COMPACTION_NEEDED;
    }
Convenience method, the equivalent of checking if result is FLUSHED_NO_COMPACTION_NEEDED or
FLUSHED_NO_COMPACTION_NEEDED.
@return true if the memstores were flushed, else false.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java