jretlang 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.gitignore +3 -0
  2. data/Rakefile +33 -0
  3. data/VERSION +1 -0
  4. data/changelog +29 -0
  5. data/jretlang.gemspec +154 -0
  6. data/lib/jretlang/channel.rb +35 -0
  7. data/lib/jretlang/fiber.rb +15 -0
  8. data/lib/jretlang/latch.rb +10 -0
  9. data/lib/jretlang.rb +22 -0
  10. data/readme +1 -0
  11. data/test/unit/test_examples.rb +142 -0
  12. data/test/unit/unit_test_helper.rb +6 -0
  13. data/vendor/jetlang-0.2.0/jetlang-0.2.0-sources.jar +0 -0
  14. data/vendor/jetlang-0.2.0/site/apidocs/allclasses-frame.html +106 -0
  15. data/vendor/jetlang-0.2.0/site/apidocs/allclasses-noframe.html +106 -0
  16. data/vendor/jetlang-0.2.0/site/apidocs/constant-values.html +147 -0
  17. data/vendor/jetlang-0.2.0/site/apidocs/deprecated-list.html +147 -0
  18. data/vendor/jetlang-0.2.0/site/apidocs/help-doc.html +224 -0
  19. data/vendor/jetlang-0.2.0/site/apidocs/index-all.html +677 -0
  20. data/vendor/jetlang-0.2.0/site/apidocs/index.html +40 -0
  21. data/vendor/jetlang-0.2.0/site/apidocs/options +19 -0
  22. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/AsyncRequest.html +376 -0
  23. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BaseSubscription.html +332 -0
  24. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BatchSubscriber.html +303 -0
  25. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Channel.html +207 -0
  26. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/ChannelSubscription.html +295 -0
  27. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Converter.html +211 -0
  28. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/KeyedBatchSubscriber.html +307 -0
  29. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/LastSubscriber.html +304 -0
  30. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryChannel.html +391 -0
  31. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryRequestChannel.html +319 -0
  32. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Publisher.html +219 -0
  33. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Request.html +251 -0
  34. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/RequestChannel.html +264 -0
  35. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Session.html +173 -0
  36. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SessionClosed.html +230 -0
  37. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscribable.html +230 -0
  38. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscriber.html +243 -0
  39. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SubscriberList.html +334 -0
  40. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/AsyncRequest.html +191 -0
  41. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BaseSubscription.html +205 -0
  42. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BatchSubscriber.html +145 -0
  43. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Channel.html +181 -0
  44. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/ChannelSubscription.html +145 -0
  45. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Converter.html +194 -0
  46. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/KeyedBatchSubscriber.html +145 -0
  47. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/LastSubscriber.html +145 -0
  48. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryChannel.html +145 -0
  49. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryRequestChannel.html +145 -0
  50. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Publisher.html +197 -0
  51. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Request.html +211 -0
  52. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/RequestChannel.html +240 -0
  53. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Session.html +189 -0
  54. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SessionClosed.html +193 -0
  55. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscribable.html +237 -0
  56. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscriber.html +197 -0
  57. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SubscriberList.html +145 -0
  58. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-frame.html +76 -0
  59. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-summary.html +245 -0
  60. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-tree.html +172 -0
  61. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-use.html +237 -0
  62. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutor.html +219 -0
  63. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutorImpl.html +267 -0
  64. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Callback.html +217 -0
  65. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Disposable.html +219 -0
  66. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/DisposingExecutor.html +286 -0
  67. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventBuffer.html +352 -0
  68. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventReader.html +234 -0
  69. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Filter.html +216 -0
  70. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableBlockingQueue.html +337 -0
  71. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutor.html +225 -0
  72. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutorImpl.html +404 -0
  73. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Scheduler.html +280 -0
  74. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SchedulerImpl.html +354 -0
  75. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousDisposingExecutor.html +391 -0
  76. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousExecutor.html +307 -0
  77. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutor.html +224 -0
  78. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutorImpl.html +145 -0
  79. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Callback.html +499 -0
  80. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Disposable.html +669 -0
  81. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/DisposingExecutor.html +440 -0
  82. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventBuffer.html +197 -0
  83. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventReader.html +206 -0
  84. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Filter.html +219 -0
  85. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableBlockingQueue.html +145 -0
  86. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutor.html +218 -0
  87. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutorImpl.html +145 -0
  88. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Scheduler.html +235 -0
  89. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SchedulerImpl.html +145 -0
  90. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousDisposingExecutor.html +145 -0
  91. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousExecutor.html +145 -0
  92. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-frame.html +70 -0
  93. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-summary.html +226 -0
  94. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-tree.html +176 -0
  95. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-use.html +289 -0
  96. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/Fiber.html +266 -0
  97. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.ScheduledEvent.html +419 -0
  98. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.html +599 -0
  99. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/PoolFiberFactory.html +321 -0
  100. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/ThreadFiber.html +525 -0
  101. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/Fiber.html +346 -0
  102. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.ScheduledEvent.html +181 -0
  103. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.html +145 -0
  104. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/PoolFiberFactory.html +145 -0
  105. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/ThreadFiber.html +145 -0
  106. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-frame.html +50 -0
  107. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-summary.html +185 -0
  108. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-tree.html +172 -0
  109. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-use.html +198 -0
  110. data/vendor/jetlang-0.2.0/site/apidocs/overview-frame.html +47 -0
  111. data/vendor/jetlang-0.2.0/site/apidocs/overview-summary.html +165 -0
  112. data/vendor/jetlang-0.2.0/site/apidocs/overview-tree.html +198 -0
  113. data/vendor/jetlang-0.2.0/site/apidocs/package-list +3 -0
  114. data/vendor/jetlang-0.2.0/site/apidocs/packages +3 -0
  115. data/vendor/jetlang-0.2.0/site/apidocs/resources/inherit.gif +0 -0
  116. data/vendor/jetlang-0.2.0/site/apidocs/stylesheet.css +29 -0
  117. data/vendor/jetlang-0.2.0.jar +0 -0
  118. metadata +172 -0
