[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:57:01 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | Uses of Interface org.apache.hadoop.metrics.MetricsContext (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="Uses of Interface org.apache.hadoop.metrics.MetricsContext (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> |
---|
| 43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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 | PREV |
---|
| 59 | NEXT</FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics//class-useMetricsContext.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="MetricsContext.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 | </TABLE> |
---|
| 78 | <A NAME="skip-navbar_top"></A> |
---|
| 79 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 80 | |
---|
| 81 | <HR> |
---|
| 82 | <CENTER> |
---|
| 83 | <H2> |
---|
| 84 | <B>Uses of Interface<br>org.apache.hadoop.metrics.MetricsContext</B></H2> |
---|
| 85 | </CENTER> |
---|
| 86 | |
---|
| 87 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 88 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 89 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 90 | Packages that use <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 91 | </TR> |
---|
| 92 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 93 | <TD><A HREF="#org.apache.hadoop.ipc.metrics"><B>org.apache.hadoop.ipc.metrics</B></A></TD> |
---|
| 94 | <TD> </TD> |
---|
| 95 | </TR> |
---|
| 96 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 97 | <TD><A HREF="#org.apache.hadoop.metrics"><B>org.apache.hadoop.metrics</B></A></TD> |
---|
| 98 | <TD>This package defines an API for reporting performance metric information. </TD> |
---|
| 99 | </TR> |
---|
| 100 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 101 | <TD><A HREF="#org.apache.hadoop.metrics.file"><B>org.apache.hadoop.metrics.file</B></A></TD> |
---|
| 102 | <TD>Implementation of the metrics package that writes the metrics to a file. </TD> |
---|
| 103 | </TR> |
---|
| 104 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 105 | <TD><A HREF="#org.apache.hadoop.metrics.ganglia"><B>org.apache.hadoop.metrics.ganglia</B></A></TD> |
---|
| 106 | <TD>Implementation of the metrics package that sends metric data to |
---|
| 107 | <a href="http://ganglia.sourceforge.net/">Ganglia</a>. </TD> |
---|
| 108 | </TR> |
---|
| 109 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 110 | <TD><A HREF="#org.apache.hadoop.metrics.jvm"><B>org.apache.hadoop.metrics.jvm</B></A></TD> |
---|
| 111 | <TD> </TD> |
---|
| 112 | </TR> |
---|
| 113 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 114 | <TD><A HREF="#org.apache.hadoop.metrics.spi"><B>org.apache.hadoop.metrics.spi</B></A></TD> |
---|
| 115 | <TD>The Service Provider Interface for the Metrics API. </TD> |
---|
| 116 | </TR> |
---|
| 117 | </TABLE> |
---|
| 118 | |
---|
| 119 | <P> |
---|
| 120 | <A NAME="org.apache.hadoop.ipc.metrics"><!-- --></A> |
---|
| 121 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 122 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 123 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 124 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/ipc/metrics/package-summary.html">org.apache.hadoop.ipc.metrics</A></FONT></TH> |
---|
| 125 | </TR> |
---|
| 126 | </TABLE> |
---|
| 127 | |
---|
| 128 | <P> |
---|
| 129 | |
---|
| 130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 131 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 132 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/ipc/metrics/package-summary.html">org.apache.hadoop.ipc.metrics</A> with parameters of type <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 133 | </TR> |
---|
| 134 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 135 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 136 | <CODE> void</CODE></FONT></TD> |
---|
| 137 | <TD><CODE><B>RpcMetrics.</B><B><A HREF="../../../../../org/apache/hadoop/ipc/metrics/RpcMetrics.html#doUpdates(org.apache.hadoop.metrics.MetricsContext)">doUpdates</A></B>(<A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> context)</CODE> |
---|
| 138 | |
---|
| 139 | <BR> |
---|
| 140 | Push the metrics to the monitoring subsystem on doUpdate() call.</TD> |
---|
| 141 | </TR> |
---|
| 142 | </TABLE> |
---|
| 143 | |
---|
| 144 | <P> |
---|
| 145 | <A NAME="org.apache.hadoop.metrics"><!-- --></A> |
---|
| 146 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 147 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 148 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 149 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/metrics/package-summary.html">org.apache.hadoop.metrics</A></FONT></TH> |
---|
| 150 | </TR> |
---|
| 151 | </TABLE> |
---|
| 152 | |
---|
| 153 | <P> |
---|
| 154 | |
---|
| 155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 156 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 157 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/metrics/package-summary.html">org.apache.hadoop.metrics</A> that return <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 158 | </TR> |
---|
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 161 | <CODE>static <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></CODE></FONT></TD> |
---|
| 162 | <TD><CODE><B>MetricsUtil.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/MetricsUtil.html#getContext(java.lang.String)">getContext</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> contextName)</CODE> |
---|
| 163 | |
---|
| 164 | <BR> |
---|
| 165 | </TD> |
---|
| 166 | </TR> |
---|
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 169 | <CODE> <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></CODE></FONT></TD> |
---|
| 170 | <TD><CODE><B>ContextFactory.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/ContextFactory.html#getContext(java.lang.String)">getContext</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> contextName)</CODE> |
---|
| 171 | |
---|
| 172 | <BR> |
---|
| 173 | </TD> |
---|
| 174 | </TR> |
---|
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 177 | <CODE>static <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></CODE></FONT></TD> |
---|
| 178 | <TD><CODE><B>MetricsUtil.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/MetricsUtil.html#getContext(java.lang.String, java.lang.String)">getContext</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> refName, |
---|
| 179 | <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> contextName)</CODE> |
---|
| 180 | |
---|
| 181 | <BR> |
---|
| 182 | Utility method to return the named context.</TD> |
---|
| 183 | </TR> |
---|
| 184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 186 | <CODE> <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></CODE></FONT></TD> |
---|
| 187 | <TD><CODE><B>ContextFactory.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/ContextFactory.html#getContext(java.lang.String, java.lang.String)">getContext</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> refName, |
---|
| 188 | <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> contextName)</CODE> |
---|
| 189 | |
---|
| 190 | <BR> |
---|
| 191 | Returns the named MetricsContext instance, constructing it if necessary |
---|
| 192 | using the factory's current configuration attributes.</TD> |
---|
| 193 | </TR> |
---|
| 194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 196 | <CODE>static <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></CODE></FONT></TD> |
---|
| 197 | <TD><CODE><B>ContextFactory.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/ContextFactory.html#getNullContext(java.lang.String)">getNullContext</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> contextName)</CODE> |
---|
| 198 | |
---|
| 199 | <BR> |
---|
| 200 | Returns a "null" context - one which does nothing.</TD> |
---|
| 201 | </TR> |
---|
| 202 | </TABLE> |
---|
| 203 | |
---|
| 204 | <P> |
---|
| 205 | |
---|
| 206 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 207 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 208 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/metrics/package-summary.html">org.apache.hadoop.metrics</A> with parameters of type <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 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/metrics/MetricsRecord.html" title="interface in org.apache.hadoop.metrics">MetricsRecord</A></CODE></FONT></TD> |
---|
| 213 | <TD><CODE><B>MetricsUtil.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/MetricsUtil.html#createRecord(org.apache.hadoop.metrics.MetricsContext, java.lang.String)">createRecord</A></B>(<A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> context, |
---|
| 214 | <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)</CODE> |
---|
| 215 | |
---|
| 216 | <BR> |
---|
| 217 | Utility method to create and return new metrics record instance within the |
---|
| 218 | given context.</TD> |
---|
| 219 | </TR> |
---|
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 222 | <CODE> void</CODE></FONT></TD> |
---|
| 223 | <TD><CODE><B>Updater.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/Updater.html#doUpdates(org.apache.hadoop.metrics.MetricsContext)">doUpdates</A></B>(<A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> context)</CODE> |
---|
| 224 | |
---|
| 225 | <BR> |
---|
| 226 | Timer-based call-back from the metric library.</TD> |
---|
| 227 | </TR> |
---|
| 228 | </TABLE> |
---|
| 229 | |
---|
| 230 | <P> |
---|
| 231 | <A NAME="org.apache.hadoop.metrics.file"><!-- --></A> |
---|
| 232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 233 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 234 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 235 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/metrics/file/package-summary.html">org.apache.hadoop.metrics.file</A></FONT></TH> |
---|
| 236 | </TR> |
---|
| 237 | </TABLE> |
---|
| 238 | |
---|
| 239 | <P> |
---|
| 240 | |
---|
| 241 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 242 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 243 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/metrics/file/package-summary.html">org.apache.hadoop.metrics.file</A> that implement <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 244 | </TR> |
---|
| 245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 247 | <CODE> class</CODE></FONT></TD> |
---|
| 248 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/file/FileContext.html" title="class in org.apache.hadoop.metrics.file">FileContext</A></B></CODE> |
---|
| 249 | |
---|
| 250 | <BR> |
---|
| 251 | Metrics context for writing metrics to a file.<p/> |
---|
| 252 | |
---|
| 253 | This class is configured by setting ContextFactory attributes which in turn |
---|
| 254 | are usually configured through a properties file.</TD> |
---|
| 255 | </TR> |
---|
| 256 | </TABLE> |
---|
| 257 | |
---|
| 258 | <P> |
---|
| 259 | <A NAME="org.apache.hadoop.metrics.ganglia"><!-- --></A> |
---|
| 260 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 261 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 262 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 263 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/metrics/ganglia/package-summary.html">org.apache.hadoop.metrics.ganglia</A></FONT></TH> |
---|
| 264 | </TR> |
---|
| 265 | </TABLE> |
---|
| 266 | |
---|
| 267 | <P> |
---|
| 268 | |
---|
| 269 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 270 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 271 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/metrics/ganglia/package-summary.html">org.apache.hadoop.metrics.ganglia</A> that implement <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 272 | </TR> |
---|
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 275 | <CODE> class</CODE></FONT></TD> |
---|
| 276 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/ganglia/GangliaContext.html" title="class in org.apache.hadoop.metrics.ganglia">GangliaContext</A></B></CODE> |
---|
| 277 | |
---|
| 278 | <BR> |
---|
| 279 | Context for sending metrics to Ganglia.</TD> |
---|
| 280 | </TR> |
---|
| 281 | </TABLE> |
---|
| 282 | |
---|
| 283 | <P> |
---|
| 284 | <A NAME="org.apache.hadoop.metrics.jvm"><!-- --></A> |
---|
| 285 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 286 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 287 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 288 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/metrics/jvm/package-summary.html">org.apache.hadoop.metrics.jvm</A></FONT></TH> |
---|
| 289 | </TR> |
---|
| 290 | </TABLE> |
---|
| 291 | |
---|
| 292 | <P> |
---|
| 293 | |
---|
| 294 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 295 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 296 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/metrics/jvm/package-summary.html">org.apache.hadoop.metrics.jvm</A> with parameters of type <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 297 | </TR> |
---|
| 298 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 299 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 300 | <CODE> void</CODE></FONT></TD> |
---|
| 301 | <TD><CODE><B>JvmMetrics.</B><B><A HREF="../../../../../org/apache/hadoop/metrics/jvm/JvmMetrics.html#doUpdates(org.apache.hadoop.metrics.MetricsContext)">doUpdates</A></B>(<A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> context)</CODE> |
---|
| 302 | |
---|
| 303 | <BR> |
---|
| 304 | This will be called periodically (with the period being configuration |
---|
| 305 | dependent).</TD> |
---|
| 306 | </TR> |
---|
| 307 | </TABLE> |
---|
| 308 | |
---|
| 309 | <P> |
---|
| 310 | <A NAME="org.apache.hadoop.metrics.spi"><!-- --></A> |
---|
| 311 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 312 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 313 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 314 | Uses of <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A> in <A HREF="../../../../../org/apache/hadoop/metrics/spi/package-summary.html">org.apache.hadoop.metrics.spi</A></FONT></TH> |
---|
| 315 | </TR> |
---|
| 316 | </TABLE> |
---|
| 317 | |
---|
| 318 | <P> |
---|
| 319 | |
---|
| 320 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 321 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
| 322 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/metrics/spi/package-summary.html">org.apache.hadoop.metrics.spi</A> that implement <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics">MetricsContext</A></FONT></TH> |
---|
| 323 | </TR> |
---|
| 324 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 325 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 326 | <CODE> class</CODE></FONT></TD> |
---|
| 327 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/AbstractMetricsContext.html" title="class in org.apache.hadoop.metrics.spi">AbstractMetricsContext</A></B></CODE> |
---|
| 328 | |
---|
| 329 | <BR> |
---|
| 330 | The main class of the Service Provider Interface.</TD> |
---|
| 331 | </TR> |
---|
| 332 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 333 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 334 | <CODE> class</CODE></FONT></TD> |
---|
| 335 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/CompositeContext.html" title="class in org.apache.hadoop.metrics.spi">CompositeContext</A></B></CODE> |
---|
| 336 | |
---|
| 337 | <BR> |
---|
| 338 | </TD> |
---|
| 339 | </TR> |
---|
| 340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 342 | <CODE> class</CODE></FONT></TD> |
---|
| 343 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/NullContext.html" title="class in org.apache.hadoop.metrics.spi">NullContext</A></B></CODE> |
---|
| 344 | |
---|
| 345 | <BR> |
---|
| 346 | Null metrics context: a metrics context which does nothing.</TD> |
---|
| 347 | </TR> |
---|
| 348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 350 | <CODE> class</CODE></FONT></TD> |
---|
| 351 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.html" title="class in org.apache.hadoop.metrics.spi">NullContextWithUpdateThread</A></B></CODE> |
---|
| 352 | |
---|
| 353 | <BR> |
---|
| 354 | A null context which has a thread calling |
---|
| 355 | periodically when monitoring is started.</TD> |
---|
| 356 | </TR> |
---|
| 357 | </TABLE> |
---|
| 358 | |
---|
| 359 | <P> |
---|
| 360 | <HR> |
---|
| 361 | |
---|
| 362 | |
---|
| 363 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 364 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 365 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 366 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 367 | <TR> |
---|
| 368 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 369 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 370 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 371 | <TR ALIGN="center" VALIGN="top"> |
---|
| 372 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 373 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 374 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/metrics/MetricsContext.html" title="interface in org.apache.hadoop.metrics"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> |
---|
| 375 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> |
---|
| 376 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 377 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 378 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 379 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 380 | </TR> |
---|
| 381 | </TABLE> |
---|
| 382 | </TD> |
---|
| 383 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 384 | </EM> |
---|
| 385 | </TD> |
---|
| 386 | </TR> |
---|
| 387 | |
---|
| 388 | <TR> |
---|
| 389 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 390 | PREV |
---|
| 391 | NEXT</FONT></TD> |
---|
| 392 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 393 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics//class-useMetricsContext.html" target="_top"><B>FRAMES</B></A> |
---|
| 394 | <A HREF="MetricsContext.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 395 | <SCRIPT type="text/javascript"> |
---|
| 396 | <!-- |
---|
| 397 | if(window==top) { |
---|
| 398 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 399 | } |
---|
| 400 | //--> |
---|
| 401 | </SCRIPT> |
---|
| 402 | <NOSCRIPT> |
---|
| 403 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 404 | </NOSCRIPT> |
---|
| 405 | |
---|
| 406 | |
---|
| 407 | </FONT></TD> |
---|
| 408 | </TR> |
---|
| 409 | </TABLE> |
---|
| 410 | <A NAME="skip-navbar_bottom"></A> |
---|
| 411 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 412 | |
---|
| 413 | <HR> |
---|
| 414 | Copyright © 2009 The Apache Software Foundation |
---|
| 415 | </BODY> |
---|
| 416 | </HTML> |
---|