jretlang 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/Rakefile +33 -0
- data/VERSION +1 -0
- data/changelog +29 -0
- data/jretlang.gemspec +154 -0
- data/lib/jretlang/channel.rb +35 -0
- data/lib/jretlang/fiber.rb +15 -0
- data/lib/jretlang/latch.rb +10 -0
- data/lib/jretlang.rb +22 -0
- data/readme +1 -0
- data/test/unit/test_examples.rb +142 -0
- data/test/unit/unit_test_helper.rb +6 -0
- data/vendor/jetlang-0.2.0/jetlang-0.2.0-sources.jar +0 -0
- data/vendor/jetlang-0.2.0/site/apidocs/allclasses-frame.html +106 -0
- data/vendor/jetlang-0.2.0/site/apidocs/allclasses-noframe.html +106 -0
- data/vendor/jetlang-0.2.0/site/apidocs/constant-values.html +147 -0
- data/vendor/jetlang-0.2.0/site/apidocs/deprecated-list.html +147 -0
- data/vendor/jetlang-0.2.0/site/apidocs/help-doc.html +224 -0
- data/vendor/jetlang-0.2.0/site/apidocs/index-all.html +677 -0
- data/vendor/jetlang-0.2.0/site/apidocs/index.html +40 -0
- data/vendor/jetlang-0.2.0/site/apidocs/options +19 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/AsyncRequest.html +376 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BaseSubscription.html +332 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/BatchSubscriber.html +303 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Channel.html +207 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/ChannelSubscription.html +295 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Converter.html +211 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/KeyedBatchSubscriber.html +307 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/LastSubscriber.html +304 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryChannel.html +391 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/MemoryRequestChannel.html +319 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Publisher.html +219 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Request.html +251 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/RequestChannel.html +264 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Session.html +173 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SessionClosed.html +230 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscribable.html +230 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/Subscriber.html +243 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/SubscriberList.html +334 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/AsyncRequest.html +191 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BaseSubscription.html +205 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/BatchSubscriber.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Channel.html +181 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/ChannelSubscription.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Converter.html +194 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/KeyedBatchSubscriber.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/LastSubscriber.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryChannel.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/MemoryRequestChannel.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Publisher.html +197 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Request.html +211 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/RequestChannel.html +240 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Session.html +189 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SessionClosed.html +193 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscribable.html +237 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/Subscriber.html +197 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/class-use/SubscriberList.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-frame.html +76 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-summary.html +245 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-tree.html +172 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/channels/package-use.html +237 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutor.html +219 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/BatchExecutorImpl.html +267 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Callback.html +217 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Disposable.html +219 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/DisposingExecutor.html +286 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventBuffer.html +352 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/EventReader.html +234 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Filter.html +216 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableBlockingQueue.html +337 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutor.html +225 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/RunnableExecutorImpl.html +404 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/Scheduler.html +280 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SchedulerImpl.html +354 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousDisposingExecutor.html +391 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/SynchronousExecutor.html +307 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutor.html +224 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/BatchExecutorImpl.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Callback.html +499 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Disposable.html +669 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/DisposingExecutor.html +440 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventBuffer.html +197 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/EventReader.html +206 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Filter.html +219 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableBlockingQueue.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutor.html +218 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/RunnableExecutorImpl.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/Scheduler.html +235 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SchedulerImpl.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousDisposingExecutor.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/class-use/SynchronousExecutor.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-frame.html +70 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-summary.html +226 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-tree.html +176 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/core/package-use.html +289 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/Fiber.html +266 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.ScheduledEvent.html +419 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/FiberStub.html +599 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/PoolFiberFactory.html +321 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/ThreadFiber.html +525 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/Fiber.html +346 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.ScheduledEvent.html +181 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/FiberStub.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/PoolFiberFactory.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/class-use/ThreadFiber.html +145 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-frame.html +50 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-summary.html +185 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-tree.html +172 -0
- data/vendor/jetlang-0.2.0/site/apidocs/org/jetlang/fibers/package-use.html +198 -0
- data/vendor/jetlang-0.2.0/site/apidocs/overview-frame.html +47 -0
- data/vendor/jetlang-0.2.0/site/apidocs/overview-summary.html +165 -0
- data/vendor/jetlang-0.2.0/site/apidocs/overview-tree.html +198 -0
- data/vendor/jetlang-0.2.0/site/apidocs/package-list +3 -0
- data/vendor/jetlang-0.2.0/site/apidocs/packages +3 -0
- data/vendor/jetlang-0.2.0/site/apidocs/resources/inherit.gif +0 -0
- data/vendor/jetlang-0.2.0/site/apidocs/stylesheet.css +29 -0
- data/vendor/jetlang-0.2.0.jar +0 -0
- metadata +172 -0
|
@@ -0,0 +1,599 @@
|
|
|
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
|
+
FiberStub (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="FiberStub (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> </TD>
|
|
42
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
43
|
+
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
44
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FiberStub.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
45
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
46
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
47
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
48
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
49
|
+
</TR>
|
|
50
|
+
</TABLE>
|
|
51
|
+
</TD>
|
|
52
|
+
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
53
|
+
</EM>
|
|
54
|
+
</TD>
|
|
55
|
+
</TR>
|
|
56
|
+
|
|
57
|
+
<TR>
|
|
58
|
+
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59
|
+
<A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers"><B>PREV CLASS</B></A>
|
|
60
|
+
<A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.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/FiberStub.html" target="_top"><B>FRAMES</B></A>
|
|
63
|
+
<A HREF="FiberStub.html" target="_top"><B>NO FRAMES</B></A>
|
|
64
|
+
<SCRIPT type="text/javascript">
|
|
65
|
+
<!--
|
|
66
|
+
if(window==top) {
|
|
67
|
+
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
68
|
+
}
|
|
69
|
+
//-->
|
|
70
|
+
</SCRIPT>
|
|
71
|
+
<NOSCRIPT>
|
|
72
|
+
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
73
|
+
</NOSCRIPT>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</FONT></TD>
|
|
77
|
+
</TR>
|
|
78
|
+
<TR>
|
|
79
|
+
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
80
|
+
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81
|
+
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82
|
+
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 FiberStub</H2>
|
|
95
|
+
<PRE>
|
|
96
|
+
java.lang.Object
|
|
97
|
+
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jetlang.fibers.FiberStub</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>FiberStub</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
|
+
Provides a deterministic fiber implementation for testing.
|
|
109
|
+
<p/>
|
|
110
|
+
FOR TESTING ONLY
|
|
111
|
+
<P>
|
|
112
|
+
|
|
113
|
+
<P>
|
|
114
|
+
<HR>
|
|
115
|
+
|
|
116
|
+
<P>
|
|
117
|
+
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
118
|
+
|
|
119
|
+
<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
|
|
124
|
+
</TR>
|
|
125
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
126
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
127
|
+
<CODE>static class</CODE></FONT></TD>
|
|
128
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers">FiberStub.ScheduledEvent</A></B></CODE>
|
|
129
|
+
|
|
130
|
+
<BR>
|
|
131
|
+
</TD>
|
|
132
|
+
</TR>
|
|
133
|
+
</TABLE>
|
|
134
|
+
<!-- =========== FIELD SUMMARY =========== -->
|
|
135
|
+
|
|
136
|
+
<A NAME="field_summary"><!-- --></A>
|
|
137
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
138
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
139
|
+
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
140
|
+
<B>Field Summary</B></FONT></TH>
|
|
141
|
+
</TR>
|
|
142
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
143
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
144
|
+
<CODE> java.util.List<<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>></CODE></FONT></TD>
|
|
145
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#Disposables">Disposables</A></B></CODE>
|
|
146
|
+
|
|
147
|
+
<BR>
|
|
148
|
+
</TD>
|
|
149
|
+
</TR>
|
|
150
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
151
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
152
|
+
<CODE> java.util.List<java.lang.Runnable></CODE></FONT></TD>
|
|
153
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#Pending">Pending</A></B></CODE>
|
|
154
|
+
|
|
155
|
+
<BR>
|
|
156
|
+
</TD>
|
|
157
|
+
</TR>
|
|
158
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
159
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
160
|
+
<CODE> java.util.List<<A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers">FiberStub.ScheduledEvent</A>></CODE></FONT></TD>
|
|
161
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#Scheduled">Scheduled</A></B></CODE>
|
|
162
|
+
|
|
163
|
+
<BR>
|
|
164
|
+
</TD>
|
|
165
|
+
</TR>
|
|
166
|
+
</TABLE>
|
|
167
|
+
|
|
168
|
+
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
169
|
+
|
|
170
|
+
<A NAME="constructor_summary"><!-- --></A>
|
|
171
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
172
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
173
|
+
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
174
|
+
<B>Constructor Summary</B></FONT></TH>
|
|
175
|
+
</TR>
|
|
176
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
177
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#FiberStub()">FiberStub</A></B>()</CODE>
|
|
178
|
+
|
|
179
|
+
<BR>
|
|
180
|
+
</TD>
|
|
181
|
+
</TR>
|
|
182
|
+
</TABLE>
|
|
183
|
+
|
|
184
|
+
<!-- ========== METHOD SUMMARY =========== -->
|
|
185
|
+
|
|
186
|
+
<A NAME="method_summary"><!-- --></A>
|
|
187
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
188
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
189
|
+
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
190
|
+
<B>Method Summary</B></FONT></TH>
|
|
191
|
+
</TR>
|
|
192
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
193
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
194
|
+
<CODE> void</CODE></FONT></TD>
|
|
195
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#add(org.jetlang.core.Disposable)">add</A></B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> disposable)</CODE>
|
|
196
|
+
|
|
197
|
+
<BR>
|
|
198
|
+
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>
|
|
199
|
+
</TR>
|
|
200
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
201
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
202
|
+
<CODE> void</CODE></FONT></TD>
|
|
203
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#dispose()">dispose</A></B>()</CODE>
|
|
204
|
+
|
|
205
|
+
<BR>
|
|
206
|
+
Dispose this instance.</TD>
|
|
207
|
+
</TR>
|
|
208
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
209
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
210
|
+
<CODE> void</CODE></FONT></TD>
|
|
211
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#execute(java.lang.Runnable)">execute</A></B>(java.lang.Runnable command)</CODE>
|
|
212
|
+
|
|
213
|
+
<BR>
|
|
214
|
+
</TD>
|
|
215
|
+
</TR>
|
|
216
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
217
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
218
|
+
<CODE> void</CODE></FONT></TD>
|
|
219
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#executeAllPending()">executeAllPending</A></B>()</CODE>
|
|
220
|
+
|
|
221
|
+
<BR>
|
|
222
|
+
</TD>
|
|
223
|
+
</TR>
|
|
224
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
225
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
226
|
+
<CODE> void</CODE></FONT></TD>
|
|
227
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#executeAllScheduled()">executeAllScheduled</A></B>()</CODE>
|
|
228
|
+
|
|
229
|
+
<BR>
|
|
230
|
+
</TD>
|
|
231
|
+
</TR>
|
|
232
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
233
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
234
|
+
<CODE> boolean</CODE></FONT></TD>
|
|
235
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#remove(org.jetlang.core.Disposable)">remove</A></B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> disposable)</CODE>
|
|
236
|
+
|
|
237
|
+
<BR>
|
|
238
|
+
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>
|
|
239
|
+
</TR>
|
|
240
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
241
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
242
|
+
<CODE> <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></CODE></FONT></TD>
|
|
243
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)">schedule</A></B>(java.lang.Runnable runnable,
|
|
244
|
+
long l,
|
|
245
|
+
java.util.concurrent.TimeUnit timeUnit)</CODE>
|
|
246
|
+
|
|
247
|
+
<BR>
|
|
248
|
+
Creates and executes a one-shot action that becomes enabled after the given delay.</TD>
|
|
249
|
+
</TR>
|
|
250
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
251
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
252
|
+
<CODE> <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A></CODE></FONT></TD>
|
|
253
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)">scheduleWithFixedDelay</A></B>(java.lang.Runnable runnable,
|
|
254
|
+
long first,
|
|
255
|
+
long interval,
|
|
256
|
+
java.util.concurrent.TimeUnit timeUnit)</CODE>
|
|
257
|
+
|
|
258
|
+
<BR>
|
|
259
|
+
Creates and executes a periodic action that becomes enabled first
|
|
260
|
+
after the given initial delay, and subsequently with the
|
|
261
|
+
given delay between the termination of one execution and the
|
|
262
|
+
commencement of the next.</TD>
|
|
263
|
+
</TR>
|
|
264
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
265
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
266
|
+
<CODE> int</CODE></FONT></TD>
|
|
267
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#size()">size</A></B>()</CODE>
|
|
268
|
+
|
|
269
|
+
<BR>
|
|
270
|
+
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>
|
|
271
|
+
</TR>
|
|
272
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
273
|
+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
274
|
+
<CODE> void</CODE></FONT></TD>
|
|
275
|
+
<TD><CODE><B><A HREF="../../../org/jetlang/fibers/FiberStub.html#start()">start</A></B>()</CODE>
|
|
276
|
+
|
|
277
|
+
<BR>
|
|
278
|
+
Start consuming events</TD>
|
|
279
|
+
</TR>
|
|
280
|
+
</TABLE>
|
|
281
|
+
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
282
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
283
|
+
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
284
|
+
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
285
|
+
</TR>
|
|
286
|
+
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
287
|
+
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
288
|
+
</TR>
|
|
289
|
+
</TABLE>
|
|
290
|
+
|
|
291
|
+
<P>
|
|
292
|
+
|
|
293
|
+
<!-- ============ FIELD DETAIL =========== -->
|
|
294
|
+
|
|
295
|
+
<A NAME="field_detail"><!-- --></A>
|
|
296
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
297
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
298
|
+
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
299
|
+
<B>Field Detail</B></FONT></TH>
|
|
300
|
+
</TR>
|
|
301
|
+
</TABLE>
|
|
302
|
+
|
|
303
|
+
<A NAME="Disposables"><!-- --></A><H3>
|
|
304
|
+
Disposables</H3>
|
|
305
|
+
<PRE>
|
|
306
|
+
public java.util.List<<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A>> <B>Disposables</B></PRE>
|
|
307
|
+
<DL>
|
|
308
|
+
<DL>
|
|
309
|
+
</DL>
|
|
310
|
+
</DL>
|
|
311
|
+
<HR>
|
|
312
|
+
|
|
313
|
+
<A NAME="Pending"><!-- --></A><H3>
|
|
314
|
+
Pending</H3>
|
|
315
|
+
<PRE>
|
|
316
|
+
public java.util.List<java.lang.Runnable> <B>Pending</B></PRE>
|
|
317
|
+
<DL>
|
|
318
|
+
<DL>
|
|
319
|
+
</DL>
|
|
320
|
+
</DL>
|
|
321
|
+
<HR>
|
|
322
|
+
|
|
323
|
+
<A NAME="Scheduled"><!-- --></A><H3>
|
|
324
|
+
Scheduled</H3>
|
|
325
|
+
<PRE>
|
|
326
|
+
public java.util.List<<A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers">FiberStub.ScheduledEvent</A>> <B>Scheduled</B></PRE>
|
|
327
|
+
<DL>
|
|
328
|
+
<DL>
|
|
329
|
+
</DL>
|
|
330
|
+
</DL>
|
|
331
|
+
|
|
332
|
+
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
333
|
+
|
|
334
|
+
<A NAME="constructor_detail"><!-- --></A>
|
|
335
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
336
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
337
|
+
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
338
|
+
<B>Constructor Detail</B></FONT></TH>
|
|
339
|
+
</TR>
|
|
340
|
+
</TABLE>
|
|
341
|
+
|
|
342
|
+
<A NAME="FiberStub()"><!-- --></A><H3>
|
|
343
|
+
FiberStub</H3>
|
|
344
|
+
<PRE>
|
|
345
|
+
public <B>FiberStub</B>()</PRE>
|
|
346
|
+
<DL>
|
|
347
|
+
</DL>
|
|
348
|
+
|
|
349
|
+
<!-- ============ METHOD DETAIL ========== -->
|
|
350
|
+
|
|
351
|
+
<A NAME="method_detail"><!-- --></A>
|
|
352
|
+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
353
|
+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
354
|
+
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
355
|
+
<B>Method Detail</B></FONT></TH>
|
|
356
|
+
</TR>
|
|
357
|
+
</TABLE>
|
|
358
|
+
|
|
359
|
+
<A NAME="start()"><!-- --></A><H3>
|
|
360
|
+
start</H3>
|
|
361
|
+
<PRE>
|
|
362
|
+
public void <B>start</B>()</PRE>
|
|
363
|
+
<DL>
|
|
364
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/fibers/Fiber.html#start()">Fiber</A></CODE></B></DD>
|
|
365
|
+
<DD>Start consuming events
|
|
366
|
+
<P>
|
|
367
|
+
<DD><DL>
|
|
368
|
+
<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>
|
|
369
|
+
</DD>
|
|
370
|
+
<DD><DL>
|
|
371
|
+
</DL>
|
|
372
|
+
</DD>
|
|
373
|
+
</DL>
|
|
374
|
+
<HR>
|
|
375
|
+
|
|
376
|
+
<A NAME="add(org.jetlang.core.Disposable)"><!-- --></A><H3>
|
|
377
|
+
add</H3>
|
|
378
|
+
<PRE>
|
|
379
|
+
public void <B>add</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> disposable)</PRE>
|
|
380
|
+
<DL>
|
|
381
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#add(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
|
|
382
|
+
<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
|
|
383
|
+
<P>
|
|
384
|
+
<DD><DL>
|
|
385
|
+
<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>
|
|
386
|
+
</DD>
|
|
387
|
+
<DD><DL>
|
|
388
|
+
<DT><B>Parameters:</B><DD><CODE>disposable</CODE> - Disposable instance. Should not be null.</DL>
|
|
389
|
+
</DD>
|
|
390
|
+
</DL>
|
|
391
|
+
<HR>
|
|
392
|
+
|
|
393
|
+
<A NAME="remove(org.jetlang.core.Disposable)"><!-- --></A><H3>
|
|
394
|
+
remove</H3>
|
|
395
|
+
<PRE>
|
|
396
|
+
public boolean <B>remove</B>(<A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> disposable)</PRE>
|
|
397
|
+
<DL>
|
|
398
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#remove(org.jetlang.core.Disposable)">DisposingExecutor</A></CODE></B></DD>
|
|
399
|
+
<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
|
|
400
|
+
<P>
|
|
401
|
+
<DD><DL>
|
|
402
|
+
<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>
|
|
403
|
+
</DD>
|
|
404
|
+
<DD><DL>
|
|
405
|
+
<DT><B>Parameters:</B><DD><CODE>disposable</CODE> - Disposable instance. Should not be null
|
|
406
|
+
<DT><B>Returns:</B><DD>True if the supplied Disposable was successfully removed. False if it wasn't available to be removed</DL>
|
|
407
|
+
</DD>
|
|
408
|
+
</DL>
|
|
409
|
+
<HR>
|
|
410
|
+
|
|
411
|
+
<A NAME="size()"><!-- --></A><H3>
|
|
412
|
+
size</H3>
|
|
413
|
+
<PRE>
|
|
414
|
+
public int <B>size</B>()</PRE>
|
|
415
|
+
<DL>
|
|
416
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/DisposingExecutor.html#size()">DisposingExecutor</A></CODE></B></DD>
|
|
417
|
+
<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.
|
|
418
|
+
<p/>
|
|
419
|
+
This method is typically used for testing and debugging purposes.
|
|
420
|
+
<P>
|
|
421
|
+
<DD><DL>
|
|
422
|
+
<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>
|
|
423
|
+
</DD>
|
|
424
|
+
<DD><DL>
|
|
425
|
+
|
|
426
|
+
<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>
|
|
427
|
+
</DD>
|
|
428
|
+
</DL>
|
|
429
|
+
<HR>
|
|
430
|
+
|
|
431
|
+
<A NAME="execute(java.lang.Runnable)"><!-- --></A><H3>
|
|
432
|
+
execute</H3>
|
|
433
|
+
<PRE>
|
|
434
|
+
public void <B>execute</B>(java.lang.Runnable command)</PRE>
|
|
435
|
+
<DL>
|
|
436
|
+
<DD><DL>
|
|
437
|
+
<DT><B>Specified by:</B><DD><CODE>execute</CODE> in interface <CODE>java.util.concurrent.Executor</CODE></DL>
|
|
438
|
+
</DD>
|
|
439
|
+
<DD><DL>
|
|
440
|
+
</DL>
|
|
441
|
+
</DD>
|
|
442
|
+
</DL>
|
|
443
|
+
<HR>
|
|
444
|
+
|
|
445
|
+
<A NAME="schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>
|
|
446
|
+
schedule</H3>
|
|
447
|
+
<PRE>
|
|
448
|
+
public <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> <B>schedule</B>(java.lang.Runnable runnable,
|
|
449
|
+
long l,
|
|
450
|
+
java.util.concurrent.TimeUnit timeUnit)</PRE>
|
|
451
|
+
<DL>
|
|
452
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Scheduler.html#schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)">Scheduler</A></CODE></B></DD>
|
|
453
|
+
<DD>Creates and executes a one-shot action that becomes enabled after the given delay.
|
|
454
|
+
<P>
|
|
455
|
+
<DD><DL>
|
|
456
|
+
<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>
|
|
457
|
+
</DD>
|
|
458
|
+
<DD><DL>
|
|
459
|
+
<DT><B>Parameters:</B><DD><CODE>runnable</CODE> - the task to execute<DD><CODE>l</CODE> - the time from now to delay execution<DD><CODE>timeUnit</CODE> - the time unit of the delay parameter
|
|
460
|
+
<DT><B>Returns:</B><DD>a Disposable that can be used to cancel execution</DL>
|
|
461
|
+
</DD>
|
|
462
|
+
</DL>
|
|
463
|
+
<HR>
|
|
464
|
+
|
|
465
|
+
<A NAME="scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>
|
|
466
|
+
scheduleWithFixedDelay</H3>
|
|
467
|
+
<PRE>
|
|
468
|
+
public <A HREF="../../../org/jetlang/core/Disposable.html" title="interface in org.jetlang.core">Disposable</A> <B>scheduleWithFixedDelay</B>(java.lang.Runnable runnable,
|
|
469
|
+
long first,
|
|
470
|
+
long interval,
|
|
471
|
+
java.util.concurrent.TimeUnit timeUnit)</PRE>
|
|
472
|
+
<DL>
|
|
473
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Scheduler.html#scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)">Scheduler</A></CODE></B></DD>
|
|
474
|
+
<DD>Creates and executes a periodic action that becomes enabled first
|
|
475
|
+
after the given initial delay, and subsequently with the
|
|
476
|
+
given delay between the termination of one execution and the
|
|
477
|
+
commencement of the next. If any execution of the task
|
|
478
|
+
encounters an exception, subsequent executions are suppressed.
|
|
479
|
+
Otherwise, the task will only terminate via cancellation or
|
|
480
|
+
termination of the scheduler.
|
|
481
|
+
<P>
|
|
482
|
+
<DD><DL>
|
|
483
|
+
<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>
|
|
484
|
+
</DD>
|
|
485
|
+
<DD><DL>
|
|
486
|
+
<DT><B>Parameters:</B><DD><CODE>runnable</CODE> - the task to execute<DD><CODE>first</CODE> - the time to delay first execution<DD><CODE>interval</CODE> - the delay between the termination of one
|
|
487
|
+
execution and the commencement of the next<DD><CODE>timeUnit</CODE> - the time unit of the initialDelay and delay parameters
|
|
488
|
+
<DT><B>Returns:</B><DD>a Disposable that can be used to cancel execution</DL>
|
|
489
|
+
</DD>
|
|
490
|
+
</DL>
|
|
491
|
+
<HR>
|
|
492
|
+
|
|
493
|
+
<A NAME="dispose()"><!-- --></A><H3>
|
|
494
|
+
dispose</H3>
|
|
495
|
+
<PRE>
|
|
496
|
+
public void <B>dispose</B>()</PRE>
|
|
497
|
+
<DL>
|
|
498
|
+
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/jetlang/core/Disposable.html#dispose()">Disposable</A></CODE></B></DD>
|
|
499
|
+
<DD>Dispose this instance. It should be considered unusable after calling this method
|
|
500
|
+
<P>
|
|
501
|
+
<DD><DL>
|
|
502
|
+
<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>
|
|
503
|
+
</DD>
|
|
504
|
+
<DD><DL>
|
|
505
|
+
</DL>
|
|
506
|
+
</DD>
|
|
507
|
+
</DL>
|
|
508
|
+
<HR>
|
|
509
|
+
|
|
510
|
+
<A NAME="executeAllPending()"><!-- --></A><H3>
|
|
511
|
+
executeAllPending</H3>
|
|
512
|
+
<PRE>
|
|
513
|
+
public void <B>executeAllPending</B>()</PRE>
|
|
514
|
+
<DL>
|
|
515
|
+
<DD><DL>
|
|
516
|
+
</DL>
|
|
517
|
+
</DD>
|
|
518
|
+
<DD><DL>
|
|
519
|
+
</DL>
|
|
520
|
+
</DD>
|
|
521
|
+
</DL>
|
|
522
|
+
<HR>
|
|
523
|
+
|
|
524
|
+
<A NAME="executeAllScheduled()"><!-- --></A><H3>
|
|
525
|
+
executeAllScheduled</H3>
|
|
526
|
+
<PRE>
|
|
527
|
+
public void <B>executeAllScheduled</B>()</PRE>
|
|
528
|
+
<DL>
|
|
529
|
+
<DD><DL>
|
|
530
|
+
</DL>
|
|
531
|
+
</DD>
|
|
532
|
+
<DD><DL>
|
|
533
|
+
</DL>
|
|
534
|
+
</DD>
|
|
535
|
+
</DL>
|
|
536
|
+
<!-- ========= END OF CLASS DATA ========= -->
|
|
537
|
+
<HR>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
541
|
+
<A NAME="navbar_bottom"><!-- --></A>
|
|
542
|
+
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
543
|
+
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
544
|
+
<TR>
|
|
545
|
+
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
546
|
+
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
547
|
+
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
548
|
+
<TR ALIGN="center" VALIGN="top">
|
|
549
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
550
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
551
|
+
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
552
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FiberStub.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
553
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
554
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
555
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
556
|
+
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
557
|
+
</TR>
|
|
558
|
+
</TABLE>
|
|
559
|
+
</TD>
|
|
560
|
+
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
561
|
+
</EM>
|
|
562
|
+
</TD>
|
|
563
|
+
</TR>
|
|
564
|
+
|
|
565
|
+
<TR>
|
|
566
|
+
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
567
|
+
<A HREF="../../../org/jetlang/fibers/Fiber.html" title="interface in org.jetlang.fibers"><B>PREV CLASS</B></A>
|
|
568
|
+
<A HREF="../../../org/jetlang/fibers/FiberStub.ScheduledEvent.html" title="class in org.jetlang.fibers"><B>NEXT CLASS</B></A></FONT></TD>
|
|
569
|
+
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
570
|
+
<A HREF="../../../index.html?org/jetlang/fibers/FiberStub.html" target="_top"><B>FRAMES</B></A>
|
|
571
|
+
<A HREF="FiberStub.html" target="_top"><B>NO FRAMES</B></A>
|
|
572
|
+
<SCRIPT type="text/javascript">
|
|
573
|
+
<!--
|
|
574
|
+
if(window==top) {
|
|
575
|
+
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
576
|
+
}
|
|
577
|
+
//-->
|
|
578
|
+
</SCRIPT>
|
|
579
|
+
<NOSCRIPT>
|
|
580
|
+
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
581
|
+
</NOSCRIPT>
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
</FONT></TD>
|
|
585
|
+
</TR>
|
|
586
|
+
<TR>
|
|
587
|
+
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
588
|
+
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
589
|
+
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
590
|
+
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
591
|
+
</TR>
|
|
592
|
+
</TABLE>
|
|
593
|
+
<A NAME="skip-navbar_bottom"></A>
|
|
594
|
+
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
595
|
+
|
|
596
|
+
<HR>
|
|
597
|
+
Copyright © 2009. All Rights Reserved.
|
|
598
|
+
</BODY>
|
|
599
|
+
</HTML>
|