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 | MetricsDynamicMBeanBase (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="MetricsDynamicMBeanBase (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/MetricsDynamicMBeanBase.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/util/MetricsBase.html" title="class in org.apache.hadoop.metrics.util"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsIntValue.html" title="class in org.apache.hadoop.metrics.util"><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/util/MetricsDynamicMBeanBase.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="MetricsDynamicMBeanBase.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.util</FONT> |
---|
92 | <BR> |
---|
93 | Class MetricsDynamicMBeanBase</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.util.MetricsDynamicMBeanBase</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></DD> |
---|
100 | </DL> |
---|
101 | <DL> |
---|
102 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/hadoop/ipc/metrics/RpcActivityMBean.html" title="class in org.apache.hadoop.ipc.metrics">RpcActivityMBean</A></DD> |
---|
103 | </DL> |
---|
104 | <HR> |
---|
105 | <DL> |
---|
106 | <DT><PRE>public abstract class <B>MetricsDynamicMBeanBase</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="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></DL> |
---|
107 | </PRE> |
---|
108 | |
---|
109 | <P> |
---|
110 | This abstract base class facilitates creating dynamic mbeans automatically from |
---|
111 | metrics. |
---|
112 | The metrics constructors registers metrics in a registry. |
---|
113 | Different categories of metrics should be in differnt classes with their own |
---|
114 | registry (as in NameNodeMetrics and DataNodeMetrics). |
---|
115 | Then the MBean can be created passing the registry to the constructor. |
---|
116 | The MBean should be then registered using a mbean name (example): |
---|
117 | MetricsHolder myMetrics = new MetricsHolder(); // has metrics and registry |
---|
118 | MetricsTestMBean theMBean = new MetricsTestMBean(myMetrics.mregistry); |
---|
119 | ObjectName mbeanName = MBeanUtil.registerMBean("ServiceFoo", |
---|
120 | "TestStatistics", theMBean); |
---|
121 | <P> |
---|
122 | |
---|
123 | <P> |
---|
124 | <HR> |
---|
125 | |
---|
126 | <P> |
---|
127 | |
---|
128 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
129 | |
---|
130 | <A NAME="constructor_summary"><!-- --></A> |
---|
131 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
132 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
133 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
134 | <B>Constructor Summary</B></FONT></TH> |
---|
135 | </TR> |
---|
136 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
137 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
138 | <CODE>protected </CODE></FONT></TD> |
---|
139 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#MetricsDynamicMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry, java.lang.String)">MetricsDynamicMBeanBase</A></B>(<A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsRegistry.html" title="class in org.apache.hadoop.metrics.util">MetricsRegistry</A> mr, |
---|
140 | <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> aMBeanDescription)</CODE> |
---|
141 | |
---|
142 | <BR> |
---|
143 | </TD> |
---|
144 | </TR> |
---|
145 | </TABLE> |
---|
146 | |
---|
147 | <!-- ========== METHOD SUMMARY =========== --> |
---|
148 | |
---|
149 | <A NAME="method_summary"><!-- --></A> |
---|
150 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
151 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
152 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
153 | <B>Method Summary</B></FONT></TH> |
---|
154 | </TR> |
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
157 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
---|
158 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#getAttribute(java.lang.String)">getAttribute</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> attributeName)</CODE> |
---|
159 | |
---|
160 | <BR> |
---|
161 | </TD> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
165 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A></CODE></FONT></TD> |
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#getAttributes(java.lang.String[])">getAttributes</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>[] attributeNames)</CODE> |
---|
167 | |
---|
168 | <BR> |
---|
169 | </TD> |
---|
170 | </TR> |
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
173 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanInfo.html?is-external=true" title="class or interface in javax.management">MBeanInfo</A></CODE></FONT></TD> |
---|
174 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#getMBeanInfo()">getMBeanInfo</A></B>()</CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | </TD> |
---|
178 | </TR> |
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
181 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
---|
182 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#invoke(java.lang.String, java.lang.Object[], java.lang.String[])">invoke</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> actionName, |
---|
183 | <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>[] parms, |
---|
184 | <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>[] signature)</CODE> |
---|
185 | |
---|
186 | <BR> |
---|
187 | </TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE> void</CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#setAttribute(javax.management.Attribute)">setAttribute</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/management/Attribute.html?is-external=true" title="class or interface in javax.management">Attribute</A> attribute)</CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | </TD> |
---|
196 | </TR> |
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
199 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A></CODE></FONT></TD> |
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html#setAttributes(javax.management.AttributeList)">setAttributes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A> attributes)</CODE> |
---|
201 | |
---|
202 | <BR> |
---|
203 | </TD> |
---|
204 | </TR> |
---|
205 | </TABLE> |
---|
206 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
207 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
208 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
209 | <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> |
---|
210 | </TR> |
---|
211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
212 | <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> |
---|
213 | </TR> |
---|
214 | </TABLE> |
---|
215 | |
---|
216 | <P> |
---|
217 | |
---|
218 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
219 | |
---|
220 | <A NAME="constructor_detail"><!-- --></A> |
---|
221 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
222 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
223 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
224 | <B>Constructor Detail</B></FONT></TH> |
---|
225 | </TR> |
---|
226 | </TABLE> |
---|
227 | |
---|
228 | <A NAME="MetricsDynamicMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry, java.lang.String)"><!-- --></A><H3> |
---|
229 | MetricsDynamicMBeanBase</H3> |
---|
230 | <PRE> |
---|
231 | protected <B>MetricsDynamicMBeanBase</B>(<A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsRegistry.html" title="class in org.apache.hadoop.metrics.util">MetricsRegistry</A> mr, |
---|
232 | <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> aMBeanDescription)</PRE> |
---|
233 | <DL> |
---|
234 | </DL> |
---|
235 | |
---|
236 | <!-- ============ METHOD DETAIL ========== --> |
---|
237 | |
---|
238 | <A NAME="method_detail"><!-- --></A> |
---|
239 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
240 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
241 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
242 | <B>Method Detail</B></FONT></TH> |
---|
243 | </TR> |
---|
244 | </TABLE> |
---|
245 | |
---|
246 | <A NAME="getAttribute(java.lang.String)"><!-- --></A><H3> |
---|
247 | getAttribute</H3> |
---|
248 | <PRE> |
---|
249 | public <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>getAttribute</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> attributeName) |
---|
250 | throws <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeNotFoundException.html?is-external=true" title="class or interface in javax.management">AttributeNotFoundException</A>, |
---|
251 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A>, |
---|
252 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></PRE> |
---|
253 | <DL> |
---|
254 | <DD><DL> |
---|
255 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#getAttribute(java.lang.String)" title="class or interface in javax.management">getAttribute</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
256 | </DD> |
---|
257 | <DD><DL> |
---|
258 | |
---|
259 | <DT><B>Throws:</B> |
---|
260 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeNotFoundException.html?is-external=true" title="class or interface in javax.management">AttributeNotFoundException</A></CODE> |
---|
261 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A></CODE> |
---|
262 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></CODE></DL> |
---|
263 | </DD> |
---|
264 | </DL> |
---|
265 | <HR> |
---|
266 | |
---|
267 | <A NAME="getAttributes(java.lang.String[])"><!-- --></A><H3> |
---|
268 | getAttributes</H3> |
---|
269 | <PRE> |
---|
270 | public <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A> <B>getAttributes</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>[] attributeNames)</PRE> |
---|
271 | <DL> |
---|
272 | <DD><DL> |
---|
273 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#getAttributes(java.lang.String[])" title="class or interface in javax.management">getAttributes</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
274 | </DD> |
---|
275 | <DD><DL> |
---|
276 | </DL> |
---|
277 | </DD> |
---|
278 | </DL> |
---|
279 | <HR> |
---|
280 | |
---|
281 | <A NAME="getMBeanInfo()"><!-- --></A><H3> |
---|
282 | getMBeanInfo</H3> |
---|
283 | <PRE> |
---|
284 | public <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanInfo.html?is-external=true" title="class or interface in javax.management">MBeanInfo</A> <B>getMBeanInfo</B>()</PRE> |
---|
285 | <DL> |
---|
286 | <DD><DL> |
---|
287 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#getMBeanInfo()" title="class or interface in javax.management">getMBeanInfo</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
288 | </DD> |
---|
289 | <DD><DL> |
---|
290 | </DL> |
---|
291 | </DD> |
---|
292 | </DL> |
---|
293 | <HR> |
---|
294 | |
---|
295 | <A NAME="invoke(java.lang.String, java.lang.Object[], java.lang.String[])"><!-- --></A><H3> |
---|
296 | invoke</H3> |
---|
297 | <PRE> |
---|
298 | public <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>invoke</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> actionName, |
---|
299 | <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>[] parms, |
---|
300 | <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>[] signature) |
---|
301 | throws <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A>, |
---|
302 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></PRE> |
---|
303 | <DL> |
---|
304 | <DD><DL> |
---|
305 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#invoke(java.lang.String, java.lang.Object[], java.lang.String[])" title="class or interface in javax.management">invoke</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
306 | </DD> |
---|
307 | <DD><DL> |
---|
308 | |
---|
309 | <DT><B>Throws:</B> |
---|
310 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A></CODE> |
---|
311 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></CODE></DL> |
---|
312 | </DD> |
---|
313 | </DL> |
---|
314 | <HR> |
---|
315 | |
---|
316 | <A NAME="setAttribute(javax.management.Attribute)"><!-- --></A><H3> |
---|
317 | setAttribute</H3> |
---|
318 | <PRE> |
---|
319 | public void <B>setAttribute</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/management/Attribute.html?is-external=true" title="class or interface in javax.management">Attribute</A> attribute) |
---|
320 | throws <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeNotFoundException.html?is-external=true" title="class or interface in javax.management">AttributeNotFoundException</A>, |
---|
321 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/InvalidAttributeValueException.html?is-external=true" title="class or interface in javax.management">InvalidAttributeValueException</A>, |
---|
322 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A>, |
---|
323 | <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></PRE> |
---|
324 | <DL> |
---|
325 | <DD><DL> |
---|
326 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#setAttribute(javax.management.Attribute)" title="class or interface in javax.management">setAttribute</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
327 | </DD> |
---|
328 | <DD><DL> |
---|
329 | |
---|
330 | <DT><B>Throws:</B> |
---|
331 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeNotFoundException.html?is-external=true" title="class or interface in javax.management">AttributeNotFoundException</A></CODE> |
---|
332 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/InvalidAttributeValueException.html?is-external=true" title="class or interface in javax.management">InvalidAttributeValueException</A></CODE> |
---|
333 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/MBeanException.html?is-external=true" title="class or interface in javax.management">MBeanException</A></CODE> |
---|
334 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/ReflectionException.html?is-external=true" title="class or interface in javax.management">ReflectionException</A></CODE></DL> |
---|
335 | </DD> |
---|
336 | </DL> |
---|
337 | <HR> |
---|
338 | |
---|
339 | <A NAME="setAttributes(javax.management.AttributeList)"><!-- --></A><H3> |
---|
340 | setAttributes</H3> |
---|
341 | <PRE> |
---|
342 | public <A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A> <B>setAttributes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/management/AttributeList.html?is-external=true" title="class or interface in javax.management">AttributeList</A> attributes)</PRE> |
---|
343 | <DL> |
---|
344 | <DD><DL> |
---|
345 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true#setAttributes(javax.management.AttributeList)" title="class or interface in javax.management">setAttributes</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/management/DynamicMBean.html?is-external=true" title="class or interface in javax.management">DynamicMBean</A></CODE></DL> |
---|
346 | </DD> |
---|
347 | <DD><DL> |
---|
348 | </DL> |
---|
349 | </DD> |
---|
350 | </DL> |
---|
351 | <!-- ========= END OF CLASS DATA ========= --> |
---|
352 | <HR> |
---|
353 | |
---|
354 | |
---|
355 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
356 | <A NAME="navbar_bottom"><!-- --></A> |
---|
357 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
358 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
359 | <TR> |
---|
360 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
361 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
362 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
363 | <TR ALIGN="center" VALIGN="top"> |
---|
364 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
365 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
366 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
367 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MetricsDynamicMBeanBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
368 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
369 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
370 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
371 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
372 | </TR> |
---|
373 | </TABLE> |
---|
374 | </TD> |
---|
375 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
376 | </EM> |
---|
377 | </TD> |
---|
378 | </TR> |
---|
379 | |
---|
380 | <TR> |
---|
381 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
382 | <A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsBase.html" title="class in org.apache.hadoop.metrics.util"><B>PREV CLASS</B></A> |
---|
383 | <A HREF="../../../../../org/apache/hadoop/metrics/util/MetricsIntValue.html" title="class in org.apache.hadoop.metrics.util"><B>NEXT CLASS</B></A></FONT></TD> |
---|
384 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
385 | <A HREF="../../../../../index.html?org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.html" target="_top"><B>FRAMES</B></A> |
---|
386 | <A HREF="MetricsDynamicMBeanBase.html" target="_top"><B>NO FRAMES</B></A> |
---|
387 | <SCRIPT type="text/javascript"> |
---|
388 | <!-- |
---|
389 | if(window==top) { |
---|
390 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
391 | } |
---|
392 | //--> |
---|
393 | </SCRIPT> |
---|
394 | <NOSCRIPT> |
---|
395 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
396 | </NOSCRIPT> |
---|
397 | |
---|
398 | |
---|
399 | </FONT></TD> |
---|
400 | </TR> |
---|
401 | <TR> |
---|
402 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
403 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
404 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
405 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
406 | </TR> |
---|
407 | </TABLE> |
---|
408 | <A NAME="skip-navbar_bottom"></A> |
---|
409 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
410 | |
---|
411 | <HR> |
---|
412 | Copyright © 2009 The Apache Software Foundation |
---|
413 | </BODY> |
---|
414 | </HTML> |
---|