org.apache.directory.server.tools
Class CapacityTestCommand

java.lang.Object
  extended byorg.apache.directory.server.tools.ToolCommand
      extended byorg.apache.directory.server.tools.CapacityTestCommand

public class CapacityTestCommand
extends ToolCommand

A capacity testing tool. This command will generate bogus user entries and add them under a base DN. It will output a table of values mapping the capacity of the partition to the time it took to add an entry to it.

Version:
$Rev$
Author:
Apache Directory Project

Field Summary
static java.lang.String PORT_RANGE
           
 
Constructor Summary
CapacityTestCommand()
           
 
Method Summary
 void execute(CommandLine cmdline)
           
 Options getOptions()
           
 
Methods inherited from class org.apache.directory.server.tools.ToolCommand
getConfiguration, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setConfiguration, setDebugEnabled, 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
Constructor Detail

CapacityTestCommand

public CapacityTestCommand()
Method Detail

execute

public void execute(CommandLine cmdline)
             throws java.lang.Exception
Specified by:
execute in class ToolCommand
Throws:
java.lang.Exception

getOptions

public Options getOptions()
Specified by:
getOptions in class ToolCommand