code: private void flush(Collection<Record> recordsToBeFlushed, boolean backup) {
          for (Record record : recordsToBeFlushed) {
              mapDataStore.flush(record.getKey(), record.getValue(), backup);
          }
      }
docs: Flushes evicted records to map store.
  
  @param recordsToBeFlushed records to be flushed to map-store.
  @param backup             <code>true</code> if backup, false otherwise.