public class StartTrigger extends AbstractTrigger
Trigger which will trigger events when siddhi app in started.| Constructor and Description |
|---|
StartTrigger() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
io.siddhi.query.api.definition.TriggerDefinition |
getTriggerDefinition() |
void |
init(io.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction) |
boolean |
isStateful() |
void |
start()
This will be called only once and this can be used to acquire
required resources for the processing element.
|
void |
stop()
This will be called only once and this can be used to release
the acquired resources for processing.
|
public void init(io.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction)
init in class AbstractTriggerpublic io.siddhi.query.api.definition.TriggerDefinition getTriggerDefinition()
public String getId()
public void start()
public void stop()
public boolean isStateful()
Copyright © 2019. All rights reserved.