public class ReporterActorPool extends LinkedWorkerPool
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<ROIMessage> |
rois
List of Regions Of Interest (ROI) detected
|
nextDEFAULTWORKERS, router| Constructor and Description |
|---|
ReporterActorPool()
Creates a new pool
|
ReporterActorPool(int numWorkers)
Creates a new pool with the default ReporterActor
|
ReporterActorPool(int numWorkers,
java.lang.Class<? extends ReporterActor> reporter)
Creates a new pool
|
ReporterActorPool(int numWorkers,
java.lang.Class<? extends ReporterActor> reporter,
java.lang.Object... args)
Creates a new pool.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ROIMessage> |
getROIS()
Returns the current list of ROIs
|
void |
onReceive(java.lang.Object message)
Handled Messages
ROIMessage - if from worker pool, adds to ROI.
|
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, unhandledjava.util.List<ROIMessage> rois
public ReporterActorPool(int numWorkers,
java.lang.Class<? extends ReporterActor> reporter,
java.lang.Object... args)
numWorkers - number of workers in the poolreporter - type of reporter to useargs - constructor arguments for the reporterpublic ReporterActorPool(int numWorkers,
java.lang.Class<? extends ReporterActor> reporter)
numWorkers - number of workers in the poolreporter - type of reporter to usepublic ReporterActorPool(int numWorkers)
numWorkers - number of workers in the poolpublic ReporterActorPool()
public void onReceive(java.lang.Object message)
throws java.lang.Exception
onReceive in class akka.actor.UntypedActorjava.lang.Exceptionpublic java.util.List<ROIMessage> getROIS()