[120] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 2 | <!--NewPage--> |
---|
| 3 | <HTML> |
---|
| 4 | <HEAD> |
---|
| 5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:56 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | Counters (Hadoop 0.20.1 API) |
---|
| 8 | </TITLE> |
---|
| 9 | |
---|
| 10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
| 11 | |
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
| 13 | |
---|
| 14 | <SCRIPT type="text/javascript"> |
---|
| 15 | function windowTitle() |
---|
| 16 | { |
---|
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 18 | parent.document.title="Counters (Hadoop 0.20.1 API)"; |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | </SCRIPT> |
---|
| 22 | <NOSCRIPT> |
---|
| 23 | </NOSCRIPT> |
---|
| 24 | |
---|
| 25 | </HEAD> |
---|
| 26 | |
---|
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 28 | <HR> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 32 | <A NAME="navbar_top"><!-- --></A> |
---|
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 35 | <TR> |
---|
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 39 | <TR ALIGN="center" VALIGN="top"> |
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Counters.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 48 | </TR> |
---|
| 49 | </TABLE> |
---|
| 50 | </TD> |
---|
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 52 | </EM> |
---|
| 53 | </TD> |
---|
| 54 | </TR> |
---|
| 55 | |
---|
| 56 | <TR> |
---|
| 57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 58 | <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/Counters.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="Counters.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.hadoop.mapred</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class Counters</H2> |
---|
| 94 | <PRE> |
---|
| 95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
| 96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.Counters</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A>>, <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/hadoop/mapreduce/Counters.html" title="class in org.apache.hadoop.mapreduce"><CODE>Counters</CODE></A> instead.</I> |
---|
| 103 | <P> |
---|
| 104 | <DL> |
---|
| 105 | <DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
| 106 | </FONT>public class <B>Counters</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A>></DL> |
---|
| 107 | </PRE> |
---|
| 108 | |
---|
| 109 | <P> |
---|
| 110 | A set of named counters. |
---|
| 111 | |
---|
| 112 | <p><code>Counters</code> represent global counters, defined either by the |
---|
| 113 | Map-Reduce framework or applications. Each <code>Counter</code> can be of |
---|
| 114 | any <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><CODE>Enum</CODE></A> type.</p> |
---|
| 115 | |
---|
| 116 | <p><code>Counters</code> are bunched into <A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred"><CODE>Counters.Group</CODE></A>s, each comprising of |
---|
| 117 | counters from a particular <code>Enum</code> class. |
---|
| 118 | <P> |
---|
| 119 | |
---|
| 120 | <P> |
---|
| 121 | <HR> |
---|
| 122 | |
---|
| 123 | <P> |
---|
| 124 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
| 125 | |
---|
| 126 | <A NAME="nested_class_summary"><!-- --></A> |
---|
| 127 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 128 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 129 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 130 | <B>Nested Class Summary</B></FONT></TH> |
---|
| 131 | </TR> |
---|
| 132 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 134 | <CODE>static class</CODE></FONT></TD> |
---|
| 135 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></B></CODE> |
---|
| 136 | |
---|
| 137 | <BR> |
---|
| 138 | <B>Deprecated.</B> A counter record, comprising its name and value.</TD> |
---|
| 139 | </TR> |
---|
| 140 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 142 | <CODE>static class</CODE></FONT></TD> |
---|
| 143 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A></B></CODE> |
---|
| 144 | |
---|
| 145 | <BR> |
---|
| 146 | <B>Deprecated.</B> <code>Group</code> of counters, comprising of counters from a particular |
---|
| 147 | counter <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><CODE>Enum</CODE></A> class.</TD> |
---|
| 148 | </TR> |
---|
| 149 | </TABLE> |
---|
| 150 | |
---|
| 151 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 152 | |
---|
| 153 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 155 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 156 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 157 | <B>Constructor Summary</B></FONT></TH> |
---|
| 158 | </TR> |
---|
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 160 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#Counters()">Counters</A></B>()</CODE> |
---|
| 161 | |
---|
| 162 | <BR> |
---|
| 163 | <B>Deprecated.</B> </TD> |
---|
| 164 | </TR> |
---|
| 165 | </TABLE> |
---|
| 166 | |
---|
| 167 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 168 | |
---|
| 169 | <A NAME="method_summary"><!-- --></A> |
---|
| 170 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 171 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 172 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 173 | <B>Method Summary</B></FONT></TH> |
---|
| 174 | </TR> |
---|
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 177 | <CODE> boolean</CODE></FONT></TD> |
---|
| 178 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
---|
| 179 | |
---|
| 180 | <BR> |
---|
| 181 | <B>Deprecated.</B> </TD> |
---|
| 182 | </TR> |
---|
| 183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 185 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></CODE></FONT></TD> |
---|
| 186 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#findCounter(java.lang.Enum)">findCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key)</CODE> |
---|
| 187 | |
---|
| 188 | <BR> |
---|
| 189 | <B>Deprecated.</B> Find the counter for the given enum.</TD> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#findCounter(java.lang.String, int, java.lang.String)">findCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 195 | int id, |
---|
| 196 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
| 197 | |
---|
| 198 | <BR> |
---|
| 199 | <B>Deprecated.</B> <I></I> </TD> |
---|
| 200 | </TR> |
---|
| 201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 203 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></CODE></FONT></TD> |
---|
| 204 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#findCounter(java.lang.String, java.lang.String)">findCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 205 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
| 206 | |
---|
| 207 | <BR> |
---|
| 208 | <B>Deprecated.</B> Find a counter given the group and the name.</TD> |
---|
| 209 | </TR> |
---|
| 210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 212 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A></CODE></FONT></TD> |
---|
| 213 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#fromEscapedCompactString(java.lang.String)">fromEscapedCompactString</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> compactString)</CODE> |
---|
| 214 | |
---|
| 215 | <BR> |
---|
| 216 | <B>Deprecated.</B> Convert a stringified counter representation into a counter object.</TD> |
---|
| 217 | </TR> |
---|
| 218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 220 | <CODE> long</CODE></FONT></TD> |
---|
| 221 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#getCounter(java.lang.Enum)">getCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key)</CODE> |
---|
| 222 | |
---|
| 223 | <BR> |
---|
| 224 | <B>Deprecated.</B> Returns current value of the specified counter, or 0 if the counter |
---|
| 225 | does not exist.</TD> |
---|
| 226 | </TR> |
---|
| 227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 229 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A></CODE></FONT></TD> |
---|
| 230 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#getGroup(java.lang.String)">getGroup</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> groupName)</CODE> |
---|
| 231 | |
---|
| 232 | <BR> |
---|
| 233 | <B>Deprecated.</B> Returns the named counter group, or an empty group if there is none |
---|
| 234 | with the specified name.</TD> |
---|
| 235 | </TR> |
---|
| 236 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 237 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 238 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
---|
| 239 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#getGroupNames()">getGroupNames</A></B>()</CODE> |
---|
| 240 | |
---|
| 241 | <BR> |
---|
| 242 | <B>Deprecated.</B> Returns the names of all counter classes.</TD> |
---|
| 243 | </TR> |
---|
| 244 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 245 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 246 | <CODE> int</CODE></FONT></TD> |
---|
| 247 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#hashCode()">hashCode</A></B>()</CODE> |
---|
| 248 | |
---|
| 249 | <BR> |
---|
| 250 | <B>Deprecated.</B> </TD> |
---|
| 251 | </TR> |
---|
| 252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 254 | <CODE> void</CODE></FONT></TD> |
---|
| 255 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#incrAllCounters(org.apache.hadoop.mapred.Counters)">incrAllCounters</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> other)</CODE> |
---|
| 256 | |
---|
| 257 | <BR> |
---|
| 258 | <B>Deprecated.</B> Increments multiple counters by their amounts in another Counters |
---|
| 259 | instance.</TD> |
---|
| 260 | </TR> |
---|
| 261 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 262 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 263 | <CODE> void</CODE></FONT></TD> |
---|
| 264 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#incrCounter(java.lang.Enum, long)">incrCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key, |
---|
| 265 | long amount)</CODE> |
---|
| 266 | |
---|
| 267 | <BR> |
---|
| 268 | <B>Deprecated.</B> Increments the specified counter by the specified amount, creating it if |
---|
| 269 | it didn't already exist.</TD> |
---|
| 270 | </TR> |
---|
| 271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 273 | <CODE> void</CODE></FONT></TD> |
---|
| 274 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#incrCounter(java.lang.String, java.lang.String, long)">incrCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 275 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> counter, |
---|
| 276 | long amount)</CODE> |
---|
| 277 | |
---|
| 278 | <BR> |
---|
| 279 | <B>Deprecated.</B> Increments the specified counter by the specified amount, creating it if |
---|
| 280 | it didn't already exist.</TD> |
---|
| 281 | </TR> |
---|
| 282 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 283 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 284 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A>></CODE></FONT></TD> |
---|
| 285 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#iterator()">iterator</A></B>()</CODE> |
---|
| 286 | |
---|
| 287 | <BR> |
---|
| 288 | <B>Deprecated.</B> </TD> |
---|
| 289 | </TR> |
---|
| 290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 292 | <CODE> void</CODE></FONT></TD> |
---|
| 293 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#log(org.apache.commons.logging.Log)">log</A></B>(org.apache.commons.logging.Log log)</CODE> |
---|
| 294 | |
---|
| 295 | <BR> |
---|
| 296 | <B>Deprecated.</B> Logs the current counter values.</TD> |
---|
| 297 | </TR> |
---|
| 298 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 299 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 300 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 301 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#makeCompactString()">makeCompactString</A></B>()</CODE> |
---|
| 302 | |
---|
| 303 | <BR> |
---|
| 304 | <B>Deprecated.</B> Convert a counters object into a single line that is easy to parse.</TD> |
---|
| 305 | </TR> |
---|
| 306 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 307 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 308 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 309 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#makeEscapedCompactString()">makeEscapedCompactString</A></B>()</CODE> |
---|
| 310 | |
---|
| 311 | <BR> |
---|
| 312 | <B>Deprecated.</B> Represent the counter in a textual format that can be converted back to |
---|
| 313 | its object form</TD> |
---|
| 314 | </TR> |
---|
| 315 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 317 | <CODE> void</CODE></FONT></TD> |
---|
| 318 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
| 319 | |
---|
| 320 | <BR> |
---|
| 321 | <B>Deprecated.</B> Read a set of groups.</TD> |
---|
| 322 | </TR> |
---|
| 323 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 325 | <CODE> int</CODE></FONT></TD> |
---|
| 326 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#size()">size</A></B>()</CODE> |
---|
| 327 | |
---|
| 328 | <BR> |
---|
| 329 | <B>Deprecated.</B> Returns the total number of counters, by summing the number of counters |
---|
| 330 | in each group.</TD> |
---|
| 331 | </TR> |
---|
| 332 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 333 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 334 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A></CODE></FONT></TD> |
---|
| 335 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#sum(org.apache.hadoop.mapred.Counters, org.apache.hadoop.mapred.Counters)">sum</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> a, |
---|
| 336 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> b)</CODE> |
---|
| 337 | |
---|
| 338 | <BR> |
---|
| 339 | <B>Deprecated.</B> Convenience method for computing the sum of two sets of counters.</TD> |
---|
| 340 | </TR> |
---|
| 341 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 342 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 343 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 344 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#toString()">toString</A></B>()</CODE> |
---|
| 345 | |
---|
| 346 | <BR> |
---|
| 347 | <B>Deprecated.</B> Return textual representation of the counter values.</TD> |
---|
| 348 | </TR> |
---|
| 349 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 350 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 351 | <CODE> void</CODE></FONT></TD> |
---|
| 352 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE> |
---|
| 353 | |
---|
| 354 | <BR> |
---|
| 355 | <B>Deprecated.</B> Write the set of groups.</TD> |
---|
| 356 | </TR> |
---|
| 357 | </TABLE> |
---|
| 358 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 359 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 360 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 361 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
| 362 | </TR> |
---|
| 363 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 364 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
| 365 | </TR> |
---|
| 366 | </TABLE> |
---|
| 367 | |
---|
| 368 | <P> |
---|
| 369 | |
---|
| 370 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 371 | |
---|
| 372 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 373 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 374 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 375 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 376 | <B>Constructor Detail</B></FONT></TH> |
---|
| 377 | </TR> |
---|
| 378 | </TABLE> |
---|
| 379 | |
---|
| 380 | <A NAME="Counters()"><!-- --></A><H3> |
---|
| 381 | Counters</H3> |
---|
| 382 | <PRE> |
---|
| 383 | public <B>Counters</B>()</PRE> |
---|
| 384 | <DL> |
---|
| 385 | <DD><B>Deprecated.</B> </DL> |
---|
| 386 | |
---|
| 387 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 388 | |
---|
| 389 | <A NAME="method_detail"><!-- --></A> |
---|
| 390 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 391 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 392 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 393 | <B>Method Detail</B></FONT></TH> |
---|
| 394 | </TR> |
---|
| 395 | </TABLE> |
---|
| 396 | |
---|
| 397 | <A NAME="getGroupNames()"><!-- --></A><H3> |
---|
| 398 | getGroupNames</H3> |
---|
| 399 | <PRE> |
---|
| 400 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getGroupNames</B>()</PRE> |
---|
| 401 | <DL> |
---|
| 402 | <DD><B>Deprecated.</B> <DD>Returns the names of all counter classes. |
---|
| 403 | <P> |
---|
| 404 | <DD><DL> |
---|
| 405 | </DL> |
---|
| 406 | </DD> |
---|
| 407 | <DD><DL> |
---|
| 408 | |
---|
| 409 | <DT><B>Returns:</B><DD>Set of counter names.</DL> |
---|
| 410 | </DD> |
---|
| 411 | </DL> |
---|
| 412 | <HR> |
---|
| 413 | |
---|
| 414 | <A NAME="iterator()"><!-- --></A><H3> |
---|
| 415 | iterator</H3> |
---|
| 416 | <PRE> |
---|
| 417 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A>> <B>iterator</B>()</PRE> |
---|
| 418 | <DL> |
---|
| 419 | <DD><B>Deprecated.</B> <DD><DL> |
---|
| 420 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A>></CODE></DL> |
---|
| 421 | </DD> |
---|
| 422 | <DD><DL> |
---|
| 423 | </DL> |
---|
| 424 | </DD> |
---|
| 425 | </DL> |
---|
| 426 | <HR> |
---|
| 427 | |
---|
| 428 | <A NAME="getGroup(java.lang.String)"><!-- --></A><H3> |
---|
| 429 | getGroup</H3> |
---|
| 430 | <PRE> |
---|
| 431 | public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html" title="class in org.apache.hadoop.mapred">Counters.Group</A> <B>getGroup</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> groupName)</PRE> |
---|
| 432 | <DL> |
---|
| 433 | <DD><B>Deprecated.</B> <DD>Returns the named counter group, or an empty group if there is none |
---|
| 434 | with the specified name. |
---|
| 435 | <P> |
---|
| 436 | <DD><DL> |
---|
| 437 | </DL> |
---|
| 438 | </DD> |
---|
| 439 | <DD><DL> |
---|
| 440 | </DL> |
---|
| 441 | </DD> |
---|
| 442 | </DL> |
---|
| 443 | <HR> |
---|
| 444 | |
---|
| 445 | <A NAME="findCounter(java.lang.Enum)"><!-- --></A><H3> |
---|
| 446 | findCounter</H3> |
---|
| 447 | <PRE> |
---|
| 448 | public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A> <B>findCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key)</PRE> |
---|
| 449 | <DL> |
---|
| 450 | <DD><B>Deprecated.</B> <DD>Find the counter for the given enum. The same enum will always return the |
---|
| 451 | same counter. |
---|
| 452 | <P> |
---|
| 453 | <DD><DL> |
---|
| 454 | </DL> |
---|
| 455 | </DD> |
---|
| 456 | <DD><DL> |
---|
| 457 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - the counter key |
---|
| 458 | <DT><B>Returns:</B><DD>the matching counter object</DL> |
---|
| 459 | </DD> |
---|
| 460 | </DL> |
---|
| 461 | <HR> |
---|
| 462 | |
---|
| 463 | <A NAME="findCounter(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 464 | findCounter</H3> |
---|
| 465 | <PRE> |
---|
| 466 | public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A> <B>findCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 467 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
| 468 | <DL> |
---|
| 469 | <DD><B>Deprecated.</B> <DD>Find a counter given the group and the name. |
---|
| 470 | <P> |
---|
| 471 | <DD><DL> |
---|
| 472 | </DL> |
---|
| 473 | </DD> |
---|
| 474 | <DD><DL> |
---|
| 475 | <DT><B>Parameters:</B><DD><CODE>group</CODE> - the name of the group<DD><CODE>name</CODE> - the internal name of the counter |
---|
| 476 | <DT><B>Returns:</B><DD>the counter for that name</DL> |
---|
| 477 | </DD> |
---|
| 478 | </DL> |
---|
| 479 | <HR> |
---|
| 480 | |
---|
| 481 | <A NAME="findCounter(java.lang.String, int, java.lang.String)"><!-- --></A><H3> |
---|
| 482 | findCounter</H3> |
---|
| 483 | <PRE> |
---|
| 484 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
| 485 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A> <B>findCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 486 | int id, |
---|
| 487 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
| 488 | <DL> |
---|
| 489 | <DD><B>Deprecated.</B> <I></I> |
---|
| 490 | <P> |
---|
| 491 | <DD>Find a counter by using strings |
---|
| 492 | <P> |
---|
| 493 | <DD><DL> |
---|
| 494 | </DL> |
---|
| 495 | </DD> |
---|
| 496 | <DD><DL> |
---|
| 497 | <DT><B>Parameters:</B><DD><CODE>group</CODE> - the name of the group<DD><CODE>id</CODE> - the id of the counter within the group (0 to N-1)<DD><CODE>name</CODE> - the internal name of the counter |
---|
| 498 | <DT><B>Returns:</B><DD>the counter for that name</DL> |
---|
| 499 | </DD> |
---|
| 500 | </DL> |
---|
| 501 | <HR> |
---|
| 502 | |
---|
| 503 | <A NAME="incrCounter(java.lang.Enum, long)"><!-- --></A><H3> |
---|
| 504 | incrCounter</H3> |
---|
| 505 | <PRE> |
---|
| 506 | public void <B>incrCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key, |
---|
| 507 | long amount)</PRE> |
---|
| 508 | <DL> |
---|
| 509 | <DD><B>Deprecated.</B> <DD>Increments the specified counter by the specified amount, creating it if |
---|
| 510 | it didn't already exist. |
---|
| 511 | <P> |
---|
| 512 | <DD><DL> |
---|
| 513 | </DL> |
---|
| 514 | </DD> |
---|
| 515 | <DD><DL> |
---|
| 516 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - identifies a counter<DD><CODE>amount</CODE> - amount by which counter is to be incremented</DL> |
---|
| 517 | </DD> |
---|
| 518 | </DL> |
---|
| 519 | <HR> |
---|
| 520 | |
---|
| 521 | <A NAME="incrCounter(java.lang.String, java.lang.String, long)"><!-- --></A><H3> |
---|
| 522 | incrCounter</H3> |
---|
| 523 | <PRE> |
---|
| 524 | public void <B>incrCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 525 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> counter, |
---|
| 526 | long amount)</PRE> |
---|
| 527 | <DL> |
---|
| 528 | <DD><B>Deprecated.</B> <DD>Increments the specified counter by the specified amount, creating it if |
---|
| 529 | it didn't already exist. |
---|
| 530 | <P> |
---|
| 531 | <DD><DL> |
---|
| 532 | </DL> |
---|
| 533 | </DD> |
---|
| 534 | <DD><DL> |
---|
| 535 | <DT><B>Parameters:</B><DD><CODE>group</CODE> - the name of the group<DD><CODE>counter</CODE> - the internal name of the counter<DD><CODE>amount</CODE> - amount by which counter is to be incremented</DL> |
---|
| 536 | </DD> |
---|
| 537 | </DL> |
---|
| 538 | <HR> |
---|
| 539 | |
---|
| 540 | <A NAME="getCounter(java.lang.Enum)"><!-- --></A><H3> |
---|
| 541 | getCounter</H3> |
---|
| 542 | <PRE> |
---|
| 543 | public long <B>getCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A> key)</PRE> |
---|
| 544 | <DL> |
---|
| 545 | <DD><B>Deprecated.</B> <DD>Returns current value of the specified counter, or 0 if the counter |
---|
| 546 | does not exist. |
---|
| 547 | <P> |
---|
| 548 | <DD><DL> |
---|
| 549 | </DL> |
---|
| 550 | </DD> |
---|
| 551 | <DD><DL> |
---|
| 552 | </DL> |
---|
| 553 | </DD> |
---|
| 554 | </DL> |
---|
| 555 | <HR> |
---|
| 556 | |
---|
| 557 | <A NAME="incrAllCounters(org.apache.hadoop.mapred.Counters)"><!-- --></A><H3> |
---|
| 558 | incrAllCounters</H3> |
---|
| 559 | <PRE> |
---|
| 560 | public void <B>incrAllCounters</B>(<A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> other)</PRE> |
---|
| 561 | <DL> |
---|
| 562 | <DD><B>Deprecated.</B> <DD>Increments multiple counters by their amounts in another Counters |
---|
| 563 | instance. |
---|
| 564 | <P> |
---|
| 565 | <DD><DL> |
---|
| 566 | </DL> |
---|
| 567 | </DD> |
---|
| 568 | <DD><DL> |
---|
| 569 | <DT><B>Parameters:</B><DD><CODE>other</CODE> - the other Counters instance</DL> |
---|
| 570 | </DD> |
---|
| 571 | </DL> |
---|
| 572 | <HR> |
---|
| 573 | |
---|
| 574 | <A NAME="sum(org.apache.hadoop.mapred.Counters, org.apache.hadoop.mapred.Counters)"><!-- --></A><H3> |
---|
| 575 | sum</H3> |
---|
| 576 | <PRE> |
---|
| 577 | public static <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> <B>sum</B>(<A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> a, |
---|
| 578 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> b)</PRE> |
---|
| 579 | <DL> |
---|
| 580 | <DD><B>Deprecated.</B> <DD>Convenience method for computing the sum of two sets of counters. |
---|
| 581 | <P> |
---|
| 582 | <DD><DL> |
---|
| 583 | </DL> |
---|
| 584 | </DD> |
---|
| 585 | <DD><DL> |
---|
| 586 | </DL> |
---|
| 587 | </DD> |
---|
| 588 | </DL> |
---|
| 589 | <HR> |
---|
| 590 | |
---|
| 591 | <A NAME="size()"><!-- --></A><H3> |
---|
| 592 | size</H3> |
---|
| 593 | <PRE> |
---|
| 594 | public int <B>size</B>()</PRE> |
---|
| 595 | <DL> |
---|
| 596 | <DD><B>Deprecated.</B> <DD>Returns the total number of counters, by summing the number of counters |
---|
| 597 | in each group. |
---|
| 598 | <P> |
---|
| 599 | <DD><DL> |
---|
| 600 | </DL> |
---|
| 601 | </DD> |
---|
| 602 | <DD><DL> |
---|
| 603 | </DL> |
---|
| 604 | </DD> |
---|
| 605 | </DL> |
---|
| 606 | <HR> |
---|
| 607 | |
---|
| 608 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
| 609 | write</H3> |
---|
| 610 | <PRE> |
---|
| 611 | public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out) |
---|
| 612 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 613 | <DL> |
---|
| 614 | <DD><B>Deprecated.</B> <DD>Write the set of groups. |
---|
| 615 | The external format is: |
---|
| 616 | #groups (groupName group)* |
---|
| 617 | |
---|
| 618 | i.e. the number of groups followed by 0 or more groups, where each |
---|
| 619 | group is of the form: |
---|
| 620 | |
---|
| 621 | groupDisplayName #counters (false | true counter)* |
---|
| 622 | |
---|
| 623 | where each counter is of the form: |
---|
| 624 | |
---|
| 625 | name (false | true displayName) value |
---|
| 626 | <P> |
---|
| 627 | <DD><DL> |
---|
| 628 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
| 629 | </DD> |
---|
| 630 | <DD><DL> |
---|
| 631 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
| 632 | <DT><B>Throws:</B> |
---|
| 633 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 634 | </DD> |
---|
| 635 | </DL> |
---|
| 636 | <HR> |
---|
| 637 | |
---|
| 638 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
| 639 | readFields</H3> |
---|
| 640 | <PRE> |
---|
| 641 | public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
| 642 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 643 | <DL> |
---|
| 644 | <DD><B>Deprecated.</B> <DD>Read a set of groups. |
---|
| 645 | <P> |
---|
| 646 | <DD><DL> |
---|
| 647 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
| 648 | </DD> |
---|
| 649 | <DD><DL> |
---|
| 650 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
| 651 | <DT><B>Throws:</B> |
---|
| 652 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 653 | </DD> |
---|
| 654 | </DL> |
---|
| 655 | <HR> |
---|
| 656 | |
---|
| 657 | <A NAME="log(org.apache.commons.logging.Log)"><!-- --></A><H3> |
---|
| 658 | log</H3> |
---|
| 659 | <PRE> |
---|
| 660 | public void <B>log</B>(org.apache.commons.logging.Log log)</PRE> |
---|
| 661 | <DL> |
---|
| 662 | <DD><B>Deprecated.</B> <DD>Logs the current counter values. |
---|
| 663 | <P> |
---|
| 664 | <DD><DL> |
---|
| 665 | </DL> |
---|
| 666 | </DD> |
---|
| 667 | <DD><DL> |
---|
| 668 | <DT><B>Parameters:</B><DD><CODE>log</CODE> - The log to use.</DL> |
---|
| 669 | </DD> |
---|
| 670 | </DL> |
---|
| 671 | <HR> |
---|
| 672 | |
---|
| 673 | <A NAME="toString()"><!-- --></A><H3> |
---|
| 674 | toString</H3> |
---|
| 675 | <PRE> |
---|
| 676 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> |
---|
| 677 | <DL> |
---|
| 678 | <DD><B>Deprecated.</B> <DD>Return textual representation of the counter values. |
---|
| 679 | <P> |
---|
| 680 | <DD><DL> |
---|
| 681 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
| 682 | </DD> |
---|
| 683 | <DD><DL> |
---|
| 684 | </DL> |
---|
| 685 | </DD> |
---|
| 686 | </DL> |
---|
| 687 | <HR> |
---|
| 688 | |
---|
| 689 | <A NAME="makeCompactString()"><!-- --></A><H3> |
---|
| 690 | makeCompactString</H3> |
---|
| 691 | <PRE> |
---|
| 692 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>makeCompactString</B>()</PRE> |
---|
| 693 | <DL> |
---|
| 694 | <DD><B>Deprecated.</B> <DD>Convert a counters object into a single line that is easy to parse. |
---|
| 695 | <P> |
---|
| 696 | <DD><DL> |
---|
| 697 | </DL> |
---|
| 698 | </DD> |
---|
| 699 | <DD><DL> |
---|
| 700 | |
---|
| 701 | <DT><B>Returns:</B><DD>the string with "name=value" for each counter and separated by ","</DL> |
---|
| 702 | </DD> |
---|
| 703 | </DL> |
---|
| 704 | <HR> |
---|
| 705 | |
---|
| 706 | <A NAME="makeEscapedCompactString()"><!-- --></A><H3> |
---|
| 707 | makeEscapedCompactString</H3> |
---|
| 708 | <PRE> |
---|
| 709 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>makeEscapedCompactString</B>()</PRE> |
---|
| 710 | <DL> |
---|
| 711 | <DD><B>Deprecated.</B> <DD>Represent the counter in a textual format that can be converted back to |
---|
| 712 | its object form |
---|
| 713 | <P> |
---|
| 714 | <DD><DL> |
---|
| 715 | </DL> |
---|
| 716 | </DD> |
---|
| 717 | <DD><DL> |
---|
| 718 | |
---|
| 719 | <DT><B>Returns:</B><DD>the string in the following format |
---|
| 720 | {(groupname)(group-displayname)[(countername)(displayname)(value)][][]}{}{}</DL> |
---|
| 721 | </DD> |
---|
| 722 | </DL> |
---|
| 723 | <HR> |
---|
| 724 | |
---|
| 725 | <A NAME="fromEscapedCompactString(java.lang.String)"><!-- --></A><H3> |
---|
| 726 | fromEscapedCompactString</H3> |
---|
| 727 | <PRE> |
---|
| 728 | public static <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> <B>fromEscapedCompactString</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> compactString) |
---|
| 729 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></PRE> |
---|
| 730 | <DL> |
---|
| 731 | <DD><B>Deprecated.</B> <DD>Convert a stringified counter representation into a counter object. Note |
---|
| 732 | that the counter can be recovered if its stringified using |
---|
| 733 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html#makeEscapedCompactString()"><CODE>makeEscapedCompactString()</CODE></A>. |
---|
| 734 | <P> |
---|
| 735 | <DD><DL> |
---|
| 736 | </DL> |
---|
| 737 | </DD> |
---|
| 738 | <DD><DL> |
---|
| 739 | |
---|
| 740 | <DT><B>Returns:</B><DD>a Counter |
---|
| 741 | <DT><B>Throws:</B> |
---|
| 742 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></CODE></DL> |
---|
| 743 | </DD> |
---|
| 744 | </DL> |
---|
| 745 | <HR> |
---|
| 746 | |
---|
| 747 | <A NAME="hashCode()"><!-- --></A><H3> |
---|
| 748 | hashCode</H3> |
---|
| 749 | <PRE> |
---|
| 750 | public int <B>hashCode</B>()</PRE> |
---|
| 751 | <DL> |
---|
| 752 | <DD><B>Deprecated.</B> <DD><DL> |
---|
| 753 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
| 754 | </DD> |
---|
| 755 | <DD><DL> |
---|
| 756 | </DL> |
---|
| 757 | </DD> |
---|
| 758 | </DL> |
---|
| 759 | <HR> |
---|
| 760 | |
---|
| 761 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
---|
| 762 | equals</H3> |
---|
| 763 | <PRE> |
---|
| 764 | public boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
---|
| 765 | <DL> |
---|
| 766 | <DD><B>Deprecated.</B> <DD><DL> |
---|
| 767 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
| 768 | </DD> |
---|
| 769 | <DD><DL> |
---|
| 770 | </DL> |
---|
| 771 | </DD> |
---|
| 772 | </DL> |
---|
| 773 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 774 | <HR> |
---|
| 775 | |
---|
| 776 | |
---|
| 777 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 778 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 779 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 780 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 781 | <TR> |
---|
| 782 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 783 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 784 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 785 | <TR ALIGN="center" VALIGN="top"> |
---|
| 786 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 787 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 788 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 789 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Counters.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 790 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 791 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 792 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 793 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 794 | </TR> |
---|
| 795 | </TABLE> |
---|
| 796 | </TD> |
---|
| 797 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 798 | </EM> |
---|
| 799 | </TD> |
---|
| 800 | </TR> |
---|
| 801 | |
---|
| 802 | <TR> |
---|
| 803 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 804 | <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 805 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 806 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 807 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/Counters.html" target="_top"><B>FRAMES</B></A> |
---|
| 808 | <A HREF="Counters.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 809 | <SCRIPT type="text/javascript"> |
---|
| 810 | <!-- |
---|
| 811 | if(window==top) { |
---|
| 812 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 813 | } |
---|
| 814 | //--> |
---|
| 815 | </SCRIPT> |
---|
| 816 | <NOSCRIPT> |
---|
| 817 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 818 | </NOSCRIPT> |
---|
| 819 | |
---|
| 820 | |
---|
| 821 | </FONT></TD> |
---|
| 822 | </TR> |
---|
| 823 | <TR> |
---|
| 824 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 825 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 826 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 827 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 828 | </TR> |
---|
| 829 | </TABLE> |
---|
| 830 | <A NAME="skip-navbar_bottom"></A> |
---|
| 831 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 832 | |
---|
| 833 | <HR> |
---|
| 834 | Copyright © 2009 The Apache Software Foundation |
---|
| 835 | </BODY> |
---|
| 836 | </HTML> |
---|