PageRenderTime 65ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/javadoc/com/google/common/util/concurrent/class-use/TimeLimiter.html

https://github.com/MIPS/external-guava
HTML | 190 lines | 152 code | 22 blank | 16 comment | 0 complexity | 1c4d0527a1b7e1e53e924d84ec6c0cdb 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-google-internal) on Mon Jan 04 20:48:01 PST 2010 -->
  6. <TITLE>
  7. Uses of Interface com.google.common.util.concurrent.TimeLimiter (Guava Libraries 2010.01.04)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-01-04">
  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="Uses of Interface com.google.common.util.concurrent.TimeLimiter (Guava Libraries 2010.01.04)";
  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="#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>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&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-all.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;PREV&nbsp;
  51. &nbsp;NEXT</FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../../../../index.html?com/google/common/util/concurrent//class-useTimeLimiter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="TimeLimiter.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. </TABLE>
  68. <A NAME="skip-navbar_top"></A>
  69. <!-- ========= END OF TOP NAVBAR ========= -->
  70. <HR>
  71. <CENTER>
  72. <H2>
  73. <B>Uses of Interface<br>com.google.common.util.concurrent.TimeLimiter</B></H2>
  74. </CENTER>
  75. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  76. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  77. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  78. Packages that use <A HREF="../../../../../../com/google/common/util/concurrent/TimeLimiter.html" title="interface in com.google.common.util.concurrent">TimeLimiter</A></FONT></TH>
  79. </TR>
  80. <TR BGCOLOR="white" CLASS="TableRowColor">
  81. <TD><A HREF="#com.google.common.util.concurrent"><B>com.google.common.util.concurrent</B></A></TD>
  82. <TD>&nbsp;&nbsp;</TD>
  83. </TR>
  84. </TABLE>
  85. &nbsp;
  86. <P>
  87. <A NAME="com.google.common.util.concurrent"><!-- --></A>
  88. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  89. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  90. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  91. Uses 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>
  92. </TR>
  93. </TABLE>
  94. &nbsp;
  95. <P>
  96. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  97. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  98. <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>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  102. <CODE>&nbsp;class</CODE></FONT></TD>
  103. <TD><CODE><B><A HREF="../../../../../../com/google/common/util/concurrent/FakeTimeLimiter.html" title="class in com.google.common.util.concurrent">FakeTimeLimiter</A></B></CODE>
  104. <BR>
  105. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A TimeLimiter implementation which actually does not attempt to limit time
  106. at all.</TD>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  110. <CODE>&nbsp;class</CODE></FONT></TD>
  111. <TD><CODE><B><A HREF="../../../../../../com/google/common/util/concurrent/SimpleTimeLimiter.html" title="class in com.google.common.util.concurrent">SimpleTimeLimiter</A></B></CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A TimeLimiter that runs method calls in the background using an
  114. <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>
  115. </TR>
  116. </TABLE>
  117. &nbsp;
  118. <P>
  119. <HR>
  120. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  121. <A NAME="navbar_bottom"><!-- --></A>
  122. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  123. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  124. <TR>
  125. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  126. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  127. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  128. <TR ALIGN="center" VALIGN="top">
  129. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  130. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  131. <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>&nbsp;</TD>
  132. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  133. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  134. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  135. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  136. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  137. </TR>
  138. </TABLE>
  139. </TD>
  140. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  141. </EM>
  142. </TD>
  143. </TR>
  144. <TR>
  145. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  146. &nbsp;PREV&nbsp;
  147. &nbsp;NEXT</FONT></TD>
  148. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  149. <A HREF="../../../../../../index.html?com/google/common/util/concurrent//class-useTimeLimiter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  150. &nbsp;<A HREF="TimeLimiter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  151. &nbsp;<SCRIPT type="text/javascript">
  152. <!--
  153. if(window==top) {
  154. document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  155. }
  156. //-->
  157. </SCRIPT>
  158. <NOSCRIPT>
  159. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  160. </NOSCRIPT>
  161. </FONT></TD>
  162. </TR>
  163. </TABLE>
  164. <A NAME="skip-navbar_bottom"></A>
  165. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  166. <HR>
  167. </BODY>
  168. </HTML>