public class DatasetOperationPool extends LinkedWorkerPool
nextDEFAULTWORKERS, router| Constructor and Description |
|---|
DatasetOperationPool(DatasetOperation op)
Starts a new pool to perform the specified operation.
|
DatasetOperationPool(int workers,
DatasetOperation op)
Creates a new pool with the specified number of workers.
|
DatasetOperationPool(akka.routing.Pool pool,
DatasetOperation op)
Creates a new pool from an existing one
|
| Modifier and Type | Method and Description |
|---|---|
void |
onReceive(java.lang.Object message)
Handled Messages
DatasetMessage - if received from worker pool, sent to the next link.
|
getNext, getNextActor, setNext, shutdown, tellNextActor, tellNextActorgenMessage, getRouter, setRouter, start, start, start, tellRouter, tellRouterakka$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, unhandledpublic DatasetOperationPool(int workers,
DatasetOperation op)
workers - number of workersop - operation each worker performs on a received Datasetpublic DatasetOperationPool(akka.routing.Pool pool,
DatasetOperation op)
pool - poolop - operation to performpublic DatasetOperationPool(DatasetOperation op)
op - operation to performpublic void onReceive(java.lang.Object message)
throws java.lang.Exception
onReceive in class akka.actor.UntypedActorjava.lang.Exception