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

构造方法摘要
CommandUtil()
           
 
方法摘要
static String fetchBrokerNameByAddr(MQAdminExt adminExt, String addr)
           
static Set<String> fetchBrokerNameByClusterName(MQAdminExt adminExt, String clusterName)
           
static Set<String> fetchMasterAddrByClusterName(MQAdminExt adminExt, String clusterName)
           
 
从类 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.