@@ -0,0 +1,225 @@
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_15) on Sat Sep 05 11:49:22 CDT 2009 -->
6
+ <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7
+ <TITLE>
8
+ RunnableExecutor (Jetlang 0.2.0 API)
9
+ </TITLE>
10
+
11
+ <META NAME="date" CONTENT="2009-09-05">
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="RunnableExecutor (Jetlang 0.2.0 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>&nbsp;</TD>
42
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableExecutor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableBlockingQueue.html" title="class in org.jetlang.core"><B>PREV CLASS</B></A>&nbsp;
60
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html" title="class in org.jetlang.core"><B>NEXT CLASS</B></A></FONT></TD>
61
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
+ <A HREF="../../../index.html?org/jetlang/core/RunnableExecutor.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
+ &nbsp;<A HREF="RunnableExecutor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64
+ &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
81
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</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.jetlang.core</FONT>
93
+ <BR>
94
+ Interface RunnableExecutor</H2>
95
+ <DL>
96
+ <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>, <A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A>, java.util.concurrent.Executor, java.lang.Runnable</DD>
97
+ </DL>
98
+ <DL>
99
+ <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html" title="class in org.jetlang.core">RunnableExecutorImpl</A>, <A HREF="../../../org/jetlang/core/SynchronousDisposingExecutor.html" title="class in org.jetlang.core">SynchronousDisposingExecutor</A></DD>
100
+ </DL>
101
+ <HR>
102
+ <DL>
103
+ <DT><PRE>public interface <B>RunnableExecutor</B><DT>extends <A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A>, <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>, java.lang.Runnable</DL>
104
+ </PRE>
105
+
106
+ <P>
107
+ Queues and executes events.
108
+ <P>
109
+
110
+ <P>
111
+ <HR>
112
+
113
+ <P>
114
+
115
+ <!-- ========== METHOD SUMMARY =========== -->
116
+
117
+ <A NAME="method_summary"><!-- --></A>
118
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121
+ <B>Method Summary</B></FONT></TH>
122
+ </TR>
123
+ </TABLE>
124
+ &nbsp;<A NAME="methods_inherited_from_class_org.jetlang.core.DisposingExecutor"><!-- --></A>
125
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
127
+ <TH ALIGN="left"><B>Methods inherited from interface org.jetlang.core.<A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A></B></TH>
128
+ </TR>
129
+ <TR BGCOLOR="white" CLASS="TableRowColor">
130
+ <TD><CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#add(org.jetlang.core.Disposable)">add</A>, <A HREF="../../../org/jetlang/core/DisposingExecutor.html#remove(org.jetlang.core.Disposable)">remove</A>, <A HREF="../../../org/jetlang/core/DisposingExecutor.html#size()">size</A></CODE></TD>
131
+ </TR>
132
+ </TABLE>
133
+ &nbsp;<A NAME="methods_inherited_from_class_java.util.concurrent.Executor"><!-- --></A>
134
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
136
+ <TH ALIGN="left"><B>Methods inherited from interface java.util.concurrent.Executor</B></TH>
137
+ </TR>
138
+ <TR BGCOLOR="white" CLASS="TableRowColor">
139
+ <TD><CODE>execute</CODE></TD>
140
+ </TR>
141
+ </TABLE>
142
+ &nbsp;<A NAME="methods_inherited_from_class_org.jetlang.core.Disposable"><!-- --></A>
143
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
145
+ <TH ALIGN="left"><B>Methods inherited from interface org.jetlang.core.<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></B></TH>
146
+ </TR>
147
+ <TR BGCOLOR="white" CLASS="TableRowColor">
148
+ <TD><CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">dispose</A></CODE></TD>
149
+ </TR>
150
+ </TABLE>
151
+ &nbsp;<A NAME="methods_inherited_from_class_java.lang.Runnable"><!-- --></A>
152
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
154
+ <TH ALIGN="left"><B>Methods inherited from interface java.lang.Runnable</B></TH>
155
+ </TR>
156
+ <TR BGCOLOR="white" CLASS="TableRowColor">
157
+ <TD><CODE>run</CODE></TD>
158
+ </TR>
159
+ </TABLE>
160
+ &nbsp;
161
+ <P>
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>&nbsp;</TD>
176
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
177
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
178
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableExecutor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
179
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
180
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
181
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
182
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableBlockingQueue.html" title="class in org.jetlang.core"><B>PREV CLASS</B></A>&nbsp;
194
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html" title="class in org.jetlang.core"><B>NEXT CLASS</B></A></FONT></TD>
195
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
196
+ <A HREF="../../../index.html?org/jetlang/core/RunnableExecutor.html" target="_top"><B>FRAMES</B></A> &nbsp;
197
+ &nbsp;<A HREF="RunnableExecutor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
198
+ &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
215
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
216
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
217
+ </TR>
218
+ </TABLE>
219
+ <A NAME="skip-navbar_bottom"></A>
220
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
221
+
222
+ <HR>
223
+ Copyright &#169; 2009. All Rights Reserved.
224
+ </BODY>
225
+ </HTML>
@@ -0,0 +1,404 @@
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_15) on Sat Sep 05 11:49:22 CDT 2009 -->
6
+ <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7
+ <TITLE>
8
+ RunnableExecutorImpl (Jetlang 0.2.0 API)
9
+ </TITLE>
10
+
11
+ <META NAME="date" CONTENT="2009-09-05">
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="RunnableExecutorImpl (Jetlang 0.2.0 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>&nbsp;</TD>
42
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableExecutorImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core"><B>PREV CLASS</B></A>&nbsp;
60
+ &nbsp;<A HREF="../../../org/jetlang/core/Scheduler.html" title="interface in org.jetlang.core"><B>NEXT CLASS</B></A></FONT></TD>
61
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
+ <A HREF="../../../index.html?org/jetlang/core/RunnableExecutorImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
+ &nbsp;<A HREF="RunnableExecutorImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64
+ &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.jetlang.core</FONT>
93
+ <BR>
94
+ Class RunnableExecutorImpl</H2>
95
+ <PRE>
96
+ java.lang.Object
97
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jetlang.core.RunnableExecutorImpl</B>
98
+ </PRE>
99
+ <DL>
100
+ <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable, java.util.concurrent.Executor, <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>, <A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A>, <A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core">RunnableExecutor</A></DD>
101
+ </DL>
102
+ <HR>
103
+ <DL>
104
+ <DT><PRE>public class <B>RunnableExecutorImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core">RunnableExecutor</A></DL>
105
+ </PRE>
106
+
107
+ <P>
108
+ Default implementation that queues and executes events. A dedicated thread is typically
109
+ used to consume events.
110
+ <P>
111
+
112
+ <P>
113
+ <HR>
114
+
115
+ <P>
116
+
117
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
118
+
119
+ <A NAME="constructor_summary"><!-- --></A>
120
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123
+ <B>Constructor Summary</B></FONT></TH>
124
+ </TR>
125
+ <TR BGCOLOR="white" CLASS="TableRowColor">
126
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#RunnableExecutorImpl()">RunnableExecutorImpl</A></B>()</CODE>
127
+
128
+ <BR>
129
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130
+ </TR>
131
+ <TR BGCOLOR="white" CLASS="TableRowColor">
132
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#RunnableExecutorImpl(org.jetlang.core.BatchExecutor)">RunnableExecutorImpl</A></B>(<A HREF="../../../org/jetlang/core/BatchExecutor.html" title="interface in org.jetlang.core">BatchExecutor</A>&nbsp;executor)</CODE>
133
+
134
+ <BR>
135
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
136
+ </TR>
137
+ </TABLE>
138
+ &nbsp;
139
+ <!-- ========== METHOD SUMMARY =========== -->
140
+
141
+ <A NAME="method_summary"><!-- --></A>
142
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144
+ <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145
+ <B>Method Summary</B></FONT></TH>
146
+ </TR>
147
+ <TR BGCOLOR="white" CLASS="TableRowColor">
148
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
+ <CODE>&nbsp;void</CODE></FONT></TD>
150
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#add(org.jetlang.core.Disposable)">add</A></B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;r)</CODE>
151
+
152
+ <BR>
153
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> to be disposed when this component is disposed</TD>
154
+ </TR>
155
+ <TR BGCOLOR="white" CLASS="TableRowColor">
156
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
+ <CODE>&nbsp;void</CODE></FONT></TD>
158
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#dispose()">dispose</A></B>()</CODE>
159
+
160
+ <BR>
161
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dispose this instance.</TD>
162
+ </TR>
163
+ <TR BGCOLOR="white" CLASS="TableRowColor">
164
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165
+ <CODE>&nbsp;void</CODE></FONT></TD>
166
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#execute(java.lang.Runnable)">execute</A></B>(java.lang.Runnable&nbsp;command)</CODE>
167
+
168
+ <BR>
169
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170
+ </TR>
171
+ <TR BGCOLOR="white" CLASS="TableRowColor">
172
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173
+ <CODE>&nbsp;boolean</CODE></FONT></TD>
174
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#remove(org.jetlang.core.Disposable)">remove</A></B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;disposable)</CODE>
175
+
176
+ <BR>
177
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> from being disposed when this component is disposed</TD>
178
+ </TR>
179
+ <TR BGCOLOR="white" CLASS="TableRowColor">
180
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181
+ <CODE>&nbsp;void</CODE></FONT></TD>
182
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#run()">run</A></B>()</CODE>
183
+
184
+ <BR>
185
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
186
+ </TR>
187
+ <TR BGCOLOR="white" CLASS="TableRowColor">
188
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189
+ <CODE>&nbsp;int</CODE></FONT></TD>
190
+ <TD><CODE><B><A HREF="../../../org/jetlang/core/RunnableExecutorImpl.html#size()">size</A></B>()</CODE>
191
+
192
+ <BR>
193
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the number of <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> instances registered with this instance.</TD>
194
+ </TR>
195
+ </TABLE>
196
+ &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
197
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198
+ <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
199
+ <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
200
+ </TR>
201
+ <TR BGCOLOR="white" CLASS="TableRowColor">
202
+ <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
203
+ </TR>
204
+ </TABLE>
205
+ &nbsp;
206
+ <P>
207
+
208
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
209
+
210
+ <A NAME="constructor_detail"><!-- --></A>
211
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
212
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
213
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
214
+ <B>Constructor Detail</B></FONT></TH>
215
+ </TR>
216
+ </TABLE>
217
+
218
+ <A NAME="RunnableExecutorImpl()"><!-- --></A><H3>
219
+ RunnableExecutorImpl</H3>
220
+ <PRE>
221
+ public <B>RunnableExecutorImpl</B>()</PRE>
222
+ <DL>
223
+ </DL>
224
+ <HR>
225
+
226
+ <A NAME="RunnableExecutorImpl(org.jetlang.core.BatchExecutor)"><!-- --></A><H3>
227
+ RunnableExecutorImpl</H3>
228
+ <PRE>
229
+ public <B>RunnableExecutorImpl</B>(<A HREF="../../../org/jetlang/core/BatchExecutor.html" title="interface in org.jetlang.core">BatchExecutor</A>&nbsp;executor)</PRE>
230
+ <DL>
231
+ </DL>
232
+
233
+ <!-- ============ METHOD DETAIL ========== -->
234
+
235
+ <A NAME="method_detail"><!-- --></A>
236
+ <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238
+ <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
239
+ <B>Method Detail</B></FONT></TH>
240
+ </TR>
241
+ </TABLE>
242
+
243
+ <A NAME="execute(java.lang.Runnable)"><!-- --></A><H3>
244
+ execute</H3>
245
+ <PRE>
246
+ public void <B>execute</B>(java.lang.Runnable&nbsp;command)</PRE>
247
+ <DL>
248
+ <DD><DL>
249
+ <DT><B>Specified by:</B><DD><CODE>execute</CODE> in interface <CODE>java.util.concurrent.Executor</CODE></DL>
250
+ </DD>
251
+ <DD><DL>
252
+ </DL>
253
+ </DD>
254
+ </DL>
255
+ <HR>
256
+
257
+ <A NAME="run()"><!-- --></A><H3>
258
+ run</H3>
259
+ <PRE>
260
+ public void <B>run</B>()</PRE>
261
+ <DL>
262
+ <DD><DL>
263
+ <DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
264
+ </DD>
265
+ <DD><DL>
266
+ </DL>
267
+ </DD>
268
+ </DL>
269
+ <HR>
270
+
271
+ <A NAME="dispose()"><!-- --></A><H3>
272
+ dispose</H3>
273
+ <PRE>
274
+ public void <B>dispose</B>()</PRE>
275
+ <DL>
276
+ <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">Disposable</A></CODE></B></DD>
277
+ <DD>Dispose this instance. It should be considered unusable after calling this method
278
+ <P>
279
+ <DD><DL>
280
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">dispose</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></CODE></DL>
281
+ </DD>
282
+ <DD><DL>
283
+ </DL>
284
+ </DD>
285
+ </DL>
286
+ <HR>
287
+
288
+ <A NAME="add(org.jetlang.core.Disposable)"><!-- --></A><H3>
289
+ add</H3>
290
+ <PRE>
291
+ public void <B>add</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;r)</PRE>
292
+ <DL>
293
+ <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#add(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
294
+ <DD>Add a <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> to be disposed when this component is disposed
295
+ <P>
296
+ <DD><DL>
297
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#add(org.jetlang.core.Disposable)">add</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A></CODE></DL>
298
+ </DD>
299
+ <DD><DL>
300
+ <DT><B>Parameters:</B><DD><CODE>r</CODE> - Disposable instance. Should not be null.</DL>
301
+ </DD>
302
+ </DL>
303
+ <HR>
304
+
305
+ <A NAME="remove(org.jetlang.core.Disposable)"><!-- --></A><H3>
306
+ remove</H3>
307
+ <PRE>
308
+ public boolean <B>remove</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;disposable)</PRE>
309
+ <DL>
310
+ <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#remove(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
311
+ <DD>Remove a <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> from being disposed when this component is disposed
312
+ <P>
313
+ <DD><DL>
314
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#remove(org.jetlang.core.Disposable)">remove</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A></CODE></DL>
315
+ </DD>
316
+ <DD><DL>
317
+ <DT><B>Parameters:</B><DD><CODE>disposable</CODE> - Disposable instance. Should not be null
318
+ <DT><B>Returns:</B><DD>True if the supplied Disposable was successfully removed. False if it wasn't available to be removed</DL>
319
+ </DD>
320
+ </DL>
321
+ <HR>
322
+
323
+ <A NAME="size()"><!-- --></A><H3>
324
+ size</H3>
325
+ <PRE>
326
+ public int <B>size</B>()</PRE>
327
+ <DL>
328
+ <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#size()">DisposingExecutor</A></CODE></B></DD>
329
+ <DD>Return the number of <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> instances registered with this instance.
330
+ <p/>
331
+ This method is typically used for testing and debugging purposes.
332
+ <P>
333
+ <DD><DL>
334
+ <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#size()">size</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html" title="interface in org.jetlang.core">DisposingExecutor</A></CODE></DL>
335
+ </DD>
336
+ <DD><DL>
337
+
338
+ <DT><B>Returns:</B><DD>Number of <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core"><CODE>Disposable</CODE></A> instances registered.</DL>
339
+ </DD>
340
+ </DL>
341
+ <!-- ========= END OF CLASS DATA ========= -->
342
+ <HR>
343
+
344
+
345
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
346
+ <A NAME="navbar_bottom"><!-- --></A>
347
+ <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
348
+ <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
349
+ <TR>
350
+ <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
351
+ <A NAME="navbar_bottom_firstrow"><!-- --></A>
352
+ <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
353
+ <TR ALIGN="center" VALIGN="top">
354
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
355
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
356
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
357
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableExecutorImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
358
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
359
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
360
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
361
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
362
+ </TR>
363
+ </TABLE>
364
+ </TD>
365
+ <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
366
+ </EM>
367
+ </TD>
368
+ </TR>
369
+
370
+ <TR>
371
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
372
+ &nbsp;<A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core"><B>PREV CLASS</B></A>&nbsp;
373
+ &nbsp;<A HREF="../../../org/jetlang/core/Scheduler.html" title="interface in org.jetlang.core"><B>NEXT CLASS</B></A></FONT></TD>
374
+ <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
375
+ <A HREF="../../../index.html?org/jetlang/core/RunnableExecutorImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
376
+ &nbsp;<A HREF="RunnableExecutorImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
377
+ &nbsp;<SCRIPT type="text/javascript">
378
+ <!--
379
+ if(window==top) {
380
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
381
+ }
382
+ //-->
383
+ </SCRIPT>
384
+ <NOSCRIPT>
385
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
386
+ </NOSCRIPT>
387
+
388
+
389
+ </FONT></TD>
390
+ </TR>
391
+ <TR>
392
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
393
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
394
+ <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
395
+ DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
396
+ </TR>
397
+ </TABLE>
398
+ <A NAME="skip-navbar_bottom"></A>
399
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
400
+
401
+ <HR>
402
+ Copyright &#169; 2009. All Rights Reserved.
403
+ </BODY>
404
+ </HTML>