public class SlidingWindowPool extends LinkedWorkerPool
next
DEFAULTWORKERS, router
Constructor and Description |
---|
SlidingWindowPool(int stepSize,
int windowSize)
Creates a new pool
|
SlidingWindowPool(int stepSize,
int windowSize,
DatasetOperation operation)
Creates a new pool
|
SlidingWindowPool(int workers,
int stepSize,
int windowSize)
Creates a new pool with no DatasetOperation performed on each window.
|
SlidingWindowPool(int workers,
int stepSize,
int windowSize,
DatasetOperation op)
Creates a new pool
|
SlidingWindowPool(int workers,
int stepSize,
int windowWidth,
int windowHeight)
Creates a new pool
|
SlidingWindowPool(int workers,
int stepSize,
int windowWidth,
int windowHeight,
DatasetOperation operation)
Creates a new pool
|
Modifier and Type | Method and Description |
---|---|
void |
onReceive(java.lang.Object message)
Handled Messages
DatasetMessage - sends the message to the worker pool for processing
ActorRef - sets the next link in the processing chain for the worker pool
ShutdownMessage - initiates shutdown
|
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 SlidingWindowPool(int workers, int stepSize, int windowWidth, int windowHeight, DatasetOperation operation)
workers
- number of workersstepSize
- step size between windowswindowWidth
- width of windowwindowHeight
- height of windowoperation
- operation to perform on each windowpublic SlidingWindowPool(int workers, int stepSize, int windowWidth, int windowHeight)
workers
- number of workersstepSize
- step size between windowswindowWidth
- width of windowwindowHeight
- height of windowpublic SlidingWindowPool(int workers, int stepSize, int windowSize, DatasetOperation op)
workers
- number of workersstepSize
- step size between windowswindowSize
- dimension of square windowop
- operation to perform on each windowpublic SlidingWindowPool(int stepSize, int windowSize, DatasetOperation operation)
stepSize
- step size between windowswindowSize
- dimension of square windowoperation
- operation to perform on each windowpublic SlidingWindowPool(int workers, int stepSize, int windowSize)
workers
- number of workers in the poolstepSize
- step size between windowswindowSize
- dimension of square windowpublic SlidingWindowPool(int stepSize, int windowSize)
stepSize
- step size between windowswindowSize
- dimension of square windowpublic void onReceive(java.lang.Object message) throws java.lang.Exception
onReceive
in class akka.actor.UntypedActor
java.lang.Exception