Example #1
0
 /**
  * Flushes the memstore if the size is large enough.
  *
  * @throws IOException
  */
 private void flushMemStoreIfNecessary() throws IOException {
   if (memstore.heapSize() >= flushSize) {
     flushMemStore();
   }
 }