/lib/docs/org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html
HTML | 237 lines | 190 code | 27 blank | 20 comment | 0 complexity | 00ad188ed1a7f16110446f48230228b7 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_0) on Mon Apr 20 21:45:57 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8ThreadPool.InterruptableTask (Apache XML-RPC 3.1.2 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2009-04-20"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="ThreadPool.InterruptableTask (Apache XML-RPC 3.1.2 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.InterruptableTask.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.html" title="class in org.apache.xmlrpc.util"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface 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.InterruptableTask.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="ThreadPool.InterruptableTask.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"> 82DETAIL: 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"> 92org.apache.xmlrpc.util</FONT> 93<BR> 94Interface ThreadPool.InterruptableTask</H2> 95<DL> 96<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util">ThreadPool.Task</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.InterruptableTask</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util">ThreadPool.Task</A></DL> 107</PRE> 108 109<P> 110A task, which may be interrupted, if the pool is shutting down. 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.InterruptableTask.html#shutdown()">shutdown</A></B>()</CODE> 130 131<BR> 132 Interrupts the task.</TD> 133</TR> 134</TABLE> 135 <A NAME="methods_inherited_from_class_org.apache.xmlrpc.util.ThreadPool.Task"><!-- --></A> 136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 137<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 138<TH ALIGN="left"><B>Methods inherited from interface org.apache.xmlrpc.util.<A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util">ThreadPool.Task</A></B></TH> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD><CODE><A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html#run()">run</A></CODE></TD> 142</TR> 143</TABLE> 144 145<P> 146 147<!-- ============ METHOD DETAIL ========== --> 148 149<A NAME="method_detail"><!-- --></A> 150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 152<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 153<B>Method Detail</B></FONT></TH> 154</TR> 155</TABLE> 156 157<A NAME="shutdown()"><!-- --></A><H3> 158shutdown</H3> 159<PRE> 160void <B>shutdown</B>() 161 throws java.lang.Throwable</PRE> 162<DL> 163<DD>Interrupts the task. 164<P> 165<DD><DL> 166</DL> 167</DD> 168<DD><DL> 169 170<DT><B>Throws:</B> 171<DD><CODE>java.lang.Throwable</CODE> - Shutting down the task failed.</DL> 172</DD> 173</DL> 174<!-- ========= END OF CLASS DATA ========= --> 175<HR> 176 177 178<!-- ======= START OF BOTTOM NAVBAR ====== --> 179<A NAME="navbar_bottom"><!-- --></A> 180<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 181<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 182<TR> 183<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 184<A NAME="navbar_bottom_firstrow"><!-- --></A> 185<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 186 <TR ALIGN="center" VALIGN="top"> 187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 188 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 189 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ThreadPool.InterruptableTask.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 193 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 194 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 195 </TR> 196</TABLE> 197</TD> 198<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 199</EM> 200</TD> 201</TR> 202 203<TR> 204<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 205 <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.html" title="class in org.apache.xmlrpc.util"><B>PREV CLASS</B></A> 206 <A HREF="../../../../org/apache/xmlrpc/util/ThreadPool.Task.html" title="interface in org.apache.xmlrpc.util"><B>NEXT CLASS</B></A></FONT></TD> 207<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 208 <A HREF="../../../../index.html?org/apache/xmlrpc/util/ThreadPool.InterruptableTask.html" target="_top"><B>FRAMES</B></A> 209 <A HREF="ThreadPool.InterruptableTask.html" target="_top"><B>NO FRAMES</B></A> 210 <SCRIPT type="text/javascript"> 211 <!-- 212 if(window==top) { 213 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 214 } 215 //--> 216</SCRIPT> 217<NOSCRIPT> 218 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 219</NOSCRIPT> 220 221 222</FONT></TD> 223</TR> 224<TR> 225<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 226 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 227<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 228DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 229</TR> 230</TABLE> 231<A NAME="skip-navbar_bottom"></A> 232<!-- ======== END OF BOTTOM NAVBAR ======= --> 233 234<HR> 235Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 236</BODY> 237</HTML>