public class FlowEventProcessor extends AbstractEventProcessor
TYPE_LOCAL, TYPE_REMOTE
Constructor and Description |
---|
FlowEventProcessor() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getRegex()
返回正则
|
List<ServiceInfo> |
getServiceInfos()
返回当前处理器中的所有服务
|
int |
getWeight()
返回处理权重
|
boolean |
isRead()
获取是否已被读取状态
|
void |
process(Event event)
处理事件
|
void |
setCepCore(CEPCore cepCore)
设置CEPCore
|
void |
setExecutor(FlowExecutor executor) |
void |
setRead(boolean read)
设置读取状态,当刷新时,将此状态设置为false,当注册完成后,设置为true
|
canProcess, getId, getType, isEnable, setEnable
public void process(Event event)
EventProcessor
public void setCepCore(CEPCore cepCore)
EventProcessor
public void setExecutor(FlowExecutor executor)
public List<ServiceInfo> getServiceInfos()
EventProcessor
public int getWeight()
EventProcessor
public List<String> getRegex()
EventProcessor
public boolean isRead()
EventProcessor
public void setRead(boolean read)
EventProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.