Package io.siddhi.core.stream.input
Class InputDistributor
- java.lang.Object
-
- io.siddhi.core.stream.input.InputDistributor
-
- All Implemented Interfaces:
InputProcessor
public class InputDistributor extends Object implements InputProcessor
Implementation ofInputProcessorwhich inject the event to a set of Input Processors.
-
-
Constructor Summary
Constructors Constructor Description InputDistributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInputProcessor(InputProcessor inputProcessor)voidclear()voidsend(long timestamp, Object[] data, int streamIndex)voidsend(Event[] events, int streamIndex)voidsend(Event event, int streamIndex)voidsend(List<Event> events, int streamIndex)
-
-
-
Method Detail
-
send
public void send(Event event, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(Event[] events, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(List<Event> events, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(long timestamp, Object[] data, int streamIndex)- Specified by:
sendin interfaceInputProcessor
-
addInputProcessor
public void addInputProcessor(InputProcessor inputProcessor)
-
clear
public void clear()
-
-