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, wait
getRegex, getServiceInfos, getWeight, isRead, process, setCepCore, setRead
public boolean canProcess(String nodeString)
EventProcessor
canProcess
in interface EventProcessor
public String getId()
EventProcessor
getId
in interface EventProcessor
public int getType()
EventProcessor
getType
in interface EventProcessor
public boolean isEnable()
EventProcessor
isEnable
in interface EventProcessor
public void setEnable(boolean enable)
EventProcessor
setEnable
in interface EventProcessor
Copyright © 2006–2018 TinyGroup. All rights reserved.