public class MonitorUtil extends Object
Constructor and Description |
---|
MonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addFormInfo(Event e,
CEPCore core) |
static void |
addMonitorInfo(Event e,
CEPCore core,
EventProcessor processor)
此方法在计算出event所执行的processor后即可调用
添加from/to信息,from当前节点的nodeName,to目标处理器的id
如果是远程请求,目标处理器id为目标节点的ip:port:nodeName
如果是本地请求,目标处理器就是本地处理器id
|
static void |
addToInfo(Event e,
EventProcessor processor) |
public static void addMonitorInfo(Event e, CEPCore core, EventProcessor processor)
e
- 请求事件对象core
- 当前节点cepcoreprocessor
- 目标处理器public static void addToInfo(Event e, EventProcessor processor)
Copyright © 2006–2018 TinyGroup. All rights reserved.