You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/06/02 07:08:31 UTC

[GitHub] [rocketmq] hzh0425 commented on a diff in pull request #4393: [iSSUE-4256] Concurrent execution of methods that support DefaultMQAdminExtImpl

hzh0425 commented on code in PR #4393:
URL: https://github.com/apache/rocketmq/pull/4393#discussion_r887633839


##########
tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:
##########
@@ -543,10 +531,56 @@ public ClusterInfo examineBrokerClusterInfo() throws InterruptedException, MQBro
         return result;
     }
 
+    @Override
+    public AdminToolResult<ConsumerConnection> examineConsumerConnectionInfoConcurrent(String consumerGroup) throws InterruptedException, MQBrokerException, RemotingException, MQClientException {
+            return adminToolExecute(new AdminToolHandler() {
+            @Override
+            public AdminToolResult doExecute() throws Exception {

Review Comment:
   You can replace with lambda



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org