[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:00 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | org.apache.hadoop.metrics.file (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="org.apache.hadoop.metrics.file (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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> |
---|
| 42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> |
---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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/package-summary.html"><B>PREV PACKAGE</B></A> |
---|
| 59 | <A HREF="../../../../../org/apache/hadoop/metrics/ganglia/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics/file/package-summary.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="package-summary.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 | <H2> |
---|
| 83 | Package org.apache.hadoop.metrics.file |
---|
| 84 | </H2> |
---|
| 85 | Implementation of the metrics package that writes the metrics to a file. |
---|
| 86 | <P> |
---|
| 87 | <B>See:</B> |
---|
| 88 | <BR> |
---|
| 89 | <A HREF="#package_description"><B>Description</B></A> |
---|
| 90 | <P> |
---|
| 91 | |
---|
| 92 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 93 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 94 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 95 | <B>Class Summary</B></FONT></TH> |
---|
| 96 | </TR> |
---|
| 97 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 98 | <TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/file/FileContext.html" title="class in org.apache.hadoop.metrics.file">FileContext</A></B></TD> |
---|
| 99 | <TD>Metrics context for writing metrics to a file.<p/> |
---|
| 100 | |
---|
| 101 | This class is configured by setting ContextFactory attributes which in turn |
---|
| 102 | are usually configured through a properties file.</TD> |
---|
| 103 | </TR> |
---|
| 104 | </TABLE> |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | <P> |
---|
| 108 | <A NAME="package_description"><!-- --></A><H2> |
---|
| 109 | Package org.apache.hadoop.metrics.file Description |
---|
| 110 | </H2> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | Implementation of the metrics package that writes the metrics to a file. |
---|
| 114 | Programmers should not normally need to use this package directly. Instead |
---|
| 115 | they should use org.hadoop.metrics. |
---|
| 116 | |
---|
| 117 | <p/> |
---|
| 118 | These are the implementation specific factory attributes |
---|
| 119 | (See ContextFactory.getFactory()): |
---|
| 120 | |
---|
| 121 | <dl> |
---|
| 122 | <dt><i>contextName</i>.fileName</dt> |
---|
| 123 | <dd>The path of the file to which metrics in context <i>contextName</i> |
---|
| 124 | are to be appended. If this attribute is not specified, the metrics |
---|
| 125 | are written to standard output by default.</dd> |
---|
| 126 | |
---|
| 127 | <dt><i>contextName</i>.period</dt> |
---|
| 128 | <dd>The period in seconds on which the metric data is written to the |
---|
| 129 | file.</dd> |
---|
| 130 | |
---|
| 131 | </dl> |
---|
| 132 | <P> |
---|
| 133 | |
---|
| 134 | <P> |
---|
| 135 | <DL> |
---|
| 136 | </DL> |
---|
| 137 | <HR> |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 141 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 142 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 143 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 144 | <TR> |
---|
| 145 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 146 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 147 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 148 | <TR ALIGN="center" VALIGN="top"> |
---|
| 149 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 150 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> |
---|
| 151 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> |
---|
| 152 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 153 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 154 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 155 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 156 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 157 | </TR> |
---|
| 158 | </TABLE> |
---|
| 159 | </TD> |
---|
| 160 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 161 | </EM> |
---|
| 162 | </TD> |
---|
| 163 | </TR> |
---|
| 164 | |
---|
| 165 | <TR> |
---|
| 166 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 167 | <A HREF="../../../../../org/apache/hadoop/metrics/package-summary.html"><B>PREV PACKAGE</B></A> |
---|
| 168 | <A HREF="../../../../../org/apache/hadoop/metrics/ganglia/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> |
---|
| 169 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 170 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics/file/package-summary.html" target="_top"><B>FRAMES</B></A> |
---|
| 171 | <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 172 | <SCRIPT type="text/javascript"> |
---|
| 173 | <!-- |
---|
| 174 | if(window==top) { |
---|
| 175 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 176 | } |
---|
| 177 | //--> |
---|
| 178 | </SCRIPT> |
---|
| 179 | <NOSCRIPT> |
---|
| 180 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 181 | </NOSCRIPT> |
---|
| 182 | |
---|
| 183 | |
---|
| 184 | </FONT></TD> |
---|
| 185 | </TR> |
---|
| 186 | </TABLE> |
---|
| 187 | <A NAME="skip-navbar_bottom"></A> |
---|
| 188 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 189 | |
---|
| 190 | <HR> |
---|
| 191 | Copyright © 2009 The Apache Software Foundation |
---|
| 192 | </BODY> |
---|
| 193 | </HTML> |
---|