File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/monitor Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
package com .alibaba .rocketmq .tools .monitor ;
2
2
3
+ import java .util .Map ;
4
+
3
5
import com .alibaba .rocketmq .common .protocol .body .ConsumerRunningInfo ;
4
6
5
7
6
8
public class DefaultMonitorListener implements MonitorListener {
7
9
8
10
public DefaultMonitorListener () {
9
- // TODO Auto-generated constructor stub
10
11
}
11
12
12
13
13
14
@ Override
14
15
public void beginRound () {
15
- // TODO Auto-generated method stub
16
-
17
16
}
18
17
19
18
@@ -36,14 +35,11 @@ public void reportDeleteMsgsEvent(DeleteMsgsEvent deleteMsgsEvent) {
36
35
37
36
38
37
@ Override
39
- public void reportConsumerRunningInfo (ConsumerRunningInfo consumerRunningInfo ) {
40
- // TODO Auto-generated method stub
41
-
38
+ public void reportConsumerRunningInfo (Map <String , ConsumerRunningInfo > criTable ) {
42
39
}
43
40
44
41
45
42
@ Override
46
43
public void endRound () {
47
- // TODO Auto-generated method stub
48
44
}
49
45
}
Original file line number Diff line number Diff line change 1
1
package com .alibaba .rocketmq .tools .monitor ;
2
2
3
+ import java .util .Map ;
4
+
3
5
import com .alibaba .rocketmq .common .protocol .body .ConsumerRunningInfo ;
4
6
5
7
@@ -34,7 +36,7 @@ public interface MonitorListener {
34
36
/**
35
37
* 汇报Consumer内部运行数据结构
36
38
*/
37
- public void reportConsumerRunningInfo (ConsumerRunningInfo consumerRunningInfo );
39
+ public void reportConsumerRunningInfo (Map < String /* clientId */ , ConsumerRunningInfo > criTable );
38
40
39
41
40
42
/**
You can’t perform that action at this time.
0 commit comments