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-google-internal) on Mon Jan 04 20:48:01 PST 2010 --> 6<TITLE> 7Uses of Interface com.google.common.util.concurrent.TimeLimiter (Guava Libraries 2010.01.04) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-01-04"> 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="Uses of Interface com.google.common.util.concurrent.TimeLimiter (Guava Libraries 2010.01.04)"; 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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-all.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 PREV 59 NEXT</FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../../../index.html?com/google/common/util/concurrent//class-useTimeLimiter.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="TimeLimiter.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</TABLE> 78<A NAME="skip-navbar_top"></A> 79<!-- ========= END OF TOP NAVBAR ========= --> 80 81<HR> 82<CENTER> 83<H2> 84<B>Uses of Interface<br>com.google.common.util.concurrent.TimeLimiter</B></H2> 85</CENTER> 86 87<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 88<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 89<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 90Packages that use <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent">TimeLimiter</A></FONT></TH> 91</TR> 92<TR BGCOLOR="white" CLASS="TableRowColor"> 93<TD><A HREF="#com.google.common.util.concurrent"><B>com.google.common.util.concurrent</B></A></TD> 94<TD> </TD> 95</TR> 96</TABLE> 97 98<P> 99<A NAME="com.google.common.util.concurrent"><!-- --></A> 100<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 101<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 102<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 103Uses of <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent">TimeLimiter</A> in <A HREF="../../../../../../com/google/common/util/concurrent/package-summary.html">com.google.common.util.concurrent</A></FONT></TH> 104</TR> 105</TABLE> 106 107<P> 108 109<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 110<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 111<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../../com/google/common/util/concurrent/package-summary.html">com.google.common.util.concurrent</A> that implement <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent">TimeLimiter</A></FONT></TH> 112</TR> 113<TR BGCOLOR="white" CLASS="TableRowColor"> 114<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 115<CODE> class</CODE></FONT></TD> 116<TD><CODE><B><A HREF="../../../../../../com/google/common/util/concurrent/FakeTimeLimiter.html" title="class in com.google.common.util.concurrent">FakeTimeLimiter</A></B></CODE> 117 118<BR> 119 A TimeLimiter implementation which actually does not attempt to limit time 120 at all.</TD> 121</TR> 122<TR BGCOLOR="white" CLASS="TableRowColor"> 123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124<CODE> class</CODE></FONT></TD> 125<TD><CODE><B><A HREF="../../../../../../com/google/common/util/concurrent/SimpleTimeLimiter.html" title="class in com.google.common.util.concurrent">SimpleTimeLimiter</A></B></CODE> 126 127<BR> 128 A TimeLimiter that runs method calls in the background using an 129 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>ExecutorService</CODE></A>.</TD> 130</TR> 131</TABLE> 132 133<P> 134<HR> 135 136 137<!-- ======= START OF BOTTOM NAVBAR ====== --> 138<A NAME="navbar_bottom"><!-- --></A> 139<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 140<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 141<TR> 142<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 143<A NAME="navbar_bottom_firstrow"><!-- --></A> 144<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 145 <TR ALIGN="center" VALIGN="top"> 146 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 147 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 148 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 149 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 150 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 151 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 152 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 153 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 154 </TR> 155</TABLE> 156</TD> 157<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 158</EM> 159</TD> 160</TR> 161 162<TR> 163<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 164 PREV 165 NEXT</FONT></TD> 166<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 167 <A HREF="../../../../../../index.html?com/google/common/util/concurrent//class-useTimeLimiter.html" target="_top"><B>FRAMES</B></A> 168 <A HREF="TimeLimiter.html" target="_top"><B>NO FRAMES</B></A> 169 <SCRIPT type="text/javascript"> 170 <!-- 171 if(window==top) { 172 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 173 } 174 //--> 175</SCRIPT> 176<NOSCRIPT> 177 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> 178</NOSCRIPT> 179 180 181</FONT></TD> 182</TR> 183</TABLE> 184<A NAME="skip-navbar_bottom"></A> 185<!-- ======== END OF BOTTOM NAVBAR ======= --> 186 187<HR> 188 189</BODY> 190</HTML> 191