MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / flush

Method flush

java/java/de/crupp/upscaledb/Environment.java:432–437  ·  view source on GitHub ↗

Flush this Environment This function flushes the Environment caches and writes the whole file to disk. All Databases of this Environment are flushed as well. Since In-Memory Databases do not have a file on disk, the function will have no effect and will return UPS_SUCCESS. More information:

()

Source from the content-addressed store, hash-verified

430 * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__env.html#ga394c0b85da29e3eaca719b67504f755f">C documentation</a>
431 */
432 public void flush()
433 throws DatabaseException {
434 int status = ups_env_flush(m_handle);
435 if (status != 0)
436 throw new DatabaseException(status);
437 }
438
439 /**
440 * Begins a new Transaction

Callers 1

testFlushEnvironmentMethod · 0.95

Calls 1

ups_env_flushMethod · 0.95

Tested by 1

testFlushEnvironmentMethod · 0.76