Files
Yasuhiro KIMURA 9678929700 Update to 18.1.40
2020-07-24 01:10:28 +09:00

1246 lines
42 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.7) on Mon Jun 01 06:40:53 PDT 2020 -->
<title>CacheStats (Oracle - Berkeley DB Java API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2020-06-01">
<link rel="stylesheet" type="text/css" href="../../../style.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CacheStats (Oracle - Berkeley DB Java API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CacheStats.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.sleepycat.db</a></div>
<h2 title="Class CacheStats" class="title">Class CacheStats</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.sleepycat.db.CacheStats</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">CacheStats</span>
extends java.lang.Object</pre>
<div class="block">Cache statistics for a database environment.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAlloc--">getAlloc</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of page allocations.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllocBuckets--">getAllocBuckets</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of hash buckets checked during allocation.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllocMaxBuckets--">getAllocMaxBuckets</a></span>()</code></th>
<td class="colLast">
<div class="block">Maximum number of hash buckets checked during an allocation.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllocMaxPages--">getAllocMaxPages</a></span>()</code></th>
<td class="colLast">
<div class="block">Maximum number of pages checked during an allocation.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllocPages--">getAllocPages</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of pages checked during allocation.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytes--">getBytes</a></span>()</code></th>
<td class="colLast">
<div class="block">Bytes of cache (total cache size is st_gbytes + st_bytes).</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCacheHit--">getCacheHit</a></span>()</code></th>
<td class="colLast">
<div class="block">Requested pages found in the cache.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCacheMiss--">getCacheMiss</a></span>()</code></th>
<td class="colLast">
<div class="block">Requested pages not found in the cache.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGbytes--">getGbytes</a></span>()</code></th>
<td class="colLast">
<div class="block">Gigabytes of cache (total cache size is st_gbytes + st_bytes).</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashBuckets--">getHashBuckets</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of hash buckets in the buffer hash table.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashExamined--">getHashExamined</a></span>()</code></th>
<td class="colLast">
<div class="block">Total number of hash elements traversed during hash table lookups.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashLongest--">getHashLongest</a></span>()</code></th>
<td class="colLast">
<div class="block">The longest chain ever encountered in buffer hash table lookups.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashMaxNowait--">getHashMaxNowait</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of times a thread of control was able to obtain the
hash bucket lock without waiting on the bucket which had the
maximum number of times that a thread of control needed to wait.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashMaxWait--">getHashMaxWait</a></span>()</code></th>
<td class="colLast">
<div class="block">The maximum number of times any hash bucket lock was waited for by
a thread of control.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashMutexes--">getHashMutexes</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of hash bucket mutexes in the buffer hash table.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashNowait--">getHashNowait</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of times that a thread of control was able to obtain a
hash bucket lock without waiting.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashSearches--">getHashSearches</a></span>()</code></th>
<td class="colLast">
<div class="block">Total number of buffer hash table lookups.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHashWait--">getHashWait</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of times that a thread of control was forced to wait
before obtaining a hash bucket lock.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIoWait--">getIoWait</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of operations blocked waiting for I/O to complete.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMap--">getMap</a></span>()</code></th>
<td class="colLast">
<div class="block">Requested pages mapped into the process' address space (there is no
available information about whether or not this request caused disk I/O,
although examining the application page fault rate may be helpful).</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxNumCache--">getMaxNumCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Maximum number of caches, as configured with
<a href="EnvironmentConfig.html#setCacheMax-long-"><code>EnvironmentConfig.setCacheMax(long)</code></a>.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxOpenfd--">getMaxOpenfd</a></span>()</code></th>
<td class="colLast">
<div class="block">Maximum number of open file descriptors.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxWrite--">getMaxWrite</a></span>()</code></th>
<td class="colLast">
<div class="block">The maximum number of sequential write operations scheduled by the library
when flushing dirty pages from the cache.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxWriteSleep--">getMaxWriteSleep</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of microseconds the thread of control should pause before
scheduling further write operations.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMmapSize--">getMmapSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Maximum file size for mmap.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMultiversionFreed--">getMultiversionFreed</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of frozen buffers freed.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMultiversionFrozen--">getMultiversionFrozen</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of buffers frozen.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMultiversionReused--">getMultiversionReused</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of outdated intermediate versions reused.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMultiversionThawed--">getMultiversionThawed</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of buffers thawed.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNumCache--">getNumCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of caches.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageClean--">getPageClean</a></span>()</code></th>
<td class="colLast">
<div class="block">Clean pages currently in the cache.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageCreate--">getPageCreate</a></span>()</code></th>
<td class="colLast">
<div class="block">Pages created in the cache.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageDirty--">getPageDirty</a></span>()</code></th>
<td class="colLast">
<div class="block">Dirty pages currently in the cache.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageIn--">getPageIn</a></span>()</code></th>
<td class="colLast">
<div class="block">Pages read into the cache.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageOut--">getPageOut</a></span>()</code></th>
<td class="colLast">
<div class="block">Pages written from the cache to the backing file.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPages--">getPages</a></span>()</code></th>
<td class="colLast">
<div class="block">Pages in the cache.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageSize--">getPageSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Page size in bytes.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPageTrickle--">getPageTrickle</a></span>()</code></th>
<td class="colLast">
<div class="block">Dirty pages written using <a href="Environment.html#trickleCacheWrite-int-"><code>Environment.trickleCacheWrite</code></a>.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegionNowait--">getRegionNowait</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of times that a thread of control was able to obtain a
cache region mutex without waiting.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegionWait--">getRegionWait</a></span>()</code></th>
<td class="colLast">
<div class="block">The number of times that a thread of control was forced to wait
before obtaining a cache region mutex.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegmax--">getRegmax</a></span>()</code></th>
<td class="colLast">
<div class="block">The maximum size, in bytes, of the mutex region.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegSize--">getRegSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Individual cache size.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRoEvict--">getRoEvict</a></span>()</code></th>
<td class="colLast">
<div class="block">Clean pages forced from the cache.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRwEvict--">getRwEvict</a></span>()</code></th>
<td class="colLast">
<div class="block">Dirty pages forced from the cache.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSyncInterrupted--">getSyncInterrupted</a></span>()</code></th>
<td class="colLast">
<div class="block">Number of mpool sync operations interrupted.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString--">toString</a></span>()</code></th>
<td class="colLast">
<div class="block">For convenience, the CacheStats class has a toString method that
lists all the data fields.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getGbytes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGbytes</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getGbytes()</pre>
<div class="block">Gigabytes of cache (total cache size is st_gbytes + st_bytes).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>gigabytes of cache</dd>
</dl>
</li>
</ul>
<a name="getBytes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getBytes()</pre>
<div class="block">Bytes of cache (total cache size is st_gbytes + st_bytes).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>bytes of cache</dd>
</dl>
</li>
</ul>
<a name="getNumCache--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumCache</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getNumCache()</pre>
<div class="block">Number of caches.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of caches</dd>
</dl>
</li>
</ul>
<a name="getMaxNumCache--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxNumCache</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMaxNumCache()</pre>
<div class="block">Maximum number of caches, as configured with
<a href="EnvironmentConfig.html#setCacheMax-long-"><code>EnvironmentConfig.setCacheMax(long)</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>maximum number of caches</dd>
</dl>
</li>
</ul>
<a name="getMmapSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMmapSize</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMmapSize()</pre>
<div class="block">Maximum file size for mmap.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>maximum file size for mmap.</dd>
</dl>
</li>
</ul>
<a name="getMaxOpenfd--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxOpenfd</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMaxOpenfd()</pre>
<div class="block">Maximum number of open file descriptors.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>maximum number of open file descriptors</dd>
</dl>
</li>
</ul>
<a name="getMaxWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxWrite</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMaxWrite()</pre>
<div class="block">The maximum number of sequential write operations scheduled by the library
when flushing dirty pages from the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum number of sequential write operations scheduled by
the library when flushing dirty pages from the cache</dd>
</dl>
</li>
</ul>
<a name="getMaxWriteSleep--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxWriteSleep</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMaxWriteSleep()</pre>
<div class="block">The number of microseconds the thread of control should pause before
scheduling further write operations.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of microseconds the thread of control should
pause before scheduling further write operations</dd>
</dl>
</li>
</ul>
<a name="getPages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPages</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getPages()</pre>
<div class="block">Pages in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>pages in the cache</dd>
</dl>
</li>
</ul>
<a name="getMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMap</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMap()</pre>
<div class="block">Requested pages mapped into the process' address space (there is no
available information about whether or not this request caused disk I/O,
although examining the application page fault rate may be helpful).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>requested pages mapped into the process' address space</dd>
</dl>
</li>
</ul>
<a name="getCacheHit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheHit</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getCacheHit()</pre>
<div class="block">Requested pages found in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>requested pages found in the cache</dd>
</dl>
</li>
</ul>
<a name="getCacheMiss--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheMiss</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getCacheMiss()</pre>
<div class="block">Requested pages not found in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>requested pages not found in the cache</dd>
</dl>
</li>
</ul>
<a name="getPageCreate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageCreate</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPageCreate()</pre>
<div class="block">Pages created in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>pages created in the cache</dd>
</dl>
</li>
</ul>
<a name="getPageIn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageIn</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPageIn()</pre>
<div class="block">Pages read into the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>pages read into the cache</dd>
</dl>
</li>
</ul>
<a name="getPageOut--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageOut</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPageOut()</pre>
<div class="block">Pages written from the cache to the backing file.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>pages written from the cache to the backing file</dd>
</dl>
</li>
</ul>
<a name="getRoEvict--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoEvict</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRoEvict()</pre>
<div class="block">Clean pages forced from the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>clean pages forced from the cache</dd>
</dl>
</li>
</ul>
<a name="getRwEvict--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRwEvict</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRwEvict()</pre>
<div class="block">Dirty pages forced from the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dirty pages forced from the cache</dd>
</dl>
</li>
</ul>
<a name="getPageTrickle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageTrickle</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPageTrickle()</pre>
<div class="block">Dirty pages written using <a href="Environment.html#trickleCacheWrite-int-"><code>Environment.trickleCacheWrite</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dirty pages written using <a href="Environment.html#trickleCacheWrite-int-"><code>Environment.trickleCacheWrite</code></a></dd>
</dl>
</li>
</ul>
<a name="getPageClean--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageClean</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getPageClean()</pre>
<div class="block">Clean pages currently in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>clean pages currently in the cache</dd>
</dl>
</li>
</ul>
<a name="getPageDirty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageDirty</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getPageDirty()</pre>
<div class="block">Dirty pages currently in the cache.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dirty pages currently in the cache</dd>
</dl>
</li>
</ul>
<a name="getHashBuckets--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashBuckets</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getHashBuckets()</pre>
<div class="block">Number of hash buckets in the buffer hash table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of hash buckets in the buffer hash table</dd>
</dl>
</li>
</ul>
<a name="getHashMutexes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashMutexes</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getHashMutexes()</pre>
<div class="block">The number of hash bucket mutexes in the buffer hash table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of hash bucket mutexes in the buffer hash table</dd>
</dl>
</li>
</ul>
<a name="getPageSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPageSize</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getPageSize()</pre>
<div class="block">Page size in bytes.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>page size in bytes</dd>
</dl>
</li>
</ul>
<a name="getHashSearches--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashSearches</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getHashSearches()</pre>
<div class="block">Total number of buffer hash table lookups.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>total number of buffer hash table lookups</dd>
</dl>
</li>
</ul>
<a name="getHashLongest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashLongest</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getHashLongest()</pre>
<div class="block">The longest chain ever encountered in buffer hash table lookups.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the longest chain ever encountered in buffer hash table lookups</dd>
</dl>
</li>
</ul>
<a name="getHashExamined--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashExamined</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getHashExamined()</pre>
<div class="block">Total number of hash elements traversed during hash table lookups.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>total number of hash elements traversed during hash table lookups</dd>
</dl>
</li>
</ul>
<a name="getHashNowait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashNowait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getHashNowait()</pre>
<div class="block">The number of times that a thread of control was able to obtain a
hash bucket lock without waiting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of times that a thread of control was able to obtain
a hash bucket lock without waiting</dd>
</dl>
</li>
</ul>
<a name="getHashWait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashWait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getHashWait()</pre>
<div class="block">The number of times that a thread of control was forced to wait
before obtaining a hash bucket lock.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of times that a thread of control was forced
to wait before obtaining a hash bucket lock</dd>
</dl>
</li>
</ul>
<a name="getHashMaxNowait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashMaxNowait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getHashMaxNowait()</pre>
<div class="block">The number of times a thread of control was able to obtain the
hash bucket lock without waiting on the bucket which had the
maximum number of times that a thread of control needed to wait.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of times a thread of control was able to obtain
the hash bucket lock without waiting on the bucket which had the
maximum number of times that a thread of control was able to obtain</dd>
</dl>
</li>
</ul>
<a name="getHashMaxWait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHashMaxWait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getHashMaxWait()</pre>
<div class="block">The maximum number of times any hash bucket lock was waited for by
a thread of control.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum number of times any hash bucket lock was waited
for by a thread of control</dd>
</dl>
</li>
</ul>
<a name="getRegionNowait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionNowait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRegionNowait()</pre>
<div class="block">The number of times that a thread of control was able to obtain a
cache region mutex without waiting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of times that a thread of control was able to
obtain a cache region mutex without waiting</dd>
</dl>
</li>
</ul>
<a name="getRegionWait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionWait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRegionWait()</pre>
<div class="block">The number of times that a thread of control was forced to wait
before obtaining a cache region mutex.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of times that a thread of control was forced
to wait before obtaining a cache region mutex</dd>
</dl>
</li>
</ul>
<a name="getMultiversionFrozen--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultiversionFrozen</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMultiversionFrozen()</pre>
<div class="block">Number of buffers frozen.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of buffers frozen</dd>
</dl>
</li>
</ul>
<a name="getMultiversionThawed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultiversionThawed</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMultiversionThawed()</pre>
<div class="block">Number of buffers thawed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of buffers thawed</dd>
</dl>
</li>
</ul>
<a name="getMultiversionFreed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultiversionFreed</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMultiversionFreed()</pre>
<div class="block">Number of frozen buffers freed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of frozen buffers freed</dd>
</dl>
</li>
</ul>
<a name="getMultiversionReused--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultiversionReused</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMultiversionReused()</pre>
<div class="block">Number of outdated intermediate versions reused.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of outdated intermediate versions reused</dd>
</dl>
</li>
</ul>
<a name="getAlloc--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAlloc</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getAlloc()</pre>
<div class="block">Number of page allocations.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of page allocations</dd>
</dl>
</li>
</ul>
<a name="getAllocBuckets--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocBuckets</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getAllocBuckets()</pre>
<div class="block">Number of hash buckets checked during allocation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of hash buckets checked during allocation</dd>
</dl>
</li>
</ul>
<a name="getAllocMaxBuckets--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocMaxBuckets</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getAllocMaxBuckets()</pre>
<div class="block">Maximum number of hash buckets checked during an allocation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>maximum number of hash buckets checked during an allocation</dd>
</dl>
</li>
</ul>
<a name="getAllocPages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocPages</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getAllocPages()</pre>
<div class="block">Number of pages checked during allocation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of pages checked during allocation</dd>
</dl>
</li>
</ul>
<a name="getAllocMaxPages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocMaxPages</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getAllocMaxPages()</pre>
<div class="block">Maximum number of pages checked during an allocation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>maximum number of pages checked during an allocation</dd>
</dl>
</li>
</ul>
<a name="getIoWait--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIoWait</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getIoWait()</pre>
<div class="block">Number of operations blocked waiting for I/O to complete.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of operations blocked waiting for I/O to complete</dd>
</dl>
</li>
</ul>
<a name="getSyncInterrupted--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSyncInterrupted</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getSyncInterrupted()</pre>
<div class="block">Number of mpool sync operations interrupted.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of mpool sync operations interrupted</dd>
</dl>
</li>
</ul>
<a name="getRegSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegSize</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRegSize()</pre>
<div class="block">Individual cache size.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>individual cache size</dd>
</dl>
</li>
</ul>
<a name="getRegmax--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegmax</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getRegmax()</pre>
<div class="block">The maximum size, in bytes, of the mutex region.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum size, in bytes, of the mutex region</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">For convenience, the CacheStats class has a toString method that
lists all the data fields.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a String that lists all the data fields</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CacheStats.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.</font></small></p>
</body>
</html>