org.apache.directory.server.tools
Class GracefulShutdownCommand

java.lang.Object
  extended by org.apache.directory.server.tools.ToolCommand
      extended by org.apache.directory.server.tools.GracefulShutdownCommand

public class GracefulShutdownCommand
extends ToolCommand

A command used to send a graceful disconnect to established clients while allowing them time to complete operations already in progress.

Version:
$Rev: 434420 $
Author:
Apache Directory Project
See Also:
Graceful Shutdown

Field Summary
static java.lang.String PORT_RANGE
           
 
Constructor Summary
protected GracefulShutdownCommand()
           
 
Method Summary
 void execute(org.apache.commons.cli.CommandLine cmd)
           
 org.apache.commons.cli.Options getOptions()
           
 
Methods inherited from class org.apache.directory.server.tools.ToolCommand
getApacheDS, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setApacheDS, setDebugEnabled, setLayout, setLayout, setLayout, setQuietEnabled, setVerboseEnabled, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PORT_RANGE

public static final java.lang.String PORT_RANGE
See Also:
Constant Field Values
Constructor Detail

GracefulShutdownCommand

protected GracefulShutdownCommand()
Method Detail

execute

public void execute(org.apache.commons.cli.CommandLine cmd)
             throws java.lang.Exception
Specified by:
execute in class ToolCommand
Throws:
java.lang.Exception

getOptions

public org.apache.commons.cli.Options getOptions()
Specified by:
getOptions in class ToolCommand


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.