DbEnv::memp_sync API Ref

#include <db_cxx.h>

int DbEnv::memp_sync(DbLsn *lsn);


Description: DbEnv::memp_sync

The DbEnv::memp_sync method flushes modified pages in the cache to their backing files.

Pages in the pool that cannot be immediately written back to disk (for example, pages that are currently in use by another thread of control) are waited for and written to disk as soon as it is possible to do so.

The DbEnv::memp_sync method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Parameters
lsn


Class DbEnv, DbMpoolFile
See Also Memory Pools and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.