public abstract class AbstractEventProcessor extends Object implements EventProcessor
TYPE_LOCAL, TYPE_REMOTE| Constructor and Description |
|---|
AbstractEventProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(String nodeString)
判断当前处理器是否能处理对应的节点
|
String |
getId()
返回处理器ID,ID必须唯一
|
int |
getType()
返回处理器类型
|
boolean |
isEnable()
获取是否是enable,如果为false,则不接收任何服务处理
|
void |
setEnable(boolean enable)
设置enable
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRegex, getServiceInfos, getWeight, isRead, process, setCepCore, setReadpublic boolean canProcess(String nodeString)
EventProcessorcanProcess in interface EventProcessorpublic String getId()
EventProcessorgetId in interface EventProcessorpublic int getType()
EventProcessorgetType in interface EventProcessorpublic boolean isEnable()
EventProcessorisEnable in interface EventProcessorpublic void setEnable(boolean enable)
EventProcessorsetEnable in interface EventProcessorCopyright © 2006–2018 TinyGroup. All rights reserved.