com.alibaba.rocketmq.tools.command.topic
类 DeleteTopicSubCommand

java.lang.Object
  继承者 com.alibaba.rocketmq.tools.command.topic.DeleteTopicSubCommand
所有已实现的接口:
SubCommand

public class DeleteTopicSubCommand
extends Object
implements SubCommand

删除Topic配置命令

从以下版本开始:
2013-8-21
作者:
manhong.yqd

构造方法摘要
DeleteTopicSubCommand()
           
 
方法摘要
 org.apache.commons.cli.Options buildCommandlineOptions(org.apache.commons.cli.Options options)
           
 String commandDesc()
           
 String commandName()
           
static void deleteTopic(DefaultMQAdminExt adminExt, String clusterName, String topic)
           
 void execute(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Options options, RPCHook rpcHook)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DeleteTopicSubCommand

public DeleteTopicSubCommand()
方法详细信息

commandName

public String commandName()
指定者:
接口 SubCommand 中的 commandName

commandDesc

public String commandDesc()
指定者:
接口 SubCommand 中的 commandDesc

buildCommandlineOptions

public org.apache.commons.cli.Options buildCommandlineOptions(org.apache.commons.cli.Options options)
指定者:
接口 SubCommand 中的 buildCommandlineOptions

deleteTopic

public static void deleteTopic(DefaultMQAdminExt adminExt,
                               String clusterName,
                               String topic)
                        throws InterruptedException,
                               MQBrokerException,
                               RemotingException,
                               MQClientException
抛出:
InterruptedException
MQBrokerException
RemotingException
MQClientException

execute

public void execute(org.apache.commons.cli.CommandLine commandLine,
                    org.apache.commons.cli.Options options,
                    RPCHook rpcHook)
指定者:
接口 SubCommand 中的 execute


Copyright © 2012-2015. All Rights Reserved.