public class PyramidActorPool extends LinkedWorkerPool
next
DEFAULTWORKERS, router
Constructor and Description |
---|
PyramidActorPool()
Creates a new pool
|
PyramidActorPool(int numWorkers)
Creates a new pool with the default Gaussian Pyramid operation
|
PyramidActorPool(int numWorkers,
GaussianPyramidOperation gpo)
Creates a new pool.
|
Modifier and Type | Method and Description |
---|---|
void |
onReceive(java.lang.Object message)
Handled Messages
DatasetMessage - if received from worker pool, sends results to next link in the chain.
|
getNext, getNextActor, setNext, shutdown, tellNextActor, tellNextActor
genMessage, getRouter, setRouter, start, start, start, tellRouter, tellRouter
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
public PyramidActorPool(int numWorkers, GaussianPyramidOperation gpo)
numWorkers
- Number of workers in the poolgpo
- pyramid operation to performpublic PyramidActorPool(int numWorkers)
numWorkers
- number of workers in the poolpublic PyramidActorPool()
public void onReceive(java.lang.Object message) throws java.lang.Exception
onReceive
in class akka.actor.UntypedActor
java.lang.Exception