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:
()
| 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 |