public class PeriodicTrigger extends Object implements Trigger
Trigger which will trigger events based on a pre-defined period.| Constructor and Description |
|---|
PeriodicTrigger() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
org.wso2.siddhi.query.api.definition.TriggerDefinition |
getTriggerDefinition() |
void |
init(org.wso2.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction) |
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(org.wso2.siddhi.query.api.definition.TriggerDefinition triggerDefinition,
SiddhiAppContext siddhiAppContext,
StreamJunction streamJunction)
public org.wso2.siddhi.query.api.definition.TriggerDefinition getTriggerDefinition()
getTriggerDefinition in interface Triggerpublic void start()
start in interface EternalReferencedHolderpublic void stop()
stop in interface EternalReferencedHolderCopyright © 2019 WSO2. All rights reserved.