public boolean setInMemoryFlushed() {
    return flushed.compareAndSet(false, true);
  }
Adds the given cell into the segment
@param cell      the cell to add
@param mslabUsed whether using MSLAB
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MutableSegment.java