org.apache.qpid.tools.messagestore.commands
Class Purge

java.lang.Object
  extended by org.apache.qpid.tools.messagestore.commands.AbstractCommand
      extended by org.apache.qpid.tools.messagestore.commands.Move
          extended by org.apache.qpid.tools.messagestore.commands.Purge
All Implemented Interfaces:
Command

public class Purge
extends Move


Field Summary
 
Fields inherited from class org.apache.qpid.tools.messagestore.commands.AbstractCommand
_console, _tool
 
Constructor Summary
Purge(MessageStoreTool tool)
           
 
Method Summary
protected  boolean checkRequirements(AMQQueue fromQueue, AMQQueue toQueue, List<Long> msgids)
           
protected  void doCommand(AMQQueue fromQueue, long start, long end, AMQQueue toQueue)
           
 String getCommand()
           
 String help()
           
 String usage()
           
 
Methods inherited from class org.apache.qpid.tools.messagestore.commands.Move
execute
 
Methods inherited from class org.apache.qpid.tools.messagestore.commands.AbstractCommand
commandError, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Purge

public Purge(MessageStoreTool tool)
Method Detail

help

public String help()
Specified by:
help in interface Command
Overrides:
help in class Move

usage

public String usage()
Specified by:
usage in interface Command
Overrides:
usage in class Move

getCommand

public String getCommand()
Specified by:
getCommand in interface Command
Overrides:
getCommand in class Move

checkRequirements

protected boolean checkRequirements(AMQQueue fromQueue,
                                    AMQQueue toQueue,
                                    List<Long> msgids)
Overrides:
checkRequirements in class Move

doCommand

protected void doCommand(AMQQueue fromQueue,
                         long start,
                         long end,
                         AMQQueue toQueue)
Overrides:
doCommand in class Move


Licensed to the Apache Software Foundation