com.alibaba.rocketmq.tools.command
类 CommandUtil
java.lang.Object
com.alibaba.rocketmq.tools.command.CommandUtil
public class CommandUtil
- extends Object
各个子命令的接口
- 从以下版本开始:
- 2013-7-25
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandUtil
public CommandUtil()
fetchMasterAddrByClusterName
public static Set<String> fetchMasterAddrByClusterName(MQAdminExt adminExt,
String clusterName)
throws InterruptedException,
RemotingConnectException,
RemotingTimeoutException,
RemotingSendRequestException,
MQBrokerException
- 抛出:
InterruptedException
RemotingConnectException
RemotingTimeoutException
RemotingSendRequestException
MQBrokerException
fetchBrokerNameByClusterName
public static Set<String> fetchBrokerNameByClusterName(MQAdminExt adminExt,
String clusterName)
throws Exception
- 抛出:
Exception
fetchBrokerNameByAddr
public static String fetchBrokerNameByAddr(MQAdminExt adminExt,
String addr)
throws Exception
- 抛出:
Exception
Copyright © 2012-2015. All Rights Reserved.