| Package | Description |
|---|---|
| fi.jumi.actors | |
| fi.jumi.actors.workers |
| Modifier and Type | Method and Description |
|---|---|
<T> ActorRef<T> |
ActorThread.bindActor(Class<T> type,
T rawActor)
Binds an actor to this
ActorThread and returns an ActorRef for sending messages to it. |
static <T> ActorRef<T> |
ActorRef.wrap(T proxy)
Can be used to wrap test doubles into
ActorRefs for unit testing purposes. |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkerCounter.afterPreviousWorkersFinished(ActorRef<WorkerListener> onFinished)
Calls
WorkerListener.onAllWorkersFinished() on the specified callback after all commands previously
submitted to WorkerCounter.execute(Runnable), and recursively all commands which they submitted to WorkerCounter.execute(Runnable), have finished executing. |
Copyright © 2011-2012. All Rights Reserved.