[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:59 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | Monitored (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="Monitored (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/Monitored.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/contrib/failmon/LogParser.html" title="class in org.apache.hadoop.contrib.failmon"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../../org/apache/hadoop/contrib/failmon/MonitorJob.html" title="class in org.apache.hadoop.contrib.failmon"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/contrib/failmon/Monitored.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="Monitored.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: FIELD | CONSTR | <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.contrib.failmon</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Interface Monitored</H2> |
---|
| 94 | <DL> |
---|
| 95 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/hadoop/contrib/failmon/CPUParser.html" title="class in org.apache.hadoop.contrib.failmon">CPUParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/HadoopLogParser.html" title="class in org.apache.hadoop.contrib.failmon">HadoopLogParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/LogParser.html" title="class in org.apache.hadoop.contrib.failmon">LogParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/NICParser.html" title="class in org.apache.hadoop.contrib.failmon">NICParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/SensorsParser.html" title="class in org.apache.hadoop.contrib.failmon">SensorsParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/ShellParser.html" title="class in org.apache.hadoop.contrib.failmon">ShellParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/SMARTParser.html" title="class in org.apache.hadoop.contrib.failmon">SMARTParser</A>, <A HREF="../../../../../org/apache/hadoop/contrib/failmon/SystemLogParser.html" title="class in org.apache.hadoop.contrib.failmon">SystemLogParser</A></DD> |
---|
| 96 | </DL> |
---|
| 97 | <HR> |
---|
| 98 | <DL> |
---|
| 99 | <DT><PRE>public interface <B>Monitored</B></DL> |
---|
| 100 | </PRE> |
---|
| 101 | |
---|
| 102 | <P> |
---|
| 103 | Represents objects that monitor specific hardware resources and |
---|
| 104 | can query them to get EventRecords describing the state of these |
---|
| 105 | resources. |
---|
| 106 | <P> |
---|
| 107 | |
---|
| 108 | <P> |
---|
| 109 | <HR> |
---|
| 110 | |
---|
| 111 | <P> |
---|
| 112 | |
---|
| 113 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 114 | |
---|
| 115 | <A NAME="method_summary"><!-- --></A> |
---|
| 116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 118 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 119 | <B>Method Summary</B></FONT></TH> |
---|
| 120 | </TR> |
---|
| 121 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 122 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 123 | <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> |
---|
| 124 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/contrib/failmon/Monitored.html#getInfo()">getInfo</A></B>()</CODE> |
---|
| 125 | |
---|
| 126 | <BR> |
---|
| 127 | Return a String with information about the implementing |
---|
| 128 | class</TD> |
---|
| 129 | </TR> |
---|
| 130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 132 | <CODE> <A HREF="../../../../../org/apache/hadoop/contrib/failmon/EventRecord.html" title="class in org.apache.hadoop.contrib.failmon">EventRecord</A>[]</CODE></FONT></TD> |
---|
| 133 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/contrib/failmon/Monitored.html#monitor()">monitor</A></B>()</CODE> |
---|
| 134 | |
---|
| 135 | <BR> |
---|
| 136 | Get an array of all EventRecords that can be extracted for |
---|
| 137 | the represented hardware component.</TD> |
---|
| 138 | </TR> |
---|
| 139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 141 | <CODE> void</CODE></FONT></TD> |
---|
| 142 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/contrib/failmon/Monitored.html#monitor(org.apache.hadoop.contrib.failmon.LocalStore)">monitor</A></B>(<A HREF="../../../../../org/apache/hadoop/contrib/failmon/LocalStore.html" title="class in org.apache.hadoop.contrib.failmon">LocalStore</A> ls)</CODE> |
---|
| 143 | |
---|
| 144 | <BR> |
---|
| 145 | Inserts all EventRecords that can be extracted for |
---|
| 146 | the represented hardware component into a LocalStore.</TD> |
---|
| 147 | </TR> |
---|
| 148 | </TABLE> |
---|
| 149 | |
---|
| 150 | <P> |
---|
| 151 | |
---|
| 152 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 153 | |
---|
| 154 | <A NAME="method_detail"><!-- --></A> |
---|
| 155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 156 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 157 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 158 | <B>Method Detail</B></FONT></TH> |
---|
| 159 | </TR> |
---|
| 160 | </TABLE> |
---|
| 161 | |
---|
| 162 | <A NAME="monitor()"><!-- --></A><H3> |
---|
| 163 | monitor</H3> |
---|
| 164 | <PRE> |
---|
| 165 | <A HREF="../../../../../org/apache/hadoop/contrib/failmon/EventRecord.html" title="class in org.apache.hadoop.contrib.failmon">EventRecord</A>[] <B>monitor</B>()</PRE> |
---|
| 166 | <DL> |
---|
| 167 | <DD>Get an array of all EventRecords that can be extracted for |
---|
| 168 | the represented hardware component. |
---|
| 169 | <P> |
---|
| 170 | <DD><DL> |
---|
| 171 | |
---|
| 172 | <DT><B>Returns:</B><DD>The array of EventRecords</DL> |
---|
| 173 | </DD> |
---|
| 174 | </DL> |
---|
| 175 | <HR> |
---|
| 176 | |
---|
| 177 | <A NAME="monitor(org.apache.hadoop.contrib.failmon.LocalStore)"><!-- --></A><H3> |
---|
| 178 | monitor</H3> |
---|
| 179 | <PRE> |
---|
| 180 | void <B>monitor</B>(<A HREF="../../../../../org/apache/hadoop/contrib/failmon/LocalStore.html" title="class in org.apache.hadoop.contrib.failmon">LocalStore</A> ls)</PRE> |
---|
| 181 | <DL> |
---|
| 182 | <DD>Inserts all EventRecords that can be extracted for |
---|
| 183 | the represented hardware component into a LocalStore. |
---|
| 184 | <P> |
---|
| 185 | <DD><DL> |
---|
| 186 | <DT><B>Parameters:</B><DD><CODE>ls</CODE> - the LocalStore into which the EventRecords |
---|
| 187 | are to be stored.</DL> |
---|
| 188 | </DD> |
---|
| 189 | </DL> |
---|
| 190 | <HR> |
---|
| 191 | |
---|
| 192 | <A NAME="getInfo()"><!-- --></A><H3> |
---|
| 193 | getInfo</H3> |
---|
| 194 | <PRE> |
---|
| 195 | <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>getInfo</B>()</PRE> |
---|
| 196 | <DL> |
---|
| 197 | <DD>Return a String with information about the implementing |
---|
| 198 | class |
---|
| 199 | <P> |
---|
| 200 | <DD><DL> |
---|
| 201 | |
---|
| 202 | <DT><B>Returns:</B><DD>A String describing the implementing class</DL> |
---|
| 203 | </DD> |
---|
| 204 | </DL> |
---|
| 205 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 206 | <HR> |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 210 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 211 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 212 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 213 | <TR> |
---|
| 214 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 215 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 216 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 217 | <TR ALIGN="center" VALIGN="top"> |
---|
| 218 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 219 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 220 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 221 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Monitored.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 222 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 223 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 224 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 225 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 226 | </TR> |
---|
| 227 | </TABLE> |
---|
| 228 | </TD> |
---|
| 229 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 230 | </EM> |
---|
| 231 | </TD> |
---|
| 232 | </TR> |
---|
| 233 | |
---|
| 234 | <TR> |
---|
| 235 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 236 | <A HREF="../../../../../org/apache/hadoop/contrib/failmon/LogParser.html" title="class in org.apache.hadoop.contrib.failmon"><B>PREV CLASS</B></A> |
---|
| 237 | <A HREF="../../../../../org/apache/hadoop/contrib/failmon/MonitorJob.html" title="class in org.apache.hadoop.contrib.failmon"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 238 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 239 | <A HREF="../../../../../index.html?org/apache/hadoop/contrib/failmon/Monitored.html" target="_top"><B>FRAMES</B></A> |
---|
| 240 | <A HREF="Monitored.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 241 | <SCRIPT type="text/javascript"> |
---|
| 242 | <!-- |
---|
| 243 | if(window==top) { |
---|
| 244 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 245 | } |
---|
| 246 | //--> |
---|
| 247 | </SCRIPT> |
---|
| 248 | <NOSCRIPT> |
---|
| 249 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 250 | </NOSCRIPT> |
---|
| 251 | |
---|
| 252 | |
---|
| 253 | </FONT></TD> |
---|
| 254 | </TR> |
---|
| 255 | <TR> |
---|
| 256 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 257 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 258 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 259 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 260 | </TR> |
---|
| 261 | </TABLE> |
---|
| 262 | <A NAME="skip-navbar_bottom"></A> |
---|
| 263 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 264 | |
---|
| 265 | <HR> |
---|
| 266 | Copyright © 2009 The Apache Software Foundation |
---|
| 267 | </BODY> |
---|
| 268 | </HTML> |
---|