com.alibaba.rocketmq.tools.command.message
类 QueryMsgByIdSubCommand

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

public class QueryMsgByIdSubCommand
extends Object
implements SubCommand

根据消息Id查询消息

从以下版本开始:
2013-8-12
作者:
shijia.wxr

构造方法摘要
QueryMsgByIdSubCommand()
           
 
方法摘要
 org.apache.commons.cli.Options buildCommandlineOptions(org.apache.commons.cli.Options options)
           
 String commandDesc()
           
 String commandName()
           
 void execute(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Options options, RPCHook rpcHook)
           
static void main(String[] args)
           
static void queryById(DefaultMQAdminExt admin, String msgId)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

QueryMsgByIdSubCommand

public QueryMsgByIdSubCommand()
方法详细信息

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

queryById

public static void queryById(DefaultMQAdminExt admin,
                             String msgId)
                      throws MQClientException,
                             RemotingException,
                             MQBrokerException,
                             InterruptedException,
                             IOException
抛出:
MQClientException
RemotingException
MQBrokerException
InterruptedException
IOException

execute

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

main

public static void main(String[] args)


Copyright © 2012-2014. All Rights Reserved.