public class StreamJunction extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
StreamJunction.Publisher |
static interface |
StreamJunction.Receiver |
class |
StreamJunction.StreamHandler |
| Constructor and Description |
|---|
StreamJunction(org.wso2.siddhi.query.api.definition.StreamDefinition streamDefinition,
ExecutorService executorService,
int bufferSize,
ExecutionPlanContext executionPlanContext) |
| Modifier and Type | Method and Description |
|---|---|
StreamJunction.Publisher |
constructPublisher() |
org.wso2.siddhi.query.api.definition.StreamDefinition |
getStreamDefinition() |
String |
getStreamId() |
void |
sendEvent(ComplexEvent complexEvent) |
void |
sendEvent(Event event) |
void |
startProcessing()
Create and start disruptor based on annotations given in the streamDefinition.
|
void |
stopProcessing() |
void |
subscribe(StreamJunction.Receiver receiver) |
public StreamJunction(org.wso2.siddhi.query.api.definition.StreamDefinition streamDefinition,
ExecutorService executorService,
int bufferSize,
ExecutionPlanContext executionPlanContext)
public void sendEvent(ComplexEvent complexEvent)
public void sendEvent(Event event)
public void startProcessing()
public void stopProcessing()
public StreamJunction.Publisher constructPublisher()
public void subscribe(StreamJunction.Receiver receiver)
public String getStreamId()
public org.wso2.siddhi.query.api.definition.StreamDefinition getStreamDefinition()
Copyright © 2018 WSO2. All Rights Reserved.