| <!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 (1.8.0_292) on Tue Jun 15 06:00:49 GMT 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>IOStatisticsSnapshot (Apache Hadoop Main 3.3.1 API)</title> |
| <meta name="date" content="2021-06-15"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="IOStatisticsSnapshot (Apache Hadoop Main 3.3.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"i9":10,"i10":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= 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="../../../../../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/IOStatisticsSnapshot.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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsLogging.html" title="class in org.apache.hadoop.fs.statistics"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSupport.html" title="class in org.apache.hadoop.fs.statistics"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html" target="_top">Frames</a></li> |
| <li><a href="IOStatisticsSnapshot.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: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.hadoop.fs.statistics</div> |
| <h2 title="Class IOStatisticsSnapshot" class="title">Class IOStatisticsSnapshot</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.hadoop.fs.statistics.IOStatisticsSnapshot</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a>, <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsAggregator.html" title="interface in org.apache.hadoop.fs.statistics">IOStatisticsAggregator</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Public |
| @InterfaceStability.Evolving |
| public final class <span class="typeNameLabel">IOStatisticsSnapshot</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsAggregator.html" title="interface in org.apache.hadoop.fs.statistics">IOStatisticsAggregator</a></pre> |
| <div class="block">Snapshot of statistics from a different source. |
| <p> |
| It is serializable so that frameworks which can use java serialization |
| to propagate data (Spark, Flink...) can send the statistics |
| back. For this reason, TreeMaps are explicitly used as field types, |
| even though IDEs can recommend use of Map instead. |
| For security reasons, untrusted java object streams should never be |
| deserialized. If for some reason this is required, use |
| <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#requiredSerializationClasses--"><code>requiredSerializationClasses()</code></a> to get the list of classes |
| used when deserializing instances of this object. |
| <p> |
| <p> |
| It is annotated for correct serializations with jackson2. |
| </p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.apache.hadoop.fs.statistics.IOStatisticsSnapshot">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.fs.statistics.IOStatistics"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.hadoop.fs.statistics.<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></h3> |
| <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#MAX_UNSET_VALUE">MAX_UNSET_VALUE</a>, <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#MIN_UNSET_VALUE">MIN_UNSET_VALUE</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#IOStatisticsSnapshot--">IOStatisticsSnapshot</a></span>()</code> |
| <div class="block">Construct.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#IOStatisticsSnapshot-org.apache.hadoop.fs.statistics.IOStatistics-">IOStatisticsSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</code> |
| <div class="block">Construct, taking a snapshot of the source statistics data |
| if the source is non-null.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#aggregate-org.apache.hadoop.fs.statistics.IOStatistics-">aggregate</a></span>(<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</code> |
| <div class="block">Aggregate the current statistics with the |
| source reference passed in.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#clear--">clear</a></span>()</code> |
| <div class="block">Clear all the maps.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#counters--">counters</a></span>()</code> |
| <div class="block">Map of counters.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#gauges--">gauges</a></span>()</code> |
| <div class="block">Map of gauges.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#maximums--">maximums</a></span>()</code> |
| <div class="block">Map of maximums.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/hadoop/fs/statistics/MeanStatistic.html" title="class in org.apache.hadoop.fs.statistics">MeanStatistic</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#meanStatistics--">meanStatistics</a></span>()</code> |
| <div class="block">Map of meanStatistics.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#minimums--">minimums</a></span>()</code> |
| <div class="block">Map of minimums.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#requiredSerializationClasses--">requiredSerializationClasses</a></span>()</code> |
| <div class="block">What classes are needed to deserialize this class? |
| Needed to securely unmarshall this from untrusted sources.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static org.apache.hadoop.util.JsonSerialization<<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html" title="class in org.apache.hadoop.fs.statistics">IOStatisticsSnapshot</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#serializer--">serializer</a></span>()</code> |
| <div class="block">Get a JSON serializer for this class.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#snapshot-org.apache.hadoop.fs.statistics.IOStatistics-">snapshot</a></span>(<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</code> |
| <div class="block">Take a snapshot.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="IOStatisticsSnapshot--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>IOStatisticsSnapshot</h4> |
| <pre>public IOStatisticsSnapshot()</pre> |
| <div class="block">Construct.</div> |
| </li> |
| </ul> |
| <a name="IOStatisticsSnapshot-org.apache.hadoop.fs.statistics.IOStatistics-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IOStatisticsSnapshot</h4> |
| <pre>public IOStatisticsSnapshot(<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</pre> |
| <div class="block">Construct, taking a snapshot of the source statistics data |
| if the source is non-null. |
| If the source is null, the empty maps are created</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>source</code> - statistics source. Nullable.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <div class="block">Clear all the maps.</div> |
| </li> |
| </ul> |
| <a name="snapshot-org.apache.hadoop.fs.statistics.IOStatistics-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>snapshot</h4> |
| <pre>public void snapshot(<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</pre> |
| <div class="block">Take a snapshot. |
| |
| This completely overwrites the map data with the statistics |
| from the source.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>source</code> - statistics source.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="aggregate-org.apache.hadoop.fs.statistics.IOStatistics-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>aggregate</h4> |
| <pre>public boolean aggregate(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> |
| <a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a> source)</pre> |
| <div class="block">Aggregate the current statistics with the |
| source reference passed in. |
| |
| The operation is synchronized.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsAggregator.html#aggregate-org.apache.hadoop.fs.statistics.IOStatistics-">aggregate</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsAggregator.html" title="interface in org.apache.hadoop.fs.statistics">IOStatisticsAggregator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>source</code> - source; may be null</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if a merge took place.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counters--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counters</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> counters()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#counters--">IOStatistics</a></code></span></div> |
| <div class="block">Map of counters.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#counters--">counters</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current map of counters.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauges--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauges</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> gauges()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#gauges--">IOStatistics</a></code></span></div> |
| <div class="block">Map of gauges.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#gauges--">gauges</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current map of gauges.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="minimums--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minimums</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> minimums()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#minimums--">IOStatistics</a></code></span></div> |
| <div class="block">Map of minimums.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#minimums--">minimums</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current map of minimums.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="maximums--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maximums</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> maximums()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#maximums--">IOStatistics</a></code></span></div> |
| <div class="block">Map of maximums.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#maximums--">maximums</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current map of maximums.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meanStatistics--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meanStatistics</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/hadoop/fs/statistics/MeanStatistic.html" title="class in org.apache.hadoop.fs.statistics">MeanStatistic</a>> meanStatistics()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#meanStatistics--">IOStatistics</a></code></span></div> |
| <div class="block">Map of meanStatistics.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html#meanStatistics--">meanStatistics</a></code> in interface <code><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatistics.html" title="interface in org.apache.hadoop.fs.statistics">IOStatistics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current map of MeanStatistic statistics.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="serializer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serializer</h4> |
| <pre>public static org.apache.hadoop.util.JsonSerialization<<a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html" title="class in org.apache.hadoop.fs.statistics">IOStatisticsSnapshot</a>> serializer()</pre> |
| <div class="block">Get a JSON serializer for this class.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a serializer.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="requiredSerializationClasses--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>requiredSerializationClasses</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>> requiredSerializationClasses()</pre> |
| <div class="block">What classes are needed to deserialize this class? |
| Needed to securely unmarshall this from untrusted sources.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of required classes to deserialize the data.</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="../../../../../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/IOStatisticsSnapshot.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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsLogging.html" title="class in org.apache.hadoop.fs.statistics"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/fs/statistics/IOStatisticsSupport.html" title="class in org.apache.hadoop.fs.statistics"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/hadoop/fs/statistics/IOStatisticsSnapshot.html" target="_top">Frames</a></li> |
| <li><a href="IOStatisticsSnapshot.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: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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>Copyright © 2021 <a href="https://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |