MCPcopy Create free account
hub / github.com/bytedance/terarkdb / flush

Method flush

java/src/main/java/org/rocksdb/RocksDB.java:2383–2386  ·  view source on GitHub ↗

Flush all memory table data. Note: it must be ensured that the FlushOptions instance is not GC'ed before this method finishes. If the wait parameter is set to false, flush processing is asynchronous. @param flushOptions org.rocksdb.FlushOptions instance. @throws RocksDBExcept

(final FlushOptions flushOptions)

Source from the content-addressed store, hash-verified

2381 * part of the library.
2382 */
2383 public void flush(final FlushOptions flushOptions)
2384 throws RocksDBException {
2385 flush(nativeHandle_, flushOptions.nativeHandle_);
2386 }
2387
2388 /**
2389 * <p>Flush all memory table data.</p>

Callers 8

benchFunction · 0.45
FinishMethod · 0.45
BuildIndexMethod · 0.45
save_reloadFunction · 0.45
save_reloadFunction · 0.45
save_reloadFunction · 0.45
save_reloadFunction · 0.45
print_testMethod · 0.45

Calls

no outgoing calls

Tested by 4

save_reloadFunction · 0.36
save_reloadFunction · 0.36
save_reloadFunction · 0.36
save_reloadFunction · 0.36