@Service public class InfoForwardServer extends Object implements InfoForward
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.log4j.Logger |
logger |
protected org.apache.log4j.Logger |
traceLogger
用于记录额外的日志,例如往elastic-search中写日志
|
| 构造器和说明 |
|---|
InfoForwardServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
forwardEventInfo(List<MonitorEventInfo> infos) |
void |
forwardNodeInfo(NodeInfo info) |
EventInfoCollection |
getEventInfoCollection() |
NodeInfoCollection |
getNodeInfoCollection() |
void |
setEventInfoCollection(EventInfoCollection eventInfoCollection) |
void |
setNodeInfoCollection(NodeInfoCollection nodeInfoCollection) |
protected final org.apache.log4j.Logger logger
protected final org.apache.log4j.Logger traceLogger
public EventInfoCollection getEventInfoCollection()
public void setEventInfoCollection(EventInfoCollection eventInfoCollection)
public NodeInfoCollection getNodeInfoCollection()
public void setNodeInfoCollection(NodeInfoCollection nodeInfoCollection)
public void forwardNodeInfo(NodeInfo info)
forwardNodeInfo 在接口中 InfoForwardpublic void forwardEventInfo(List<MonitorEventInfo> infos)
forwardEventInfo 在接口中 InfoForwardCopyright © 2018 Jue Ming. All rights reserved.