blob: bd3fa7629eb06d665a88a1b77d82a4885a11b810 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.1.0/javadoc/org/apache/ignite/PersistenceMetrics.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<!-- Generated by javadoc (version 1.7.0_80) on Thu Jul 20 19:37:39 UTC 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PersistenceMetrics (Ignite 2.1.0)</title>
<meta name="date" content="2017-07-20">
<link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PersistenceMetrics (Ignite 2.1.0)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PersistenceMetrics.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"><em>Ignite - In-Memory Data Fabric</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/ignite/MemoryMetrics.html" title="interface in org.apache.ignite"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/ignite/PersistenceMetrics.html" target="_top">Frames</a></li>
<li><a href="PersistenceMetrics.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></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>
</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 ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.ignite</div>
<h2 title="Interface PersistenceMetrics" class="title">Interface PersistenceMetrics</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../org/apache/ignite/mxbean/PersistenceMetricsMXBean.html" title="interface in org.apache.ignite.mxbean">PersistenceMetricsMXBean</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">PersistenceMetrics</span></pre>
<div class="block">Persistence metrics used to obtain statistics on persistence.
Use <code>IgniteCacheDatabaseSharedManager.persistentStoreMetrics()</code> to obtain persistent metrics.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointCopiedOnWritePagesNumber()">getLastCheckpointCopiedOnWritePagesNumber</a></strong>()</code>
<div class="block">Gets the number of pages copied to a temporary checkpoint buffer during the last checkpoint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointDataPagesNumber()">getLastCheckpointDataPagesNumber</a></strong>()</code>
<div class="block">Gets the number of data pages written during the last checkpoint.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointFsyncDuration()">getLastCheckpointFsyncDuration</a></strong>()</code>
<div class="block">Gets the duration of the sync phase of the last checkpoint in milliseconds.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointingDuration()">getLastCheckpointingDuration</a></strong>()</code>
<div class="block">Gets the duration of the last checkpoint in milliseconds.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointLockWaitDuration()">getLastCheckpointLockWaitDuration</a></strong>()</code>
<div class="block">Gets the duration of last checkpoint lock wait in milliseconds.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointMarkDuration()">getLastCheckpointMarkDuration</a></strong>()</code>
<div class="block">Gets the duration of last checkpoint mark phase in milliseconds.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointPagesWriteDuration()">getLastCheckpointPagesWriteDuration</a></strong>()</code>
<div class="block">Gets the duration of last checkpoint pages write phase in milliseconds.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getLastCheckpointTotalPagesNumber()">getLastCheckpointTotalPagesNumber</a></strong>()</code>
<div class="block">Gets the total number of pages written during the last checkpoint.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getWalArchiveSegments()">getWalArchiveSegments</a></strong>()</code>
<div class="block">Gets the current number of WAL segments in the WAL archive.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getWalFsyncTimeAverage()">getWalFsyncTimeAverage</a></strong>()</code>
<div class="block">Gets the average WAL fsync duration in microseconds over the last time interval.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getWalLoggingRate()">getWalLoggingRate</a></strong>()</code>
<div class="block">Gets the average number of WAL records per second written during the last time interval.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/ignite/PersistenceMetrics.html#getWalWritingRate()">getWalWritingRate</a></strong>()</code>
<div class="block">Gets the average number of bytes per second written during the last time interval.</div>
</td>
</tr>
</table>
</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="getWalLoggingRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWalLoggingRate</h4>
<pre>float&nbsp;getWalLoggingRate()</pre>
<div class="block">Gets the average number of WAL records per second written during the last time interval.
<p>
The length of time interval is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setRateTimeInterval(long)"><code>PersistentStoreConfiguration.setRateTimeInterval(long)</code></a>
configurartion property.
The number of subintervals is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setSubIntervals(int)"><code>PersistentStoreConfiguration.setSubIntervals(int)</code></a>
configuration property.</div>
</li>
</ul>
<a name="getWalWritingRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWalWritingRate</h4>
<pre>float&nbsp;getWalWritingRate()</pre>
<div class="block">Gets the average number of bytes per second written during the last time interval.
The length of time interval is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setRateTimeInterval(long)"><code>PersistentStoreConfiguration.setRateTimeInterval(long)</code></a>
configurartion property.
The number of subintervals is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setSubIntervals(int)"><code>PersistentStoreConfiguration.setSubIntervals(int)</code></a>
configuration property.</div>
</li>
</ul>
<a name="getWalArchiveSegments()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWalArchiveSegments</h4>
<pre>int&nbsp;getWalArchiveSegments()</pre>
<div class="block">Gets the current number of WAL segments in the WAL archive.</div>
</li>
</ul>
<a name="getWalFsyncTimeAverage()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWalFsyncTimeAverage</h4>
<pre>float&nbsp;getWalFsyncTimeAverage()</pre>
<div class="block">Gets the average WAL fsync duration in microseconds over the last time interval.
<p>
The length of time interval is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setRateTimeInterval(long)"><code>PersistentStoreConfiguration.setRateTimeInterval(long)</code></a>
configurartion property.
The number of subintervals is configured via <a href="../../../org/apache/ignite/configuration/PersistentStoreConfiguration.html#setSubIntervals(int)"><code>PersistentStoreConfiguration.setSubIntervals(int)</code></a>
configuration property.</div>
</li>
</ul>
<a name="getLastCheckpointingDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointingDuration</h4>
<pre>long&nbsp;getLastCheckpointingDuration()</pre>
<div class="block">Gets the duration of the last checkpoint in milliseconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Total checkpoint duration in milliseconds.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointLockWaitDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointLockWaitDuration</h4>
<pre>long&nbsp;getLastCheckpointLockWaitDuration()</pre>
<div class="block">Gets the duration of last checkpoint lock wait in milliseconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Checkpoint lock wait time in milliseconds.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointMarkDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointMarkDuration</h4>
<pre>long&nbsp;getLastCheckpointMarkDuration()</pre>
<div class="block">Gets the duration of last checkpoint mark phase in milliseconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Checkpoint mark duration in milliseconds.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointPagesWriteDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointPagesWriteDuration</h4>
<pre>long&nbsp;getLastCheckpointPagesWriteDuration()</pre>
<div class="block">Gets the duration of last checkpoint pages write phase in milliseconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Checkpoint pages write phase in milliseconds.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointFsyncDuration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointFsyncDuration</h4>
<pre>long&nbsp;getLastCheckpointFsyncDuration()</pre>
<div class="block">Gets the duration of the sync phase of the last checkpoint in milliseconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Checkpoint fsync time in milliseconds.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointTotalPagesNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointTotalPagesNumber</h4>
<pre>long&nbsp;getLastCheckpointTotalPagesNumber()</pre>
<div class="block">Gets the total number of pages written during the last checkpoint.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Total number of pages written during the last checkpoint.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointDataPagesNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCheckpointDataPagesNumber</h4>
<pre>long&nbsp;getLastCheckpointDataPagesNumber()</pre>
<div class="block">Gets the number of data pages written during the last checkpoint.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Total number of data pages written during the last checkpoint.</dd></dl>
</li>
</ul>
<a name="getLastCheckpointCopiedOnWritePagesNumber()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getLastCheckpointCopiedOnWritePagesNumber</h4>
<pre>long&nbsp;getLastCheckpointCopiedOnWritePagesNumber()</pre>
<div class="block">Gets the number of pages copied to a temporary checkpoint buffer during the last checkpoint.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Total number of pages copied to a temporary checkpoint buffer during the last checkpoint.</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PersistenceMetrics.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"><em>Ignite - In-Memory Data Fabric</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/ignite/MemoryMetrics.html" title="interface in org.apache.ignite"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/ignite/PersistenceMetrics.html" target="_top">Frames</a></li>
<li><a href="PersistenceMetrics.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All 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>
</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><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2017 Copyright &#169; Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Fabric</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.1.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; July 20 2017 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>