public interface CEPCore
Modifier and Type | Field and Description |
---|---|
static String |
CEP_CORE_BEAN |
Modifier and Type | Method and Description |
---|---|
void |
addEventProcessorRegisterTrigger(EventProcessorRegisterTrigger trigger) |
List<EventProcessor> |
getEventProcessors() |
String |
getNodeName()
获取结点名称
|
CEPCoreOperator |
getOperator() |
ServiceInfo |
getServiceInfo(String serviceId) |
List<ServiceInfo> |
getServiceInfos()
获取本地服务列表
|
int |
getServiceInfosVersion() |
void |
process(Event event)
处理事件
|
void |
refreshEventProcessors() |
void |
registerEventProcessor(EventProcessor eventProcessor)
注册一个事件处理器
|
void |
setConfig(XmlNode config) |
void |
setEventProcessorChoose(EventProcessorChoose chooser) |
void |
setNodeName(String nodeName) |
void |
setOperator(CEPCoreOperator operator) |
void |
start()
开始CEP
|
void |
stop()
停止CEP
|
void |
unregisterEventProcessor(EventProcessor eventProcessor)
注销一个事件处理器
|
static final String CEP_CORE_BEAN
void setEventProcessorChoose(EventProcessorChoose chooser)
String getNodeName()
void setNodeName(String nodeName)
CEPCoreOperator getOperator()
void setOperator(CEPCoreOperator operator)
void registerEventProcessor(EventProcessor eventProcessor)
eventProcessor
- void unregisterEventProcessor(EventProcessor eventProcessor)
eventProcessor
- void process(Event event)
event
- void start()
void stop()
List<EventProcessor> getEventProcessors()
List<ServiceInfo> getServiceInfos()
int getServiceInfosVersion()
ServiceInfo getServiceInfo(String serviceId)
void addEventProcessorRegisterTrigger(EventProcessorRegisterTrigger trigger)
void refreshEventProcessors()
void setConfig(XmlNode config)
Copyright © 2006–2018 TinyGroup. All rights reserved.