/doc/javadoc/mdfs/namenode/io/DataNodeQuerier.html
HTML | 290 lines | 234 code | 34 blank | 22 comment | 0 complexity | 358da5df7e5d09d6ca2044c79e049d1c MD5 | raw file
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_23) on Thu Apr 26 19:46:16 CEST 2012 -->
6<TITLE>
7DataNodeQuerier
8</TITLE>
9
10<META NAME="date" CONTENT="2012-04-26">
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="DataNodeQuerier";
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/DataNodeQuerier.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-files/index-1.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="../../../mdfs/namenode/io/ConnectionSheppard.html" title="class in mdfs.namenode.io"><B>PREV CLASS</B></A>
59 NEXT CLASS</FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?mdfs/namenode/io/DataNodeQuerier.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="DataNodeQuerier.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">
81DETAIL: 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">
91mdfs.namenode.io</FONT>
92<BR>
93Class DataNodeQuerier</H2>
94<PRE>
95java.lang.Object
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>mdfs.namenode.io.DataNodeQuerier</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable</DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>DataNodeQuerier</B><DT>extends java.lang.Object<DT>implements java.lang.Runnable</DL>
104</PRE>
105
106<P>
107This object quries diffrent datanodes. It provides a way for the name node to tell the datanodes what to do.
108<P>
109
110<P>
111<DL>
112<DT><B>Author:</B></DT>
113 <DD>Rasmus Holm</DD>
114</DL>
115<HR>
116
117<P>
118
119<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121<A NAME="constructor_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Constructor Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD><CODE><B><A HREF="../../../mdfs/namenode/io/DataNodeQuerier.html#DataNodeQuerier()">DataNodeQuerier</A></B>()</CODE>
129
130<BR>
131 </TD>
132</TR>
133</TABLE>
134
135<!-- ========== METHOD SUMMARY =========== -->
136
137<A NAME="method_summary"><!-- --></A>
138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
141<B>Method Summary</B></FONT></TH>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE> void</CODE></FONT></TD>
146<TD><CODE><B><A HREF="../../../mdfs/namenode/io/DataNodeQuerier.html#removeData(mdfs.namenode.repositories.MetaDataRepositoryNode)">removeData</A></B>(<A HREF="../../../mdfs/namenode/repositories/MetaDataRepositoryNode.html" title="class in mdfs.namenode.repositories">MetaDataRepositoryNode</A> node)</CODE>
147
148<BR>
149 This method will remove all raw data that are deposited on the diffrent datanodes from them.</TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153<CODE> void</CODE></FONT></TD>
154<TD><CODE><B><A HREF="../../../mdfs/namenode/io/DataNodeQuerier.html#run()">run</A></B>()</CODE>
155
156<BR>
157 </TD>
158</TR>
159</TABLE>
160 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
163<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
167</TR>
168</TABLE>
169
170<P>
171
172<!-- ========= CONSTRUCTOR DETAIL ======== -->
173
174<A NAME="constructor_detail"><!-- --></A>
175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
178<B>Constructor Detail</B></FONT></TH>
179</TR>
180</TABLE>
181
182<A NAME="DataNodeQuerier()"><!-- --></A><H3>
183DataNodeQuerier</H3>
184<PRE>
185public <B>DataNodeQuerier</B>()</PRE>
186<DL>
187</DL>
188
189<!-- ============ METHOD DETAIL ========== -->
190
191<A NAME="method_detail"><!-- --></A>
192<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
193<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
194<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
195<B>Method Detail</B></FONT></TH>
196</TR>
197</TABLE>
198
199<A NAME="removeData(mdfs.namenode.repositories.MetaDataRepositoryNode)"><!-- --></A><H3>
200removeData</H3>
201<PRE>
202public void <B>removeData</B>(<A HREF="../../../mdfs/namenode/repositories/MetaDataRepositoryNode.html" title="class in mdfs.namenode.repositories">MetaDataRepositoryNode</A> node)</PRE>
203<DL>
204<DD>This method will remove all raw data that are deposited on the diffrent datanodes from them.
205<P>
206<DD><DL>
207</DL>
208</DD>
209<DD><DL>
210<DT><B>Parameters:</B><DD><CODE>node</CODE> - contains the metadata of the file that is to be removed</DL>
211</DD>
212</DL>
213<HR>
214
215<A NAME="run()"><!-- --></A><H3>
216run</H3>
217<PRE>
218public void <B>run</B>()</PRE>
219<DL>
220<DD><DL>
221<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
222</DD>
223<DD><DL>
224</DL>
225</DD>
226</DL>
227<!-- ========= END OF CLASS DATA ========= -->
228<HR>
229
230
231<!-- ======= START OF BOTTOM NAVBAR ====== -->
232<A NAME="navbar_bottom"><!-- --></A>
233<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
234<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
235<TR>
236<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
237<A NAME="navbar_bottom_firstrow"><!-- --></A>
238<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
239 <TR ALIGN="center" VALIGN="top">
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
242 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DataNodeQuerier.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
248 </TR>
249</TABLE>
250</TD>
251<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
252</EM>
253</TD>
254</TR>
255
256<TR>
257<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
258 <A HREF="../../../mdfs/namenode/io/ConnectionSheppard.html" title="class in mdfs.namenode.io"><B>PREV CLASS</B></A>
259 NEXT CLASS</FONT></TD>
260<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
261 <A HREF="../../../index.html?mdfs/namenode/io/DataNodeQuerier.html" target="_top"><B>FRAMES</B></A>
262 <A HREF="DataNodeQuerier.html" target="_top"><B>NO FRAMES</B></A>
263 <SCRIPT type="text/javascript">
264 <!--
265 if(window==top) {
266 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
267 }
268 //-->
269</SCRIPT>
270<NOSCRIPT>
271 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
272</NOSCRIPT>
273
274
275</FONT></TD>
276</TR>
277<TR>
278<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
279 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
280<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
281DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
282</TR>
283</TABLE>
284<A NAME="skip-navbar_bottom"></A>
285<!-- ======== END OF BOTTOM NAVBAR ======= -->
286
287<HR>
288
289</BODY>
290</HTML>