DB_MPOOLFILE->put API Ref

#include <db.h>

int DB_MPOOLFILE->put(DB_MPOOLFILE *mpf, void *pgaddr, DB_CACHE_PRIORITY priority, u_int32_t flags);


Description: DB_MPOOLFILE->put

The DB_MPOOLFILE->put method returns a reference to a page in the cache, setting the priority of the page as specified by the priority parameter.

The DB_MPOOLFILE->put method returns a non-zero error value on failure and 0 on success.

Parameters
flags pgaddr priority

Errors

The DB_MPOOLFILE->put method may fail and return one of the following non-zero errors:


EINVAL


Class DB_ENV, DB_MPOOLFILE
See Also Memory Pools and Related Methods

APIRef

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