public class SlidingWindowActor
extends akka.actor.UntypedActor
Constructor and Description |
---|
SlidingWindowActor(int stepSize,
int windowSize)
Creates a new sliding window actor with no operation performed on the window.
|
SlidingWindowActor(int stepSize,
int windowSize,
DatasetOperation op)
Creates a new sliding window actor
|
SlidingWindowActor(int stepSize,
int windowWidth,
int windowHeight,
DatasetOperation op)
Creates a new rectangular sliding window actor
|
Modifier and Type | Method and Description |
---|---|
void |
onReceive(java.lang.Object message)
Handled Messages
DatasetMessage - starts sliding window.
|
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 SlidingWindowActor(int stepSize, int windowWidth, int windowHeight, DatasetOperation op)
stepSize
- step size between windowswindowWidth
- width of windowwindowHeight
- height of windowop
- DatasetOperation to perform on each windowpublic SlidingWindowActor(int stepSize, int windowSize, DatasetOperation op)
stepSize
- step size between windowswindowSize
- dimension of square windowop
- DatasetOperation to perform on each windowpublic SlidingWindowActor(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