public class ServiceEventProcessorImpl extends AbstractEventProcessor
TYPE_LOCAL, TYPE_REMOTE
Constructor and Description |
---|
ServiceEventProcessorImpl() |
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 |
setRead(boolean read)
设置读取状态,当刷新时,将此状态设置为false,当注册完成后,设置为true
|
void |
setServiceProvider(ServiceProviderInterface provider) |
canProcess, getId, getType, isEnable, setEnable
public void process(Event event)
EventProcessor
public void setCepCore(CEPCore cepCore)
EventProcessor
public void setServiceProvider(ServiceProviderInterface provider)
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.