| Interface | Description |
|---|---|
| Constants | |
| EventPublisher | |
| EventSubscriber | |
| Fiber.Worker | |
| Pausable.Fork | |
| Pausable.Fork1<AA> | |
| Pausable.Pfun<XX,YY,EE extends java.lang.Throwable> | |
| Pausable.Psumer<XX,EE extends java.lang.Throwable> | |
| Pausable.Spawn<TT> | |
| PauseReason | |
| Scheduler.Logger | |
| ServletHandler.Iface | |
| WeavingClassLoader.Excludable |
| Class | Description |
|---|---|
| AffineScheduler | |
| Cell<T> |
A cell is a single-space buffer that supports multiple producers and a single
consumer, functionally identical to Mailbox bounded to a size of 1 (and hence
optimized for this size)
|
| Constants.Util | |
| Continuation |
a minimal bridge or trampoline between woven and unwoven code
backed by a Fiber
giving the programmer explicit control over the event loop
see Task for a more general and easier to use green thread implementation that automatically handles
the event loop
see Generator for more user friendly wrapper
to use override execute() and call run()
each time run() is called, execute runs until it yields, returns or throws an exception
return value of true means either execute returned or threw an exception (accessible as ex())
with state stored in an internal Fiber field across invocations
to reuse a Continuation, call reset()
Continuation provides no scheduler - it is entirely the responsibility of the calling code to
call run() again once the pausing condition has been satisfied
typically used for state machines and Generators
or to port an existing event loop to kilim
this is a low level facility, see kilim.examples.Xorshift.X2 for an example of direct use
|
| Continuation.FakeTask | |
| Event | |
| ExitMsg<TT> | |
| Fiber |
This class serves as a context to manage and store the continuation stack.
|
| Fiber.MethodRef | |
| ForkJoinScheduler | |
| Generator<T> |
A Generator, from the caller's perspective, looks like a normal iterator
that produces values.
|
| KilimClassLoader |
Extends Classloader just to have access to the (protected) findLoadedClass method
|
| Mailbox<T> |
This is a typed buffer that supports multiple producers and a single
consumer.
|
| MailboxMPSC<T> |
This is a typed buffer that supports single producers and a single consumer.
|
| MailboxSPSC<T> |
This is a typed buffer that supports single producers and a single consumer.
|
| ReentrantLock | |
| RingQueue<T> | |
| Scheduler |
This is a basic FIFO Executor.
|
| ServletHandler | |
| State |
State is the super class for customized State objects generated
by ClassWeaver.
|
| Task<TT> |
A base class for tasks.
|
| Task.Fork | |
| Task.Invoke<TT> | |
| Task.Spawn<TT> | |
| TaskDoneReason | |
| TaskGroup | |
| WeavingClassLoader |
Classloader that loads classes from the classpath spec given by the system property
"kilim.class.path" and weaves them dynamically.
|
| YieldReason |
| Exception | Description |
|---|---|
| KilimException | |
| NotPausable | |
| Pausable | |
| ShutdownException |