+I#Berkeley DB: DbMpool[P

DbMpool





#include <db_cxx.h>







Description



>This manual page describes the specific details of the DbMpoolclass.

fThe DbMpool and DbMpoolFile classes are the libraryDinterface intended to provide general-purpose, page-oriented, sharedEmemory buffer management of underlying files. While designed to workgwith the other Db classes, this class is also useful for more=general purposes. The shared memory buffer pools (DbMpool's)8are referred to in this document as simply pools.

IPools may be shared between processes. Pools are usually filled by pagesqfrom one or more files (DbMpoolFile's). Pages in the pool areIreplaced in LRU (least-recently-used) order, with each new page replacingIthe page that has been unused the longest. Pages retrieved from the poolrusing DbMpoolFile::get are pinned in the pool, by default,yuntil they are returned to the pool's control using the DbMpoolFile::putmethod.



Class

DbMpool



See Also

>DbMpool::close,<DbMpool::open,JDbMpool::db_register,<DbMpool::stat,<DbMpool::sync,ADbMpool::trickleand@DbMpool::unlink.
ÿÿ