@Command(name="soak", description="Runs a soak test which consists of running the configured operation mix continuously for some period of time in order to soak test a system.") public class SoakCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
int |
maxRuns
Max runs option
|
long |
runtime
Max runtime options
|
ANSI_RED, ANSI_RESET, askFormat, debug, dsAssemblerFile, enableCompression, ensureAbsoluteURIs, formPwdField, formUrl, formUserField, graphFormat, gspEndpoint, haltAny, haltOnError, haltOnTimeout, helpOption, inMemoryOperations, insecure, limit, logFile, logToConsole, maxDelay, mixFile, noCount, noRandom, parallelThreads, password, preemptiveAuth, queryEndpoint, quiet, sampleRepeats, sampleSize, sanityCheckLevel, selectFormat, setupMixFile, teardownMixFile, timeout, trace, updateEndpoint, username
Constructor and Description |
---|
SoakCommand() |
Modifier and Type | Method and Description |
---|---|
protected <T extends Options> |
applySoakOptions(SoakOptions options)
Applies soak testing options provided by this command
|
static void |
main(String[] args)
Runs the command line soak testing process
|
protected int |
run()
Method that should be implemented to run the actual command
|
applyStandardOptions, showUsage
public int maxRuns
public long runtime
public static void main(String[] args)
args
- Argumentsprotected int run() throws IOException
AbstractCommand
run
in class AbstractCommand
IOException
protected <T extends Options> void applySoakOptions(SoakOptions options)
options
- Soak options to populateCopyright © 2015. All rights reserved.