[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:54 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | MetricsRecordImpl (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="MetricsRecordImpl (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/MetricsRecordImpl.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/metrics/spi/CompositeContext.html" title="class in org.apache.hadoop.metrics.spi"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricValue.html" title="class in org.apache.hadoop.metrics.spi"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics/spi/MetricsRecordImpl.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="MetricsRecordImpl.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: NESTED | 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.metrics.spi</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class MetricsRecordImpl</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.metrics.spi.MetricsRecordImpl</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <DL> |
---|
| 103 | <DT><PRE>public class <B>MetricsRecordImpl</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/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | An implementation of MetricsRecord. Keeps a back-pointer to the context |
---|
| 108 | from which it was created, and delegates back to it on <code>update</code> |
---|
| 109 | and <code>remove()</code>. |
---|
| 110 | <P> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | <HR> |
---|
| 114 | |
---|
| 115 | <P> |
---|
| 116 | |
---|
| 117 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 118 | |
---|
| 119 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 122 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 123 | <B>Constructor Summary</B></FONT></TH> |
---|
| 124 | </TR> |
---|
| 125 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 126 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 127 | <CODE>protected </CODE></FONT></TD> |
---|
| 128 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#MetricsRecordImpl(java.lang.String, org.apache.hadoop.metrics.spi.AbstractMetricsContext)">MetricsRecordImpl</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> recordName, |
---|
| 129 | <A HREF="../../../../../org/apache/hadoop/metrics/spi/AbstractMetricsContext.html" title="class in org.apache.hadoop.metrics.spi">AbstractMetricsContext</A> context)</CODE> |
---|
| 130 | |
---|
| 131 | <BR> |
---|
| 132 | Creates a new instance of FileRecord</TD> |
---|
| 133 | </TR> |
---|
| 134 | </TABLE> |
---|
| 135 | |
---|
| 136 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 137 | |
---|
| 138 | <A NAME="method_summary"><!-- --></A> |
---|
| 139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 140 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 141 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 142 | <B>Method Summary</B></FONT></TH> |
---|
| 143 | </TR> |
---|
| 144 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 146 | <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> |
---|
| 147 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#getRecordName()">getRecordName</A></B>()</CODE> |
---|
| 148 | |
---|
| 149 | <BR> |
---|
| 150 | Returns the record name.</TD> |
---|
| 151 | </TR> |
---|
| 152 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 153 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 154 | <CODE> void</CODE></FONT></TD> |
---|
| 155 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#incrMetric(java.lang.String, byte)">incrMetric</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> metricName, |
---|
| 156 | byte metricValue)</CODE> |
---|
| 157 | |
---|
| 158 | <BR> |
---|
| 159 | Increments the named metric by the specified value.</TD> |
---|
| 160 | </TR> |
---|
| 161 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 162 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 163 | <CODE> void</CODE></FONT></TD> |
---|
| 164 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#incrMetric(java.lang.String, float)">incrMetric</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> metricName, |
---|
| 165 | float metricValue)</CODE> |
---|
| 166 | |
---|
| 167 | <BR> |
---|
| 168 | Increments the named metric by the specified value.</TD> |
---|
| 169 | </TR> |
---|
| 170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 172 | <CODE> void</CODE></FONT></TD> |
---|
| 173 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#incrMetric(java.lang.String, int)">incrMetric</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> metricName, |
---|
| 174 | int metricValue)</CODE> |
---|
| 175 | |
---|
| 176 | <BR> |
---|
| 177 | Increments the named metric by the specified value.</TD> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <CODE> void</CODE></FONT></TD> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#incrMetric(java.lang.String, long)">incrMetric</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> metricName, |
---|
| 183 | long metricValue)</CODE> |
---|
| 184 | |
---|
| 185 | <BR> |
---|
| 186 | Increments the named metric by the specified value.</TD> |
---|
| 187 | </TR> |
---|
| 188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 190 | <CODE> void</CODE></FONT></TD> |
---|
| 191 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#incrMetric(java.lang.String, short)">incrMetric</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> metricName, |
---|
| 192 | short metricValue)</CODE> |
---|
| 193 | |
---|
| 194 | <BR> |
---|
| 195 | Increments the named metric by the specified value.</TD> |
---|
| 196 | </TR> |
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 199 | <CODE> void</CODE></FONT></TD> |
---|
| 200 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#remove()">remove</A></B>()</CODE> |
---|
| 201 | |
---|
| 202 | <BR> |
---|
| 203 | Removes the row, if it exists, in the buffered data table having tags |
---|
| 204 | that equal the tags that have been set on this record.</TD> |
---|
| 205 | </TR> |
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 208 | <CODE> void</CODE></FONT></TD> |
---|
| 209 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#removeTag(java.lang.String)">removeTag</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> tagName)</CODE> |
---|
| 210 | |
---|
| 211 | <BR> |
---|
| 212 | Removes any tag of the specified name.</TD> |
---|
| 213 | </TR> |
---|
| 214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 216 | <CODE> void</CODE></FONT></TD> |
---|
| 217 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setMetric(java.lang.String, byte)">setMetric</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> metricName, |
---|
| 218 | byte metricValue)</CODE> |
---|
| 219 | |
---|
| 220 | <BR> |
---|
| 221 | Sets the named metric to the specified value.</TD> |
---|
| 222 | </TR> |
---|
| 223 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 225 | <CODE> void</CODE></FONT></TD> |
---|
| 226 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setMetric(java.lang.String, float)">setMetric</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> metricName, |
---|
| 227 | float metricValue)</CODE> |
---|
| 228 | |
---|
| 229 | <BR> |
---|
| 230 | Sets the named metric to the specified value.</TD> |
---|
| 231 | </TR> |
---|
| 232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 234 | <CODE> void</CODE></FONT></TD> |
---|
| 235 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setMetric(java.lang.String, int)">setMetric</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> metricName, |
---|
| 236 | int metricValue)</CODE> |
---|
| 237 | |
---|
| 238 | <BR> |
---|
| 239 | Sets the named metric to the specified value.</TD> |
---|
| 240 | </TR> |
---|
| 241 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 243 | <CODE> void</CODE></FONT></TD> |
---|
| 244 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setMetric(java.lang.String, long)">setMetric</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> metricName, |
---|
| 245 | long metricValue)</CODE> |
---|
| 246 | |
---|
| 247 | <BR> |
---|
| 248 | Sets the named metric to the specified value.</TD> |
---|
| 249 | </TR> |
---|
| 250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 252 | <CODE> void</CODE></FONT></TD> |
---|
| 253 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setMetric(java.lang.String, short)">setMetric</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> metricName, |
---|
| 254 | short metricValue)</CODE> |
---|
| 255 | |
---|
| 256 | <BR> |
---|
| 257 | Sets the named metric to the specified value.</TD> |
---|
| 258 | </TR> |
---|
| 259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 261 | <CODE> void</CODE></FONT></TD> |
---|
| 262 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setTag(java.lang.String, byte)">setTag</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> tagName, |
---|
| 263 | byte tagValue)</CODE> |
---|
| 264 | |
---|
| 265 | <BR> |
---|
| 266 | Sets the named tag to the specified value.</TD> |
---|
| 267 | </TR> |
---|
| 268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 270 | <CODE> void</CODE></FONT></TD> |
---|
| 271 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setTag(java.lang.String, int)">setTag</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> tagName, |
---|
| 272 | int tagValue)</CODE> |
---|
| 273 | |
---|
| 274 | <BR> |
---|
| 275 | Sets the named tag to the specified value.</TD> |
---|
| 276 | </TR> |
---|
| 277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 278 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 279 | <CODE> void</CODE></FONT></TD> |
---|
| 280 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setTag(java.lang.String, long)">setTag</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> tagName, |
---|
| 281 | long tagValue)</CODE> |
---|
| 282 | |
---|
| 283 | <BR> |
---|
| 284 | Sets the named tag to the specified value.</TD> |
---|
| 285 | </TR> |
---|
| 286 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 287 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 288 | <CODE> void</CODE></FONT></TD> |
---|
| 289 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setTag(java.lang.String, short)">setTag</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> tagName, |
---|
| 290 | short tagValue)</CODE> |
---|
| 291 | |
---|
| 292 | <BR> |
---|
| 293 | Sets the named tag to the specified value.</TD> |
---|
| 294 | </TR> |
---|
| 295 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 296 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 297 | <CODE> void</CODE></FONT></TD> |
---|
| 298 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#setTag(java.lang.String, java.lang.String)">setTag</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> tagName, |
---|
| 299 | <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> tagValue)</CODE> |
---|
| 300 | |
---|
| 301 | <BR> |
---|
| 302 | Sets the named tag to the specified value.</TD> |
---|
| 303 | </TR> |
---|
| 304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 306 | <CODE> void</CODE></FONT></TD> |
---|
| 307 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html#update()">update</A></B>()</CODE> |
---|
| 308 | |
---|
| 309 | <BR> |
---|
| 310 | Updates the table of buffered data which is to be sent periodically.</TD> |
---|
| 311 | </TR> |
---|
| 312 | </TABLE> |
---|
| 313 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 314 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 315 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 316 | <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> |
---|
| 317 | </TR> |
---|
| 318 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 319 | <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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> |
---|
| 320 | </TR> |
---|
| 321 | </TABLE> |
---|
| 322 | |
---|
| 323 | <P> |
---|
| 324 | |
---|
| 325 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 326 | |
---|
| 327 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 328 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 329 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 330 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 331 | <B>Constructor Detail</B></FONT></TH> |
---|
| 332 | </TR> |
---|
| 333 | </TABLE> |
---|
| 334 | |
---|
| 335 | <A NAME="MetricsRecordImpl(java.lang.String, org.apache.hadoop.metrics.spi.AbstractMetricsContext)"><!-- --></A><H3> |
---|
| 336 | MetricsRecordImpl</H3> |
---|
| 337 | <PRE> |
---|
| 338 | protected <B>MetricsRecordImpl</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> recordName, |
---|
| 339 | <A HREF="../../../../../org/apache/hadoop/metrics/spi/AbstractMetricsContext.html" title="class in org.apache.hadoop.metrics.spi">AbstractMetricsContext</A> context)</PRE> |
---|
| 340 | <DL> |
---|
| 341 | <DD>Creates a new instance of FileRecord |
---|
| 342 | <P> |
---|
| 343 | </DL> |
---|
| 344 | |
---|
| 345 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 346 | |
---|
| 347 | <A NAME="method_detail"><!-- --></A> |
---|
| 348 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 349 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 350 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 351 | <B>Method Detail</B></FONT></TH> |
---|
| 352 | </TR> |
---|
| 353 | </TABLE> |
---|
| 354 | |
---|
| 355 | <A NAME="getRecordName()"><!-- --></A><H3> |
---|
| 356 | getRecordName</H3> |
---|
| 357 | <PRE> |
---|
| 358 | 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>getRecordName</B>()</PRE> |
---|
| 359 | <DL> |
---|
| 360 | <DD>Returns the record name. |
---|
| 361 | <P> |
---|
| 362 | <DD><DL> |
---|
| 363 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#getRecordName()">getRecordName</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 364 | </DD> |
---|
| 365 | <DD><DL> |
---|
| 366 | |
---|
| 367 | <DT><B>Returns:</B><DD>the record name</DL> |
---|
| 368 | </DD> |
---|
| 369 | </DL> |
---|
| 370 | <HR> |
---|
| 371 | |
---|
| 372 | <A NAME="setTag(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 373 | setTag</H3> |
---|
| 374 | <PRE> |
---|
| 375 | public void <B>setTag</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> tagName, |
---|
| 376 | <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> tagValue)</PRE> |
---|
| 377 | <DL> |
---|
| 378 | <DD>Sets the named tag to the specified value. |
---|
| 379 | <P> |
---|
| 380 | <DD><DL> |
---|
| 381 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setTag(java.lang.String, java.lang.String)">setTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 382 | </DD> |
---|
| 383 | <DD><DL> |
---|
| 384 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the tag<DD><CODE>tagValue</CODE> - new value of the tag |
---|
| 385 | <DT><B>Throws:</B> |
---|
| 386 | <DD><CODE>MetricsException</CODE> - if the tagName conflicts with the configuration</DL> |
---|
| 387 | </DD> |
---|
| 388 | </DL> |
---|
| 389 | <HR> |
---|
| 390 | |
---|
| 391 | <A NAME="setTag(java.lang.String, int)"><!-- --></A><H3> |
---|
| 392 | setTag</H3> |
---|
| 393 | <PRE> |
---|
| 394 | public void <B>setTag</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> tagName, |
---|
| 395 | int tagValue)</PRE> |
---|
| 396 | <DL> |
---|
| 397 | <DD>Sets the named tag to the specified value. |
---|
| 398 | <P> |
---|
| 399 | <DD><DL> |
---|
| 400 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setTag(java.lang.String, int)">setTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 401 | </DD> |
---|
| 402 | <DD><DL> |
---|
| 403 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the tag<DD><CODE>tagValue</CODE> - new value of the tag |
---|
| 404 | <DT><B>Throws:</B> |
---|
| 405 | <DD><CODE>MetricsException</CODE> - if the tagName conflicts with the configuration</DL> |
---|
| 406 | </DD> |
---|
| 407 | </DL> |
---|
| 408 | <HR> |
---|
| 409 | |
---|
| 410 | <A NAME="setTag(java.lang.String, long)"><!-- --></A><H3> |
---|
| 411 | setTag</H3> |
---|
| 412 | <PRE> |
---|
| 413 | public void <B>setTag</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> tagName, |
---|
| 414 | long tagValue)</PRE> |
---|
| 415 | <DL> |
---|
| 416 | <DD>Sets the named tag to the specified value. |
---|
| 417 | <P> |
---|
| 418 | <DD><DL> |
---|
| 419 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setTag(java.lang.String, long)">setTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 420 | </DD> |
---|
| 421 | <DD><DL> |
---|
| 422 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the tag<DD><CODE>tagValue</CODE> - new value of the tag |
---|
| 423 | <DT><B>Throws:</B> |
---|
| 424 | <DD><CODE>MetricsException</CODE> - if the tagName conflicts with the configuration</DL> |
---|
| 425 | </DD> |
---|
| 426 | </DL> |
---|
| 427 | <HR> |
---|
| 428 | |
---|
| 429 | <A NAME="setTag(java.lang.String, short)"><!-- --></A><H3> |
---|
| 430 | setTag</H3> |
---|
| 431 | <PRE> |
---|
| 432 | public void <B>setTag</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> tagName, |
---|
| 433 | short tagValue)</PRE> |
---|
| 434 | <DL> |
---|
| 435 | <DD>Sets the named tag to the specified value. |
---|
| 436 | <P> |
---|
| 437 | <DD><DL> |
---|
| 438 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setTag(java.lang.String, short)">setTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 439 | </DD> |
---|
| 440 | <DD><DL> |
---|
| 441 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the tag<DD><CODE>tagValue</CODE> - new value of the tag |
---|
| 442 | <DT><B>Throws:</B> |
---|
| 443 | <DD><CODE>MetricsException</CODE> - if the tagName conflicts with the configuration</DL> |
---|
| 444 | </DD> |
---|
| 445 | </DL> |
---|
| 446 | <HR> |
---|
| 447 | |
---|
| 448 | <A NAME="setTag(java.lang.String, byte)"><!-- --></A><H3> |
---|
| 449 | setTag</H3> |
---|
| 450 | <PRE> |
---|
| 451 | public void <B>setTag</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> tagName, |
---|
| 452 | byte tagValue)</PRE> |
---|
| 453 | <DL> |
---|
| 454 | <DD>Sets the named tag to the specified value. |
---|
| 455 | <P> |
---|
| 456 | <DD><DL> |
---|
| 457 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setTag(java.lang.String, byte)">setTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 458 | </DD> |
---|
| 459 | <DD><DL> |
---|
| 460 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the tag<DD><CODE>tagValue</CODE> - new value of the tag |
---|
| 461 | <DT><B>Throws:</B> |
---|
| 462 | <DD><CODE>MetricsException</CODE> - if the tagName conflicts with the configuration</DL> |
---|
| 463 | </DD> |
---|
| 464 | </DL> |
---|
| 465 | <HR> |
---|
| 466 | |
---|
| 467 | <A NAME="removeTag(java.lang.String)"><!-- --></A><H3> |
---|
| 468 | removeTag</H3> |
---|
| 469 | <PRE> |
---|
| 470 | public void <B>removeTag</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> tagName)</PRE> |
---|
| 471 | <DL> |
---|
| 472 | <DD>Removes any tag of the specified name. |
---|
| 473 | <P> |
---|
| 474 | <DD><DL> |
---|
| 475 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#removeTag(java.lang.String)">removeTag</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 476 | </DD> |
---|
| 477 | <DD><DL> |
---|
| 478 | <DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of a tag</DL> |
---|
| 479 | </DD> |
---|
| 480 | </DL> |
---|
| 481 | <HR> |
---|
| 482 | |
---|
| 483 | <A NAME="setMetric(java.lang.String, int)"><!-- --></A><H3> |
---|
| 484 | setMetric</H3> |
---|
| 485 | <PRE> |
---|
| 486 | public void <B>setMetric</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> metricName, |
---|
| 487 | int metricValue)</PRE> |
---|
| 488 | <DL> |
---|
| 489 | <DD>Sets the named metric to the specified value. |
---|
| 490 | <P> |
---|
| 491 | <DD><DL> |
---|
| 492 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setMetric(java.lang.String, int)">setMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 493 | </DD> |
---|
| 494 | <DD><DL> |
---|
| 495 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - new value of the metric |
---|
| 496 | <DT><B>Throws:</B> |
---|
| 497 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 498 | conflicts with the configuration</DL> |
---|
| 499 | </DD> |
---|
| 500 | </DL> |
---|
| 501 | <HR> |
---|
| 502 | |
---|
| 503 | <A NAME="setMetric(java.lang.String, long)"><!-- --></A><H3> |
---|
| 504 | setMetric</H3> |
---|
| 505 | <PRE> |
---|
| 506 | public void <B>setMetric</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> metricName, |
---|
| 507 | long metricValue)</PRE> |
---|
| 508 | <DL> |
---|
| 509 | <DD>Sets the named metric to the specified value. |
---|
| 510 | <P> |
---|
| 511 | <DD><DL> |
---|
| 512 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setMetric(java.lang.String, long)">setMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 513 | </DD> |
---|
| 514 | <DD><DL> |
---|
| 515 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - new value of the metric |
---|
| 516 | <DT><B>Throws:</B> |
---|
| 517 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 518 | conflicts with the configuration</DL> |
---|
| 519 | </DD> |
---|
| 520 | </DL> |
---|
| 521 | <HR> |
---|
| 522 | |
---|
| 523 | <A NAME="setMetric(java.lang.String, short)"><!-- --></A><H3> |
---|
| 524 | setMetric</H3> |
---|
| 525 | <PRE> |
---|
| 526 | public void <B>setMetric</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> metricName, |
---|
| 527 | short metricValue)</PRE> |
---|
| 528 | <DL> |
---|
| 529 | <DD>Sets the named metric to the specified value. |
---|
| 530 | <P> |
---|
| 531 | <DD><DL> |
---|
| 532 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setMetric(java.lang.String, short)">setMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 533 | </DD> |
---|
| 534 | <DD><DL> |
---|
| 535 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - new value of the metric |
---|
| 536 | <DT><B>Throws:</B> |
---|
| 537 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 538 | conflicts with the configuration</DL> |
---|
| 539 | </DD> |
---|
| 540 | </DL> |
---|
| 541 | <HR> |
---|
| 542 | |
---|
| 543 | <A NAME="setMetric(java.lang.String, byte)"><!-- --></A><H3> |
---|
| 544 | setMetric</H3> |
---|
| 545 | <PRE> |
---|
| 546 | public void <B>setMetric</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> metricName, |
---|
| 547 | byte metricValue)</PRE> |
---|
| 548 | <DL> |
---|
| 549 | <DD>Sets the named metric to the specified value. |
---|
| 550 | <P> |
---|
| 551 | <DD><DL> |
---|
| 552 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setMetric(java.lang.String, byte)">setMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 553 | </DD> |
---|
| 554 | <DD><DL> |
---|
| 555 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - new value of the metric |
---|
| 556 | <DT><B>Throws:</B> |
---|
| 557 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 558 | conflicts with the configuration</DL> |
---|
| 559 | </DD> |
---|
| 560 | </DL> |
---|
| 561 | <HR> |
---|
| 562 | |
---|
| 563 | <A NAME="setMetric(java.lang.String, float)"><!-- --></A><H3> |
---|
| 564 | setMetric</H3> |
---|
| 565 | <PRE> |
---|
| 566 | public void <B>setMetric</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> metricName, |
---|
| 567 | float metricValue)</PRE> |
---|
| 568 | <DL> |
---|
| 569 | <DD>Sets the named metric to the specified value. |
---|
| 570 | <P> |
---|
| 571 | <DD><DL> |
---|
| 572 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#setMetric(java.lang.String, float)">setMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 573 | </DD> |
---|
| 574 | <DD><DL> |
---|
| 575 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - new value of the metric |
---|
| 576 | <DT><B>Throws:</B> |
---|
| 577 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 578 | conflicts with the configuration</DL> |
---|
| 579 | </DD> |
---|
| 580 | </DL> |
---|
| 581 | <HR> |
---|
| 582 | |
---|
| 583 | <A NAME="incrMetric(java.lang.String, int)"><!-- --></A><H3> |
---|
| 584 | incrMetric</H3> |
---|
| 585 | <PRE> |
---|
| 586 | public void <B>incrMetric</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> metricName, |
---|
| 587 | int metricValue)</PRE> |
---|
| 588 | <DL> |
---|
| 589 | <DD>Increments the named metric by the specified value. |
---|
| 590 | <P> |
---|
| 591 | <DD><DL> |
---|
| 592 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#incrMetric(java.lang.String, int)">incrMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 593 | </DD> |
---|
| 594 | <DD><DL> |
---|
| 595 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - incremental value |
---|
| 596 | <DT><B>Throws:</B> |
---|
| 597 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 598 | conflicts with the configuration</DL> |
---|
| 599 | </DD> |
---|
| 600 | </DL> |
---|
| 601 | <HR> |
---|
| 602 | |
---|
| 603 | <A NAME="incrMetric(java.lang.String, long)"><!-- --></A><H3> |
---|
| 604 | incrMetric</H3> |
---|
| 605 | <PRE> |
---|
| 606 | public void <B>incrMetric</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> metricName, |
---|
| 607 | long metricValue)</PRE> |
---|
| 608 | <DL> |
---|
| 609 | <DD>Increments the named metric by the specified value. |
---|
| 610 | <P> |
---|
| 611 | <DD><DL> |
---|
| 612 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#incrMetric(java.lang.String, long)">incrMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 613 | </DD> |
---|
| 614 | <DD><DL> |
---|
| 615 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - incremental value |
---|
| 616 | <DT><B>Throws:</B> |
---|
| 617 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 618 | conflicts with the configuration</DL> |
---|
| 619 | </DD> |
---|
| 620 | </DL> |
---|
| 621 | <HR> |
---|
| 622 | |
---|
| 623 | <A NAME="incrMetric(java.lang.String, short)"><!-- --></A><H3> |
---|
| 624 | incrMetric</H3> |
---|
| 625 | <PRE> |
---|
| 626 | public void <B>incrMetric</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> metricName, |
---|
| 627 | short metricValue)</PRE> |
---|
| 628 | <DL> |
---|
| 629 | <DD>Increments the named metric by the specified value. |
---|
| 630 | <P> |
---|
| 631 | <DD><DL> |
---|
| 632 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#incrMetric(java.lang.String, short)">incrMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 633 | </DD> |
---|
| 634 | <DD><DL> |
---|
| 635 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - incremental value |
---|
| 636 | <DT><B>Throws:</B> |
---|
| 637 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 638 | conflicts with the configuration</DL> |
---|
| 639 | </DD> |
---|
| 640 | </DL> |
---|
| 641 | <HR> |
---|
| 642 | |
---|
| 643 | <A NAME="incrMetric(java.lang.String, byte)"><!-- --></A><H3> |
---|
| 644 | incrMetric</H3> |
---|
| 645 | <PRE> |
---|
| 646 | public void <B>incrMetric</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> metricName, |
---|
| 647 | byte metricValue)</PRE> |
---|
| 648 | <DL> |
---|
| 649 | <DD>Increments the named metric by the specified value. |
---|
| 650 | <P> |
---|
| 651 | <DD><DL> |
---|
| 652 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#incrMetric(java.lang.String, byte)">incrMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 653 | </DD> |
---|
| 654 | <DD><DL> |
---|
| 655 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - incremental value |
---|
| 656 | <DT><B>Throws:</B> |
---|
| 657 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 658 | conflicts with the configuration</DL> |
---|
| 659 | </DD> |
---|
| 660 | </DL> |
---|
| 661 | <HR> |
---|
| 662 | |
---|
| 663 | <A NAME="incrMetric(java.lang.String, float)"><!-- --></A><H3> |
---|
| 664 | incrMetric</H3> |
---|
| 665 | <PRE> |
---|
| 666 | public void <B>incrMetric</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> metricName, |
---|
| 667 | float metricValue)</PRE> |
---|
| 668 | <DL> |
---|
| 669 | <DD>Increments the named metric by the specified value. |
---|
| 670 | <P> |
---|
| 671 | <DD><DL> |
---|
| 672 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#incrMetric(java.lang.String, float)">incrMetric</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 673 | </DD> |
---|
| 674 | <DD><DL> |
---|
| 675 | <DT><B>Parameters:</B><DD><CODE>metricName</CODE> - name of the metric<DD><CODE>metricValue</CODE> - incremental value |
---|
| 676 | <DT><B>Throws:</B> |
---|
| 677 | <DD><CODE>MetricsException</CODE> - if the metricName or the type of the metricValue |
---|
| 678 | conflicts with the configuration</DL> |
---|
| 679 | </DD> |
---|
| 680 | </DL> |
---|
| 681 | <HR> |
---|
| 682 | |
---|
| 683 | <A NAME="update()"><!-- --></A><H3> |
---|
| 684 | update</H3> |
---|
| 685 | <PRE> |
---|
| 686 | public void <B>update</B>()</PRE> |
---|
| 687 | <DL> |
---|
| 688 | <DD>Updates the table of buffered data which is to be sent periodically. |
---|
| 689 | If the tag values match an existing row, that row is updated; |
---|
| 690 | otherwise, a new row is added. |
---|
| 691 | <P> |
---|
| 692 | <DD><DL> |
---|
| 693 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#update()">update</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 694 | </DD> |
---|
| 695 | <DD><DL> |
---|
| 696 | </DL> |
---|
| 697 | </DD> |
---|
| 698 | </DL> |
---|
| 699 | <HR> |
---|
| 700 | |
---|
| 701 | <A NAME="remove()"><!-- --></A><H3> |
---|
| 702 | remove</H3> |
---|
| 703 | <PRE> |
---|
| 704 | public void <B>remove</B>()</PRE> |
---|
| 705 | <DL> |
---|
| 706 | <DD>Removes the row, if it exists, in the buffered data table having tags |
---|
| 707 | that equal the tags that have been set on this record. |
---|
| 708 | <P> |
---|
| 709 | <DD><DL> |
---|
| 710 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html#remove()">remove</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></DL> |
---|
| 711 | </DD> |
---|
| 712 | <DD><DL> |
---|
| 713 | </DL> |
---|
| 714 | </DD> |
---|
| 715 | </DL> |
---|
| 716 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 717 | <HR> |
---|
| 718 | |
---|
| 719 | |
---|
| 720 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 721 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 722 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 723 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 724 | <TR> |
---|
| 725 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 726 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 727 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 728 | <TR ALIGN="center" VALIGN="top"> |
---|
| 729 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 730 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 731 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 732 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MetricsRecordImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 733 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 734 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 735 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 736 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 737 | </TR> |
---|
| 738 | </TABLE> |
---|
| 739 | </TD> |
---|
| 740 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 741 | </EM> |
---|
| 742 | </TD> |
---|
| 743 | </TR> |
---|
| 744 | |
---|
| 745 | <TR> |
---|
| 746 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 747 | <A HREF="../../../../../org/apache/hadoop/metrics/spi/CompositeContext.html" title="class in org.apache.hadoop.metrics.spi"><B>PREV CLASS</B></A> |
---|
| 748 | <A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricValue.html" title="class in org.apache.hadoop.metrics.spi"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 749 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 750 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics/spi/MetricsRecordImpl.html" target="_top"><B>FRAMES</B></A> |
---|
| 751 | <A HREF="MetricsRecordImpl.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 752 | <SCRIPT type="text/javascript"> |
---|
| 753 | <!-- |
---|
| 754 | if(window==top) { |
---|
| 755 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 756 | } |
---|
| 757 | //--> |
---|
| 758 | </SCRIPT> |
---|
| 759 | <NOSCRIPT> |
---|
| 760 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 761 | </NOSCRIPT> |
---|
| 762 | |
---|
| 763 | |
---|
| 764 | </FONT></TD> |
---|
| 765 | </TR> |
---|
| 766 | <TR> |
---|
| 767 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 768 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 769 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 770 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 771 | </TR> |
---|
| 772 | </TABLE> |
---|
| 773 | <A NAME="skip-navbar_bottom"></A> |
---|
| 774 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 775 | |
---|
| 776 | <HR> |
---|
| 777 | Copyright © 2009 The Apache Software Foundation |
---|
| 778 | </BODY> |
---|
| 779 | </HTML> |
---|