org.apache.directory.server.tools
Class CapacityTestCommand

java.lang.Object
  extended by org.apache.directory.server.tools.ToolCommand
      extended by org.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(org.apache.commons.cli.CommandLine cmdline)
           
 org.apache.commons.cli.Options getOptions()
           
 
Methods inherited from class org.apache.directory.server.tools.ToolCommand
getApacheDS, getInstanceLayout, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setApacheDS, setDebugEnabled, setInstanceLayout, 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

CapacityTestCommand

public CapacityTestCommand()
Method Detail

execute

public void execute(org.apache.commons.cli.CommandLine cmdline)
             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-2011 Apache Software Foundation. All Rights Reserved.