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