com.alibaba.rocketmq.tools.monitor
接口 MonitorListener

所有已知实现类:
DefaultMonitorListener

public interface MonitorListener

监控监听器


方法摘要
 void beginRound()
          开始一轮监控
 void endRound()
          结束一轮监控
 void reportConsumerRunningInfo(TreeMap<String,ConsumerRunningInfo> criTable)
          汇报Consumer内部运行数据结构
 void reportDeleteMsgsEvent(DeleteMsgsEvent deleteMsgsEvent)
          汇报消息删除情况
 void reportFailedMsgs(FailedMsgs failedMsgs)
          汇报消费失败情况
 void reportUndoneMsgs(UndoneMsgs undoneMsgs)
          汇报消息堆积情况
 

方法详细信息

beginRound

void beginRound()
开始一轮监控


reportUndoneMsgs

void reportUndoneMsgs(UndoneMsgs undoneMsgs)
汇报消息堆积情况


reportFailedMsgs

void reportFailedMsgs(FailedMsgs failedMsgs)
汇报消费失败情况


reportDeleteMsgsEvent

void reportDeleteMsgsEvent(DeleteMsgsEvent deleteMsgsEvent)
汇报消息删除情况


reportConsumerRunningInfo

void reportConsumerRunningInfo(TreeMap<String,ConsumerRunningInfo> criTable)
汇报Consumer内部运行数据结构


endRound

void endRound()
结束一轮监控



Copyright © 2012-2015. All Rights Reserved.