com.taobao.metamorphosis.tools.shell
类 ClosePartitionsTool
java.lang.Object
com.taobao.metamorphosis.tools.shell.ShellTool
com.taobao.metamorphosis.tools.shell.ClosePartitionsTool
public class ClosePartitionsTool
- extends ShellTool
关闭一个topic的指定分区
usage:
ClosePartitionsTool -topic xxtopic -start 2 -end 5
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -host 10.2.2.3
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -port 9999
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -host 10.2.2.3 -port 9999
- 从以下版本开始:
- 2011-8-23 下午3:42:38
- 作者:
- 无花
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosePartitionsTool
public ClosePartitionsTool(PrintStream out)
ClosePartitionsTool
public ClosePartitionsTool(PrintWriter writer)
main
public static void main(String[] args)
throws Exception
- 抛出:
Exception
doMain
public void doMain(String[] args)
throws Exception
- 从类
ShellTool
复制的描述
- 主功能入口
- 指定者:
- 类
ShellTool
中的 doMain
- 抛出:
Exception
Copyright © 2010–2013. All rights reserved.