DB_ENV->memp_trickle

API Ref

#include <db.h>

int DB_ENV->memp_trickle(DB_ENV *env, int percent, int *nwrotep);


Description: DB_ENV->memp_trickle

The DB_ENV->memp_trickle method ensures that a specified percent of the pages in the shared memory pool are clean, by writing dirty pages to their backing files.

The purpose of the DB_ENV->memp_trickle function is to enable a memory pool manager to ensure that a page is always available for reading in new information without having to wait for a write.


Class

DB_ENV, DB_MPOOLFILE

See Also

Memory Pools and Related Methods

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.