Class SiddhiContext


  • public class SiddhiContext
    extends Object
    Context information holder associated with SiddhiManager
    • Constructor Detail

      • SiddhiContext

        public SiddhiContext()
    • Method Detail

      • getSiddhiExtensions

        public Map<String,​Class> getSiddhiExtensions()
      • setPersistenceStore

        public void setPersistenceStore​(PersistenceStore persistenceStore)
      • setIncrementalPersistenceStore

        public void setIncrementalPersistenceStore​(IncrementalPersistenceStore incrementalPersistenceStore)
      • getErrorStore

        public ErrorStore getErrorStore()
      • setErrorStore

        public void setErrorStore​(ErrorStore errorStore)
      • setConfigManager

        public void setConfigManager​(ConfigManager configManager)
      • getSiddhiDataSource

        public DataSource getSiddhiDataSource​(String dataSourceName)
      • addSiddhiDataSource

        public void addSiddhiDataSource​(String dataSourceName,
                                        DataSource dataSource)
      • setStatisticsConfiguration

        public void setStatisticsConfiguration​(StatisticsConfiguration statisticsConfiguration)
      • getDeprecatedSiddhiExtensions

        public Map<String,​Class> getDeprecatedSiddhiExtensions()
      • getDefaultDisrupterExceptionHandler

        public com.lmax.disruptor.ExceptionHandler<Object> getDefaultDisrupterExceptionHandler()
      • setSinkHandlerManager

        public void setSinkHandlerManager​(SinkHandlerManager sinkHandlerManager)
      • setSourceHandlerManager

        public void setSourceHandlerManager​(SourceHandlerManager sourceHandlerManager)
      • setRecordTableHandlerManager

        public void setRecordTableHandlerManager​(RecordTableHandlerManager recordTableHandlerManager)
      • getAttributes

        public Map<String,​Object> getAttributes()
        Attributes that are common across all the Siddhi Apps
        Returns:
        Attribute Map<String, Object>
      • setAttribute

        public void setAttribute​(String key,
                                 Object value)
        Set Attributes which can be retried by all the Siddhi Elements/Extensions via the SiddhiAppContext