jretlang 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. data/Rakefile +0 -5
  2. data/VERSION +1 -1
  3. data/changelog +3 -3
  4. data/jretlang.gemspec +20 -131
  5. data/lib/jretlang.rb +1 -2
  6. data/readme +1 -0
  7. data/test/unit/test_examples.rb +0 -15
  8. data/vendor/jetlang-0.2.5-sources.jar +0 -0
  9. data/vendor/jetlang-0.2.5.jar +0 -0
  10. metadata +54 -159
  11. data/.gitignore +0 -3
  12. data/lib/jretlang/schedule.rb +0 -44
  13. data/vendor/jetlang-0.2.0.jar +0 -0
  14. data/vendor/jetlang-0.2.0/jetlang-0.2.0-sources.jar +0 -0
  15. data/vendor/jetlang-0.2.0/site/apidocs/allclasses-frame.html +0 -106
  16. data/vendor/jetlang-0.2.0/site/apidocs/allclasses-noframe.html +0 -106
  17. data/vendor/jetlang-0.2.0/site/apidocs/constant-values.html +0 -147
  18. data/vendor/jetlang-0.2.0/site/apidocs/deprecated-list.html +0 -147
  19. data/vendor/jetlang-0.2.0/site/apidocs/help-doc.html +0 -224
  20. data/vendor/jetlang-0.2.0/site/apidocs/index-all.html +0 -677
  21. data/vendor/jetlang-0.2.0/site/apidocs/index.html +0 -40
  22. data/vendor/jetlang-0.2.0/site/apidocs/options +0 -19
  23. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/AsyncRequest.html +0 -376
  24. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BaseSubscription.html +0 -332
  25. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BatchSubscriber.html +0 -303
  26. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Channel.html +0 -207
  27. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/ChannelSubscription.html +0 -295
  28. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Converter.html +0 -211
  29. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/KeyedBatchSubscriber.html +0 -307
  30. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/LastSubscriber.html +0 -304
  31. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryChannel.html +0 -391
  32. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryRequestChannel.html +0 -319
  33. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Publisher.html +0 -219
  34. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Request.html +0 -251
  35. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/RequestChannel.html +0 -264
  36. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Session.html +0 -173
  37. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SessionClosed.html +0 -230
  38. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscribable.html +0 -230
  39. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscriber.html +0 -243
  40. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SubscriberList.html +0 -334
  41. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/AsyncRequest.html +0 -191
  42. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BaseSubscription.html +0 -205
  43. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BatchSubscriber.html +0 -145
  44. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Channel.html +0 -181
  45. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/ChannelSubscription.html +0 -145
  46. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Converter.html +0 -194
  47. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/KeyedBatchSubscriber.html +0 -145
  48. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/LastSubscriber.html +0 -145
  49. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryChannel.html +0 -145
  50. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryRequestChannel.html +0 -145
  51. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Publisher.html +0 -197
  52. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Request.html +0 -211
  53. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/RequestChannel.html +0 -240
  54. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Session.html +0 -189
  55. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SessionClosed.html +0 -193
  56. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscribable.html +0 -237
  57. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscriber.html +0 -197
  58. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SubscriberList.html +0 -145
  59. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-frame.html +0 -76
  60. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-summary.html +0 -245
  61. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-tree.html +0 -172
  62. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-use.html +0 -237
  63. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutor.html +0 -219
  64. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutorImpl.html +0 -267
  65. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Callback.html +0 -217
  66. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Disposable.html +0 -219
  67. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/DisposingExecutor.html +0 -286
  68. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventBuffer.html +0 -352
  69. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventReader.html +0 -234
  70. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Filter.html +0 -216
  71. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableBlockingQueue.html +0 -337
  72. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutor.html +0 -225
  73. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutorImpl.html +0 -404
  74. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Scheduler.html +0 -280
  75. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SchedulerImpl.html +0 -354
  76. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousDisposingExecutor.html +0 -391
  77. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousExecutor.html +0 -307
  78. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutor.html +0 -224
  79. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutorImpl.html +0 -145
  80. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Callback.html +0 -499
  81. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Disposable.html +0 -669
  82. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/DisposingExecutor.html +0 -440
  83. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventBuffer.html +0 -197
  84. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventReader.html +0 -206
  85. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Filter.html +0 -219
  86. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableBlockingQueue.html +0 -145
  87. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutor.html +0 -218
  88. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutorImpl.html +0 -145
  89. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Scheduler.html +0 -235
  90. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SchedulerImpl.html +0 -145
  91. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousDisposingExecutor.html +0 -145
  92. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousExecutor.html +0 -145
  93. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-frame.html +0 -70
  94. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-summary.html +0 -226
  95. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-tree.html +0 -176
  96. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-use.html +0 -289
  97. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/Fiber.html +0 -266
  98. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.ScheduledEvent.html +0 -419
  99. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.html +0 -599
  100. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/PoolFiberFactory.html +0 -321
  101. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/ThreadFiber.html +0 -525
  102. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/Fiber.html +0 -346
  103. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.ScheduledEvent.html +0 -181
  104. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.html +0 -145
  105. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/PoolFiberFactory.html +0 -145
  106. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/ThreadFiber.html +0 -145
  107. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-frame.html +0 -50
  108. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-summary.html +0 -185
  109. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-tree.html +0 -172
  110. data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-use.html +0 -198
  111. data/vendor/jetlang-0.2.0/site/apidocs/overview-frame.html +0 -47
  112. data/vendor/jetlang-0.2.0/site/apidocs/overview-summary.html +0 -165
  113. data/vendor/jetlang-0.2.0/site/apidocs/overview-tree.html +0 -198
  114. data/vendor/jetlang-0.2.0/site/apidocs/package-list +0 -3
  115. data/vendor/jetlang-0.2.0/site/apidocs/packages +0 -3
  116. data/vendor/jetlang-0.2.0/site/apidocs/resources/inherit.gif +0 -0
  117. data/vendor/jetlang-0.2.0/site/apidocs/stylesheet.css +0 -29
