PageRenderTime 715ms CodeModel.GetById 118ms RepoModel.GetById 10ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/util/ThreadPool.Task.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 225 lines | 178 code | 27 blank | 20 comment | 0 complexity | 50dd66eaae5a0fb01b48234d83e28fc3 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  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_0) on Mon Apr 20 21:45:57 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. ThreadPool.Task (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="ThreadPool.Task (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ThreadPool.Task.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/XmlRpcDateTimeDateFormat.html" title="class in org.apache.xmlrpc.util"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/util/ThreadPool.Task.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="ThreadPool.Task.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.util</FONT>
  82. <BR>
  83. Interface ThreadPool.Task</H2>
  84. <DL>
  85. <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util">ThreadPool.InterruptableTask</A></DD>
  86. </DL>
  87. <DL>
  88. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/xmlrpc/webserver/Connection.html" title="class in org.apache.xmlrpc.webserver">Connection</A>, <A HREF="../../../../org/apache/xmlrpc/webserver/ServletConnection.html" title="class in org.apache.xmlrpc.webserver">ServletConnection</A></DD>
  89. </DL>
  90. <DL>
  91. <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.html" title="class in org.apache.xmlrpc.util">ThreadPool</A></DD>
  92. </DL>
  93. <HR>
  94. <DL>
  95. <DT><PRE>public static interface <B>ThreadPool.Task</B></DL>
  96. </PRE>
  97. <P>
  98. The thread pool contains instances of <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util"><CODE>ThreadPool.Task</CODE></A>.
  99. <P>
  100. <P>
  101. <HR>
  102. <P>
  103. <!-- ========== METHOD SUMMARY =========== -->
  104. <A NAME="method_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Method Summary</B></FONT></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  112. <CODE>&nbsp;void</CODE></FONT></TD>
  113. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html#run()">run</A></B>()</CODE>
  114. <BR>
  115. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs the task.</TD>
  116. </TR>
  117. </TABLE>
  118. &nbsp;
  119. <P>
  120. <!-- ============ METHOD DETAIL ========== -->
  121. <A NAME="method_detail"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  124. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  125. <B>Method Detail</B></FONT></TH>
  126. </TR>
  127. </TABLE>
  128. <A NAME="run()"><!-- --></A><H3>
  129. run</H3>
  130. <PRE>
  131. void <B>run</B>()
  132. throws java.lang.Throwable</PRE>
  133. <DL>
  134. <DD>Performs the task.
  135. <P>
  136. <DD><DL>
  137. <DT><B>Throws:</B>
  138. <DD><CODE>java.lang.Throwable</CODE> - The task failed, and the worker thread won't be used again.</DL>
  139. </DD>
  140. </DL>
  141. <!-- ========= END OF CLASS DATA ========= -->
  142. <HR>
  143. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  144. <A NAME="navbar_bottom"><!-- --></A>
  145. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  146. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  147. <TR>
  148. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  149. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  150. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  151. <TR ALIGN="center" VALIGN="top">
  152. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  153. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  154. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  155. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ThreadPool.Task.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  156. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  157. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  158. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  159. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  160. </TR>
  161. </TABLE>
  162. </TD>
  163. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  164. </EM>
  165. </TD>
  166. </TR>
  167. <TR>
  168. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  169. &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" title="interface in org.apache.xmlrpc.util"><B>PREV CLASS</B></A>&nbsp;
  170. &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/XmlRpcDateTimeDateFormat.html" title="class in org.apache.xmlrpc.util"><B>NEXT CLASS</B></A></FONT></TD>
  171. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  172. <A HREF="../../../../index.html?org/apache/xmlrpc/util/ThreadPool.Task.html" target="_top"><B>FRAMES</B></A> &nbsp;
  173. &nbsp;<A HREF="ThreadPool.Task.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  174. &nbsp;<SCRIPT type="text/javascript">
  175. <!--
  176. if(window==top) {
  177. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  178. }
  179. //-->
  180. </SCRIPT>
  181. <NOSCRIPT>
  182. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  183. </NOSCRIPT>
  184. </FONT></TD>
  185. </TR>
  186. <TR>
  187. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  188. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  189. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  190. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  191. </TR>
  192. </TABLE>
  193. <A NAME="skip-navbar_bottom"></A>
  194. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  195. <HR>
  196. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  197. </BODY>
  198. </HTML>