priority.html   [plain text]


<!--$Id: priority.html,v 1.2 2004/03/30 01:23:13 jtownsen Exp $-->
<!--Copyright 1997-2003 by Sleepycat Software, Inc.-->
<!--All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Release 4.2: DB-&gt;set_cache_priority</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<a name="2"><!--meow--></a>
<table width="100%"><tr valign=top>
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></h3></td>
<td align=right><a href="../upgrade.4.2/del.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.2/verify.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p>
<h3 align=center>Release 4.2: DB-&gt;set_cache_priority</h3>
<p>In previous releases, applications set the priority of a database's
pages in the Berkeley DB buffer cache with the DB-&gt;set_cache_priority
method.  This method is no longer available.  Applications wanting to
set database page priorities in the buffer cache should use the
<a href="../../api_c/memp_set_priority.html">DB_MPOOLFILE-&gt;set_priority</a> method instead.  The new call takes the same
arguments and behaves identically to the old call, except that a
<a href="../../api_c/mempfile_class.html">DB_MPOOLFILE</a> buffer cache file handle is used instead of the
<a href="../../api_c/db_class.html">DB</a> database handle.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.2/del.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.2/verify.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1><a href="../../sleepycat/legal.html">Copyright (c) 1996-2003</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font>
</body>
</html>