@@ -1,321 +0,0 @@
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
- PoolFiberFactory (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="PoolFiberFactory (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/PoolFiberFactory.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/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers"><B>PREV CLASS</B></A>&nbsp;
60
- &nbsp;<A HREF="../../../org/jetlang/fibers/ThreadFiber.html" title="class in org.jetlang.fibers"><B>NEXT CLASS</B></A></FONT></TD>
61
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
- <A HREF="../../../index.html?org/jetlang/fibers/PoolFiberFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
- &nbsp;<A HREF="PoolFiberFactory.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.fibers</FONT>
93
- <BR>
94
- Class PoolFiberFactory</H2>
95
- <PRE>
96
- java.lang.Object
97
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jetlang.fibers.PoolFiberFactory</B>
98
- </PRE>
99
- <DL>
100
- <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></DD>
101
- </DL>
102
- <HR>
103
- <DL>
104
- <DT><PRE>public class <B>PoolFiberFactory</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></DL>
105
- </PRE>
106
-
107
- <P>
108
- Factory that creates <A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers"><CODE>Fiber</CODE></A> instances that share threads.
109
- <P>
110
-
111
- <P>
112
- <HR>
113
-
114
- <P>
115
-
116
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
-
118
- <A NAME="constructor_summary"><!-- --></A>
119
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
- <B>Constructor Summary</B></FONT></TH>
123
- </TR>
124
- <TR BGCOLOR="white" CLASS="TableRowColor">
125
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html#PoolFiberFactory(java.util.concurrent.Executor)">PoolFiberFactory</A></B>(java.util.concurrent.Executor&nbsp;executor)</CODE>
126
-
127
- <BR>
128
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new instance.</TD>
129
- </TR>
130
- </TABLE>
131
- &nbsp;
132
- <!-- ========== METHOD SUMMARY =========== -->
133
-
134
- <A NAME="method_summary"><!-- --></A>
135
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
138
- <B>Method Summary</B></FONT></TH>
139
- </TR>
140
- <TR BGCOLOR="white" CLASS="TableRowColor">
141
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142
- <CODE>&nbsp;<A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A></CODE></FONT></TD>
143
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html#create()">create</A></B>()</CODE>
144
-
145
- <BR>
146
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Fiber from this pool.</TD>
147
- </TR>
148
- <TR BGCOLOR="white" CLASS="TableRowColor">
149
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
- <CODE>&nbsp;<A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A></CODE></FONT></TD>
151
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html#create(org.jetlang.core.BatchExecutor)">create</A></B>(<A HREF="../../../org/jetlang/core/BatchExecutor.html" title="interface in org.jetlang.core">BatchExecutor</A>&nbsp;batchExecutor)</CODE>
152
-
153
- <BR>
154
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Fiber from this pool that uses the supplied <CODE>Executor</CODE> to execute commands</TD>
155
- </TR>
156
- <TR BGCOLOR="white" CLASS="TableRowColor">
157
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
- <CODE>&nbsp;void</CODE></FONT></TD>
159
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html#dispose()">dispose</A></B>()</CODE>
160
-
161
- <BR>
162
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dispose this instance.</TD>
163
- </TR>
164
- </TABLE>
165
- &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
166
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
167
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
168
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
169
- </TR>
170
- <TR BGCOLOR="white" CLASS="TableRowColor">
171
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
172
- </TR>
173
- </TABLE>
174
- &nbsp;
175
- <P>
176
-
177
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
178
-
179
- <A NAME="constructor_detail"><!-- --></A>
180
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
183
- <B>Constructor Detail</B></FONT></TH>
184
- </TR>
185
- </TABLE>
186
-
187
- <A NAME="PoolFiberFactory(java.util.concurrent.Executor)"><!-- --></A><H3>
188
- PoolFiberFactory</H3>
189
- <PRE>
190
- public <B>PoolFiberFactory</B>(java.util.concurrent.Executor&nbsp;executor)</PRE>
191
- <DL>
192
- <DD>Construct a new instance.
193
- <P>
194
- <DL>
195
- <DT><B>Parameters:</B><DD><CODE>executor</CODE> - Executor to use for flushing pending commands for each created Fiber</DL>
196
- </DL>
197
-
198
- <!-- ============ METHOD DETAIL ========== -->
199
-
200
- <A NAME="method_detail"><!-- --></A>
201
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
204
- <B>Method Detail</B></FONT></TH>
205
- </TR>
206
- </TABLE>
207
-
208
- <A NAME="create()"><!-- --></A><H3>
209
- create</H3>
210
- <PRE>
211
- public <A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A> <B>create</B>()</PRE>
212
- <DL>
213
- <DD>Create a new Fiber from this pool. Equivalent to calling <A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html#create(org.jetlang.core.BatchExecutor)"><CODE>create(BatchExecutor)</CODE></A>
214
- with a <A HREF="../../../org/jetlang/core/SynchronousExecutor.html" title="class in org.jetlang.core"><CODE>SynchronousExecutor</CODE></A>
215
- <P>
216
- <DD><DL>
217
- </DL>
218
- </DD>
219
- <DD><DL>
220
-
221
- <DT><B>Returns:</B><DD>Fiber instance</DL>
222
- </DD>
223
- </DL>
224
- <HR>
225
-
226
- <A NAME="create(org.jetlang.core.BatchExecutor)"><!-- --></A><H3>
227
- create</H3>
228
- <PRE>
229
- public <A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A> <B>create</B>(<A HREF="../../../org/jetlang/core/BatchExecutor.html" title="interface in org.jetlang.core">BatchExecutor</A>&nbsp;batchExecutor)</PRE>
230
- <DL>
231
- <DD>Create a new Fiber from this pool that uses the supplied <CODE>Executor</CODE> to execute commands
232
- <P>
233
- <DD><DL>
234
- </DL>
235
- </DD>
236
- <DD><DL>
237
- <DT><B>Parameters:</B><DD><CODE>batchExecutor</CODE> - Executor to use for command executor. Required.
238
- <DT><B>Returns:</B><DD>Fiber instance</DL>
239
- </DD>
240
- </DL>
241
- <HR>
242
-
243
- <A NAME="dispose()"><!-- --></A><H3>
244
- dispose</H3>
245
- <PRE>
246
- public void <B>dispose</B>()</PRE>
247
- <DL>
248
- <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">Disposable</A></CODE></B></DD>
249
- <DD>Dispose this instance. It should be considered unusable after calling this method
250
- <P>
251
- <DD><DL>
252
- <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>
253
- </DD>
254
- <DD><DL>
255
- </DL>
256
- </DD>
257
- </DL>
258
- <!-- ========= END OF CLASS DATA ========= -->
259
- <HR>
260
-
261
-
262
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
263
- <A NAME="navbar_bottom"><!-- --></A>
264
- <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
265
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
266
- <TR>
267
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
268
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
269
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
270
- <TR ALIGN="center" VALIGN="top">
271
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
272
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
273
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
274
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PoolFiberFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
275
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
276
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
277
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
278
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
279
- </TR>
280
- </TABLE>
281
- </TD>
282
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
283
- </EM>
284
- </TD>
285
- </TR>
286
-
287
- <TR>
288
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
289
- &nbsp;<A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers"><B>PREV CLASS</B></A>&nbsp;
290
- &nbsp;<A HREF="../../../org/jetlang/fibers/ThreadFiber.html" title="class in org.jetlang.fibers"><B>NEXT CLASS</B></A></FONT></TD>
291
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
292
- <A HREF="../../../index.html?org/jetlang/fibers/PoolFiberFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
293
- &nbsp;<A HREF="PoolFiberFactory.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
294
- &nbsp;<SCRIPT type="text/javascript">
295
- <!--
296
- if(window==top) {
297
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
298
- }
299
- //-->
300
- </SCRIPT>
301
- <NOSCRIPT>
302
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
303
- </NOSCRIPT>
304
-
305
-
306
- </FONT></TD>
307
- </TR>
308
- <TR>
309
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
310
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
311
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
312
- DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
313
- </TR>
314
- </TABLE>
315
- <A NAME="skip-navbar_bottom"></A>
316
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
317
-
318
- <HR>
319
- Copyright &#169; 2009. All Rights Reserved.
320
- </BODY>
321
- </HTML>
@@ -1,525 +0,0 @@
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
- ThreadFiber (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="ThreadFiber (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/ThreadFiber.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/fibers/PoolFiberFactory.html" title="class in org.jetlang.fibers"><B>PREV CLASS</B></A>&nbsp;
60
- &nbsp;NEXT CLASS</FONT></TD>
61
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
- <A HREF="../../../index.html?org/jetlang/fibers/ThreadFiber.html" target="_top"><B>FRAMES</B></A> &nbsp;
63
- &nbsp;<A HREF="ThreadFiber.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.fibers</FONT>
93
- <BR>
94
- Class ThreadFiber</H2>
95
- <PRE>
96
- java.lang.Object
97
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jetlang.fibers.ThreadFiber</B>
98
- </PRE>
99
- <DL>
100
- <DT><B>All Implemented Interfaces:</B> <DD>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/Scheduler.html" title="interface in org.jetlang.core">Scheduler</A>, <A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A></DD>
101
- </DL>
102
- <HR>
103
- <DL>
104
- <DT><PRE>public class <B>ThreadFiber</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A></DL>
105
- </PRE>
106
-
107
- <P>
108
- Fiber implementation backed by a dedicated thread for execution.
109
- <P>
110
-
111
- <P>
112
- <HR>
113
-
114
- <P>
115
-
116
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
-
118
- <A NAME="constructor_summary"><!-- --></A>
119
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
- <B>Constructor Summary</B></FONT></TH>
123
- </TR>
124
- <TR BGCOLOR="white" CLASS="TableRowColor">
125
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#ThreadFiber()">ThreadFiber</A></B>()</CODE>
126
-
127
- <BR>
128
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
129
- </TR>
130
- <TR BGCOLOR="white" CLASS="TableRowColor">
131
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#ThreadFiber(org.jetlang.core.RunnableExecutor, java.lang.String, boolean)">ThreadFiber</A></B>(<A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core">RunnableExecutor</A>&nbsp;queue,
132
- java.lang.String&nbsp;threadName,
133
- boolean&nbsp;isDaemonThread)</CODE>
134
-
135
- <BR>
136
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create thread backed fiber</TD>
137
- </TR>
138
- </TABLE>
139
- &nbsp;
140
- <!-- ========== METHOD SUMMARY =========== -->
141
-
142
- <A NAME="method_summary"><!-- --></A>
143
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146
- <B>Method Summary</B></FONT></TH>
147
- </TR>
148
- <TR BGCOLOR="white" CLASS="TableRowColor">
149
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
- <CODE>&nbsp;void</CODE></FONT></TD>
151
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.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;runOnStop)</CODE>
152
-
153
- <BR>
154
- &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>
155
- </TR>
156
- <TR BGCOLOR="white" CLASS="TableRowColor">
157
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
- <CODE>&nbsp;void</CODE></FONT></TD>
159
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#dispose()">dispose</A></B>()</CODE>
160
-
161
- <BR>
162
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dispose this instance.</TD>
163
- </TR>
164
- <TR BGCOLOR="white" CLASS="TableRowColor">
165
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
- <CODE>&nbsp;void</CODE></FONT></TD>
167
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#execute(java.lang.Runnable)">execute</A></B>(java.lang.Runnable&nbsp;command)</CODE>
168
-
169
- <BR>
170
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Queue runnable for execution on this fiber.</TD>
171
- </TR>
172
- <TR BGCOLOR="white" CLASS="TableRowColor">
173
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
- <CODE>&nbsp;java.lang.Thread</CODE></FONT></TD>
175
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#getThread()">getThread</A></B>()</CODE>
176
-
177
- <BR>
178
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179
- </TR>
180
- <TR BGCOLOR="white" CLASS="TableRowColor">
181
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
- <CODE>&nbsp;void</CODE></FONT></TD>
183
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#join()">join</A></B>()</CODE>
184
-
185
- <BR>
186
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wait for thread to complete</TD>
187
- </TR>
188
- <TR BGCOLOR="white" CLASS="TableRowColor">
189
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
- <CODE>&nbsp;boolean</CODE></FONT></TD>
191
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.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>
192
-
193
- <BR>
194
- &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>
195
- </TR>
196
- <TR BGCOLOR="white" CLASS="TableRowColor">
197
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
- <CODE>&nbsp;<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></CODE></FONT></TD>
199
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)">schedule</A></B>(java.lang.Runnable&nbsp;command,
200
- long&nbsp;delay,
201
- java.util.concurrent.TimeUnit&nbsp;unit)</CODE>
202
-
203
- <BR>
204
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Schedule a Runnable to execute in the future.</TD>
205
- </TR>
206
- <TR BGCOLOR="white" CLASS="TableRowColor">
207
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208
- <CODE>&nbsp;<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></CODE></FONT></TD>
209
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)">scheduleWithFixedDelay</A></B>(java.lang.Runnable&nbsp;command,
210
- long&nbsp;initialDelay,
211
- long&nbsp;delay,
212
- java.util.concurrent.TimeUnit&nbsp;unit)</CODE>
213
-
214
- <BR>
215
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Schedule recurring event.</TD>
216
- </TR>
217
- <TR BGCOLOR="white" CLASS="TableRowColor">
218
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219
- <CODE>&nbsp;int</CODE></FONT></TD>
220
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#size()">size</A></B>()</CODE>
221
-
222
- <BR>
223
- &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>
224
- </TR>
225
- <TR BGCOLOR="white" CLASS="TableRowColor">
226
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227
- <CODE>&nbsp;void</CODE></FONT></TD>
228
- <TD><CODE><B><A HREF="../../../org/jetlang/fibers/ThreadFiber.html#start()">start</A></B>()</CODE>
229
-
230
- <BR>
231
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start thread</TD>
232
- </TR>
233
- </TABLE>
234
- &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
235
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
237
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
238
- </TR>
239
- <TR BGCOLOR="white" CLASS="TableRowColor">
240
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
241
- </TR>
242
- </TABLE>
243
- &nbsp;
244
- <P>
245
-
246
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
247
-
248
- <A NAME="constructor_detail"><!-- --></A>
249
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
250
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
251
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
252
- <B>Constructor Detail</B></FONT></TH>
253
- </TR>
254
- </TABLE>
255
-
256
- <A NAME="ThreadFiber(org.jetlang.core.RunnableExecutor, java.lang.String, boolean)"><!-- --></A><H3>
257
- ThreadFiber</H3>
258
- <PRE>
259
- public <B>ThreadFiber</B>(<A HREF="../../../org/jetlang/core/RunnableExecutor.html" title="interface in org.jetlang.core">RunnableExecutor</A>&nbsp;queue,
260
- java.lang.String&nbsp;threadName,
261
- boolean&nbsp;isDaemonThread)</PRE>
262
- <DL>
263
- <DD>Create thread backed fiber
264
- <P>
265
- <DL>
266
- <DT><B>Parameters:</B><DD><CODE>queue</CODE> - - target queue<DD><CODE>threadName</CODE> - - name to assign thread<DD><CODE>isDaemonThread</CODE> - - true if daemon thread</DL>
267
- </DL>
268
- <HR>
269
-
270
- <A NAME="ThreadFiber()"><!-- --></A><H3>
271
- ThreadFiber</H3>
272
- <PRE>
273
- public <B>ThreadFiber</B>()</PRE>
274
- <DL>
275
- </DL>
276
-
277
- <!-- ============ METHOD DETAIL ========== -->
278
-
279
- <A NAME="method_detail"><!-- --></A>
280
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283
- <B>Method Detail</B></FONT></TH>
284
- </TR>
285
- </TABLE>
286
-
287
- <A NAME="getThread()"><!-- --></A><H3>
288
- getThread</H3>
289
- <PRE>
290
- public java.lang.Thread <B>getThread</B>()</PRE>
291
- <DL>
292
- <DD><DL>
293
- </DL>
294
- </DD>
295
- <DD><DL>
296
- </DL>
297
- </DD>
298
- </DL>
299
- <HR>
300
-
301
- <A NAME="execute(java.lang.Runnable)"><!-- --></A><H3>
302
- execute</H3>
303
- <PRE>
304
- public void <B>execute</B>(java.lang.Runnable&nbsp;command)</PRE>
305
- <DL>
306
- <DD>Queue runnable for execution on this fiber.
307
- <P>
308
- <DD><DL>
309
- <DT><B>Specified by:</B><DD><CODE>execute</CODE> in interface <CODE>java.util.concurrent.Executor</CODE></DL>
310
- </DD>
311
- <DD><DL>
312
- </DL>
313
- </DD>
314
- </DL>
315
- <HR>
316
-
317
- <A NAME="add(org.jetlang.core.Disposable)"><!-- --></A><H3>
318
- add</H3>
319
- <PRE>
320
- public void <B>add</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;runOnStop)</PRE>
321
- <DL>
322
- <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#add(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
323
- <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
324
- <P>
325
- <DD><DL>
326
- <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>
327
- </DD>
328
- <DD><DL>
329
- <DT><B>Parameters:</B><DD><CODE>runOnStop</CODE> - Disposable instance. Should not be null.</DL>
330
- </DD>
331
- </DL>
332
- <HR>
333
-
334
- <A NAME="remove(org.jetlang.core.Disposable)"><!-- --></A><H3>
335
- remove</H3>
336
- <PRE>
337
- public boolean <B>remove</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>&nbsp;disposable)</PRE>
338
- <DL>
339
- <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#remove(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
340
- <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
341
- <P>
342
- <DD><DL>
343
- <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>
344
- </DD>
345
- <DD><DL>
346
- <DT><B>Parameters:</B><DD><CODE>disposable</CODE> - Disposable instance. Should not be null
347
- <DT><B>Returns:</B><DD>True if the supplied Disposable was successfully removed. False if it wasn't available to be removed</DL>
348
- </DD>
349
- </DL>
350
- <HR>
351
-
352
- <A NAME="size()"><!-- --></A><H3>
353
- size</H3>
354
- <PRE>
355
- public int <B>size</B>()</PRE>
356
- <DL>
357
- <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#size()">DisposingExecutor</A></CODE></B></DD>
358
- <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.
359
- <p/>
360
- This method is typically used for testing and debugging purposes.
361
- <P>
362
- <DD><DL>
363
- <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>
364
- </DD>
365
- <DD><DL>
366
-
367
- <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>
368
- </DD>
369
- </DL>
370
- <HR>
371
-
372
- <A NAME="dispose()"><!-- --></A><H3>
373
- dispose</H3>
374
- <PRE>
375
- public void <B>dispose</B>()</PRE>
376
- <DL>
377
- <DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">Disposable</A></CODE></B></DD>
378
- <DD>Dispose this instance. It should be considered unusable after calling this method
379
- <P>
380
- <DD><DL>
381
- <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>
382
- </DD>
383
- <DD><DL>
384
- </DL>
385
- </DD>
386
- </DL>
387
- <HR>
388
-
389
- <A NAME="start()"><!-- --></A><H3>
390
- start</H3>
391
- <PRE>
392
- public void <B>start</B>()</PRE>
393
- <DL>
394
- <DD>Start thread
395
- <P>
396
- <DD><DL>
397
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/fibers/Fiber.html#start()">start</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers">Fiber</A></CODE></DL>
398
- </DD>
399
- <DD><DL>
400
- </DL>
401
- </DD>
402
- </DL>
403
- <HR>
404
-
405
- <A NAME="join()"><!-- --></A><H3>
406
- join</H3>
407
- <PRE>
408
- public void <B>join</B>()
409
- throws java.lang.InterruptedException</PRE>
410
- <DL>
411
- <DD>Wait for thread to complete
412
- <P>
413
- <DD><DL>
414
- </DL>
415
- </DD>
416
- <DD><DL>
417
-
418
- <DT><B>Throws:</B>
419
- <DD><CODE>java.lang.InterruptedException</CODE></DL>
420
- </DD>
421
- </DL>
422
- <HR>
423
-
424
- <A NAME="schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>
425
- schedule</H3>
426
- <PRE>
427
- public <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> <B>schedule</B>(java.lang.Runnable&nbsp;command,
428
- long&nbsp;delay,
429
- java.util.concurrent.TimeUnit&nbsp;unit)</PRE>
430
- <DL>
431
- <DD>Schedule a Runnable to execute in the future. Event will be executed on Fiber thread.
432
- <P>
433
- <DD><DL>
434
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/Scheduler.html#schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)">schedule</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/Scheduler.html" title="interface in org.jetlang.core">Scheduler</A></CODE></DL>
435
- </DD>
436
- <DD><DL>
437
- <DT><B>Parameters:</B><DD><CODE>command</CODE> - the task to execute<DD><CODE>delay</CODE> - the time from now to delay execution<DD><CODE>unit</CODE> - the time unit of the delay parameter
438
- <DT><B>Returns:</B><DD>a Disposable that can be used to cancel execution</DL>
439
- </DD>
440
- </DL>
441
- <HR>
442
-
443
- <A NAME="scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>
444
- scheduleWithFixedDelay</H3>
445
- <PRE>
446
- public <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> <B>scheduleWithFixedDelay</B>(java.lang.Runnable&nbsp;command,
447
- long&nbsp;initialDelay,
448
- long&nbsp;delay,
449
- java.util.concurrent.TimeUnit&nbsp;unit)</PRE>
450
- <DL>
451
- <DD>Schedule recurring event. Event will be fired on fiber thread.
452
- <P>
453
- <DD><DL>
454
- <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jetlang/core/Scheduler.html#scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)">scheduleWithFixedDelay</A></CODE> in interface <CODE><A HREF="../../../org/jetlang/core/Scheduler.html" title="interface in org.jetlang.core">Scheduler</A></CODE></DL>
455
- </DD>
456
- <DD><DL>
457
- <DT><B>Parameters:</B><DD><CODE>command</CODE> - the task to execute<DD><CODE>initialDelay</CODE> - the time to delay first execution<DD><CODE>delay</CODE> - the delay between the termination of one
458
- execution and the commencement of the next<DD><CODE>unit</CODE> - the time unit of the initialDelay and delay parameters
459
- <DT><B>Returns:</B><DD>a Disposable that can be used to cancel execution</DL>
460
- </DD>
461
- </DL>
462
- <!-- ========= END OF CLASS DATA ========= -->
463
- <HR>
464
-
465
-
466
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
467
- <A NAME="navbar_bottom"><!-- --></A>
468
- <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
469
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
470
- <TR>
471
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
472
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
473
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
474
- <TR ALIGN="center" VALIGN="top">
475
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
476
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
477
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
478
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ThreadFiber.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
479
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
480
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
481
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
482
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
483
- </TR>
484
- </TABLE>
485
- </TD>
486
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
487
- </EM>
488
- </TD>
489
- </TR>
490
-
491
- <TR>
492
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
493
- &nbsp;<A HREF="../../../org/jetlang/fibers/PoolFiberFactory.html" title="class in org.jetlang.fibers"><B>PREV CLASS</B></A>&nbsp;
494
- &nbsp;NEXT CLASS</FONT></TD>
495
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
496
- <A HREF="../../../index.html?org/jetlang/fibers/ThreadFiber.html" target="_top"><B>FRAMES</B></A> &nbsp;
497
- &nbsp;<A HREF="ThreadFiber.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
498
- &nbsp;<SCRIPT type="text/javascript">
499
- <!--
500
- if(window==top) {
501
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
502
- }
503
- //-->
504
- </SCRIPT>
505
- <NOSCRIPT>
506
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
507
- </NOSCRIPT>
508
-
509
-
510
- </FONT></TD>
511
- </TR>
512
- <TR>
513
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
514
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
515
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
516
- DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
517
- </TR>
518
- </TABLE>
519
- <A NAME="skip-navbar_bottom"></A>
520
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
521
-
522
- <HR>
523
- Copyright &#169; 2009. All Rights Reserved.
524
- </BODY>
525
- </HTML>