Interface ExternalReferencedHolder
-
- All Known Implementing Classes:
AbstractStreamProcessor,AbstractTrigger,AggregateWindowProcessor,BatchingFindableWindowProcessor,BatchingWindowProcessor,BatchWindowProcessor,CronTrigger,CronWindowProcessor,DelayWindowProcessor,EmptyWindowProcessor,ExpressionBatchWindowProcessor,ExpressionWindowProcessor,ExternalTimeBatchWindowProcessor,ExternalTimeWindowProcessor,FrequentWindowProcessor,GroupingFindableWindowProcessor,GroupingWindowProcessor,HopingWindowProcessor,LengthBatchWindowProcessor,LengthWindowProcessor,LogStreamProcessor,LossyFrequentWindowProcessor,PeriodicTrigger,Pol2CartStreamFunctionProcessor,QueryRuntimeImpl,Scheduler,SessionWindowProcessor,SlidingFindableWindowProcessor,SlidingWindowProcessor,SortWindowProcessor,StartTrigger,StreamFunctionProcessor,StreamProcessor,TableWindowProcessor,TimeBatchWindowProcessor,TimeLengthWindowProcessor,TimeWindowProcessor,WindowProcessor,WindowWindowProcessor
public interface ExternalReferencedHolderPrimary interface used to give start and stop method to Siddhi components which will be called once during Siddhi start up and shutting down so that user can perform actions such as resource allocation and de-allocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstart()This will be called only once and this can be used to acquire required resources for the processing element.voidstop()This will be called only once and this can be used to release the acquired resources for processing.
-
-
-
Method Detail
-
start
void start()
This will be called only once and this can be used to acquire required resources for the processing element. This will be called after initializing the system and before starting to process the events.
-
stop
void stop()
This will be called only once and this can be used to release the acquired resources for processing. This will be called before shutting down the system.
-
-