com.caucho.boot
Class HeapDumpCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractRemoteCommand
          extended by com.caucho.boot.AbstractManagementCommand
              extended by com.caucho.boot.HeapDumpCommand
All Implemented Interfaces:
BootCommand

public class HeapDumpCommand
extends AbstractManagementCommand

Makes the remote server produce heap dump. Heap dump is written to a file local to a remote server as it can be big.


Constructor Summary
HeapDumpCommand()
           
 
Method Summary
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client, ManagerClient managerClient)
           
 java.lang.String getDescription()
           
 boolean isProOnly()
           
 
Methods inherited from class com.caucho.boot.AbstractManagementCommand
createManagerClient, doCommand
 
Methods inherited from class com.caucho.boot.AbstractRemoteCommand
createBamClient
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addValueOption, doCommand, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isRemote, isRetry, isShutdown, isStart, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HeapDumpCommand

public HeapDumpCommand()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface BootCommand
Overrides:
getDescription in class AbstractBootCommand

doCommand

public int doCommand(com.caucho.boot.WatchdogArgs args,
                     com.caucho.boot.WatchdogClient client,
                     ManagerClient managerClient)
Specified by:
doCommand in class AbstractManagementCommand

isProOnly

public boolean isProOnly()
Specified by:
isProOnly in interface BootCommand
Overrides:
isProOnly in class AbstractManagementCommand