source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/metrics/spi/package-summary.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 9.1 KB
Line 
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>
7org.apache.hadoop.metrics.spi (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">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="org.apache.hadoop.metrics.spi (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>&nbsp;</TD>
41  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/hadoop/metrics/jvm/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/hadoop/metrics/util/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/spi/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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>
83Package org.apache.hadoop.metrics.spi
84</H2>
85The Service Provider Interface for the Metrics API.
86<P>
87<B>See:</B>
88<BR>
89&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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/spi/AbstractMetricsContext.html" title="class in org.apache.hadoop.metrics.spi">AbstractMetricsContext</A></B></TD>
99<TD>The main class of the Service Provider Interface.</TD>
100</TR>
101<TR BGCOLOR="white" CLASS="TableRowColor">
102<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/CompositeContext.html" title="class in org.apache.hadoop.metrics.spi">CompositeContext</A></B></TD>
103<TD>&nbsp;</TD>
104</TR>
105<TR BGCOLOR="white" CLASS="TableRowColor">
106<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricsRecordImpl.html" title="class in org.apache.hadoop.metrics.spi">MetricsRecordImpl</A></B></TD>
107<TD>An implementation of MetricsRecord.</TD>
108</TR>
109<TR BGCOLOR="white" CLASS="TableRowColor">
110<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/MetricValue.html" title="class in org.apache.hadoop.metrics.spi">MetricValue</A></B></TD>
111<TD>A Number that is either an absolute or an incremental amount.</TD>
112</TR>
113<TR BGCOLOR="white" CLASS="TableRowColor">
114<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/NullContext.html" title="class in org.apache.hadoop.metrics.spi">NullContext</A></B></TD>
115<TD>Null metrics context: a metrics context which does nothing.</TD>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.html" title="class in org.apache.hadoop.metrics.spi">NullContextWithUpdateThread</A></B></TD>
119<TD>A null context which has a thread calling
120 periodically when monitoring is started.</TD>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/OutputRecord.html" title="class in org.apache.hadoop.metrics.spi">OutputRecord</A></B></TD>
124<TD>Represents a record of metric data to be sent to a metrics system.</TD>
125</TR>
126<TR BGCOLOR="white" CLASS="TableRowColor">
127<TD WIDTH="15%"><B><A HREF="../../../../../org/apache/hadoop/metrics/spi/Util.html" title="class in org.apache.hadoop.metrics.spi">Util</A></B></TD>
128<TD>Static utility methods</TD>
129</TR>
130</TABLE>
131&nbsp;
132
133<P>
134<A NAME="package_description"><!-- --></A><H2>
135Package org.apache.hadoop.metrics.spi Description
136</H2>
137
138<P>
139The Service Provider Interface for the Metrics API.  This package provides
140an interface allowing a variety of metrics reporting implementations to be
141plugged in to the Metrics API.  Examples of such implementations can be found
142in the packages <code>org.apache.hadoop.metrics.file</code> and
143<code>org.apache.hadoop.metrics.ganglia</code>.<p/>
144
145Plugging in an implementation involves writing a concrete subclass of
146<code>AbstractMetricsContext</code>.  The subclass should get its
147 configuration information using the <code>getAttribute(<i>attributeName</i>)</code>
148 method.
149<P>
150
151<P>
152<DL>
153</DL>
154<HR>
155
156
157<!-- ======= START OF BOTTOM NAVBAR ====== -->
158<A NAME="navbar_bottom"><!-- --></A>
159<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
160<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
161<TR>
162<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
163<A NAME="navbar_bottom_firstrow"><!-- --></A>
164<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
165  <TR ALIGN="center" VALIGN="top">
166  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
167  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
168  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
169  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
170  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
171  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
172  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
173  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
174  </TR>
175</TABLE>
176</TD>
177<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
178</EM>
179</TD>
180</TR>
181
182<TR>
183<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
184&nbsp;<A HREF="../../../../../org/apache/hadoop/metrics/jvm/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
185&nbsp;<A HREF="../../../../../org/apache/hadoop/metrics/util/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
186<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
187  <A HREF="../../../../../index.html?org/apache/hadoop/metrics/spi/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
188&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
189&nbsp;<SCRIPT type="text/javascript">
190  <!--
191  if(window==top) {
192    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
193  }
194  //-->
195</SCRIPT>
196<NOSCRIPT>
197  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
198</NOSCRIPT>
199
200
201</FONT></TD>
202</TR>
203</TABLE>
204<A NAME="skip-navbar_bottom"></A>
205<!-- ======== END OF BOTTOM NAVBAR ======= -->
206
207<HR>
208Copyright &copy; 2009 The Apache Software Foundation
209</BODY>
210</HTML>
Note: See TracBrowser for help on using the repository browser.