/doc/javadoc/mdfs/namenode/io/DataNodeQuerier.html

https://bitbucket.org/crholm/mdfs · 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>
  7. DataNodeQuerier
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="DataNodeQuerier";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DataNodeQuerier.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  45. </EM>
  46. </TD>
  47. </TR>
  48. <TR>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. &nbsp;<A HREF="../../../mdfs/namenode/io/ConnectionSheppard.html" title="class in mdfs.namenode.io"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;NEXT CLASS</FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../index.html?mdfs/namenode/io/DataNodeQuerier.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="DataNodeQuerier.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  55. &nbsp;<SCRIPT type="text/javascript">
  56. <!--
  57. if(window==top) {
  58. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  59. }
  60. //-->
  61. </SCRIPT>
  62. <NOSCRIPT>
  63. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  64. </NOSCRIPT>
  65. </FONT></TD>
  66. </TR>
  67. <TR>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  70. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  71. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  72. </TR>
  73. </TABLE>
  74. <A NAME="skip-navbar_top"></A>
  75. <!-- ========= END OF TOP NAVBAR ========= -->
  76. <HR>
  77. <!-- ======== START OF CLASS DATA ======== -->
  78. <H2>
  79. <FONT SIZE="-1">
  80. mdfs.namenode.io</FONT>
  81. <BR>
  82. Class DataNodeQuerier</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>mdfs.namenode.io.DataNodeQuerier</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>DataNodeQuerier</B><DT>extends java.lang.Object<DT>implements java.lang.Runnable</DL>
  93. </PRE>
  94. <P>
  95. This object quries diffrent datanodes. It provides a way for the name node to tell the datanodes what to do.
  96. <P>
  97. <P>
  98. <DL>
  99. <DT><B>Author:</B></DT>
  100. <DD>Rasmus Holm</DD>
  101. </DL>
  102. <HR>
  103. <P>
  104. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  105. <A NAME="constructor_summary"><!-- --></A>
  106. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  107. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  108. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  109. <B>Constructor Summary</B></FONT></TH>
  110. </TR>
  111. <TR BGCOLOR="white" CLASS="TableRowColor">
  112. <TD><CODE><B><A HREF="../../../mdfs/namenode/io/DataNodeQuerier.html#DataNodeQuerier()">DataNodeQuerier</A></B>()</CODE>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  115. </TR>
  116. </TABLE>
  117. &nbsp;
  118. <!-- ========== METHOD SUMMARY =========== -->
  119. <A NAME="method_summary"><!-- --></A>
  120. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  121. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  122. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  123. <B>Method Summary</B></FONT></TH>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  127. <CODE>&nbsp;void</CODE></FONT></TD>
  128. <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>&nbsp;node)</CODE>
  129. <BR>
  130. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will remove all raw data that are deposited on the diffrent datanodes from them.</TD>
  131. </TR>
  132. <TR BGCOLOR="white" CLASS="TableRowColor">
  133. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  134. <CODE>&nbsp;void</CODE></FONT></TD>
  135. <TD><CODE><B><A HREF="../../../mdfs/namenode/io/DataNodeQuerier.html#run()">run</A></B>()</CODE>
  136. <BR>
  137. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  138. </TR>
  139. </TABLE>
  140. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  141. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  142. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  143. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  144. </TR>
  145. <TR BGCOLOR="white" CLASS="TableRowColor">
  146. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  147. </TR>
  148. </TABLE>
  149. &nbsp;
  150. <P>
  151. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  152. <A NAME="constructor_detail"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  155. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  156. <B>Constructor Detail</B></FONT></TH>
  157. </TR>
  158. </TABLE>
  159. <A NAME="DataNodeQuerier()"><!-- --></A><H3>
  160. DataNodeQuerier</H3>
  161. <PRE>
  162. public <B>DataNodeQuerier</B>()</PRE>
  163. <DL>
  164. </DL>
  165. <!-- ============ METHOD DETAIL ========== -->
  166. <A NAME="method_detail"><!-- --></A>
  167. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  168. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  169. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  170. <B>Method Detail</B></FONT></TH>
  171. </TR>
  172. </TABLE>
  173. <A NAME="removeData(mdfs.namenode.repositories.MetaDataRepositoryNode)"><!-- --></A><H3>
  174. removeData</H3>
  175. <PRE>
  176. public void <B>removeData</B>(<A HREF="../../../mdfs/namenode/repositories/MetaDataRepositoryNode.html" title="class in mdfs.namenode.repositories">MetaDataRepositoryNode</A>&nbsp;node)</PRE>
  177. <DL>
  178. <DD>This method will remove all raw data that are deposited on the diffrent datanodes from them.
  179. <P>
  180. <DD><DL>
  181. </DL>
  182. </DD>
  183. <DD><DL>
  184. <DT><B>Parameters:</B><DD><CODE>node</CODE> - contains the metadata of the file that is to be removed</DL>
  185. </DD>
  186. </DL>
  187. <HR>
  188. <A NAME="run()"><!-- --></A><H3>
  189. run</H3>
  190. <PRE>
  191. public void <B>run</B>()</PRE>
  192. <DL>
  193. <DD><DL>
  194. <DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
  195. </DD>
  196. <DD><DL>
  197. </DL>
  198. </DD>
  199. </DL>
  200. <!-- ========= END OF CLASS DATA ========= -->
  201. <HR>
  202. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  203. <A NAME="navbar_bottom"><!-- --></A>
  204. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  205. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  206. <TR>
  207. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  208. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  209. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  210. <TR ALIGN="center" VALIGN="top">
  211. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  212. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  213. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  214. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DataNodeQuerier.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  215. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  216. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  218. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  219. </TR>
  220. </TABLE>
  221. </TD>
  222. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  223. </EM>
  224. </TD>
  225. </TR>
  226. <TR>
  227. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  228. &nbsp;<A HREF="../../../mdfs/namenode/io/ConnectionSheppard.html" title="class in mdfs.namenode.io"><B>PREV CLASS</B></A>&nbsp;
  229. &nbsp;NEXT CLASS</FONT></TD>
  230. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  231. <A HREF="../../../index.html?mdfs/namenode/io/DataNodeQuerier.html" target="_top"><B>FRAMES</B></A> &nbsp;
  232. &nbsp;<A HREF="DataNodeQuerier.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  233. &nbsp;<SCRIPT type="text/javascript">
  234. <!--
  235. if(window==top) {
  236. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  237. }
  238. //-->
  239. </SCRIPT>
  240. <NOSCRIPT>
  241. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  242. </NOSCRIPT>
  243. </FONT></TD>
  244. </TR>
  245. <TR>
  246. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  247. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  248. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  249. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  250. </TR>
  251. </TABLE>
  252. <A NAME="skip-navbar_bottom"></A>
  253. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  254. <HR>
  255. </BODY>
  256. </HTML>