Modifier and Type | Method and Description |
---|---|
OperationMix |
OperationMixLoader.load(File file)
Loads an operation mix from the given file
|
OperationMix |
AbstractOperationMixLoader.load(File file) |
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
XmlProgressListener.afterOperationMix(Runner<T> runner,
T options,
OperationMix mix,
OperationMixRun run) |
<T extends Options> |
StreamProgressListener.afterOperationMix(Runner<T> runner,
T options,
OperationMix mix,
OperationMixRun run) |
<T extends Options> |
ProgressListener.afterOperationMix(Runner<T> runner,
T options,
OperationMix mix,
OperationMixRun run)
Invoked after each run of an operation mix
|
<T extends Options> |
CsvProgressListener.afterOperationMix(Runner<T> runner,
T options,
OperationMix mix,
OperationMixRun run)
Handles the Mix progress event by recording the run statistics for later
printing to the CSV file
|
<T extends Options> |
XmlProgressListener.beforeOperationMix(Runner<T> runner,
T options,
OperationMix mix) |
<T extends Options> |
StreamProgressListener.beforeOperationMix(Runner<T> runner,
T options,
OperationMix mix) |
<T extends Options> |
ProgressListener.beforeOperationMix(Runner<T> runner,
T options,
OperationMix mix)
Invoked before each run of an operation mix
|
<T extends Options> |
CsvProgressListener.beforeOperationMix(Runner<T> runner,
T options,
OperationMix mix) |
Modifier and Type | Class and Description |
---|---|
class |
OperationMixImpl
A basic implementation of an operation mix
|
Constructor and Description |
---|
MixOperation(String name,
OperationMix mix)
Creates a new mix operation
|
MixOperation(String name,
OperationMix mix,
boolean randomOrder)
Creates a new mix operation
|
MixOperationCallable(Runner<T> runner,
T options,
OperationMix mix,
boolean randomOrder)
Creates a new callable
|
Modifier and Type | Method and Description |
---|---|
OperationMix |
OptionsImpl.getOperationMix() |
OperationMix |
Options.getOperationMix()
Gets the Query Mix that is used
|
OperationMix |
OptionsImpl.getSetupMix() |
OperationMix |
Options.getSetupMix()
Gets the setup mix to be run,
null indicates no setup mix is
requested. |
OperationMix |
OptionsImpl.getTeardownMix() |
OperationMix |
Options.getTeardownMix()
Gets the tear down mix to be run,
null indicates no tear down mix
is requested. |
Modifier and Type | Method and Description |
---|---|
void |
OptionsImpl.setOperationMix(OperationMix queries) |
void |
Options.setOperationMix(OperationMix queries)
Sets the Query Mix to use
|
void |
OptionsImpl.setSetupMix(OperationMix mix) |
void |
Options.setSetupMix(OperationMix mix)
Sets the setup mix that will be run once before testing starts.
|
void |
OptionsImpl.setTeardownMix(OperationMix mix) |
void |
Options.setTeardownMix(OperationMix mix)
Sets the tear down mix that will be run once after testing completes
successfully.
|
Modifier and Type | Method and Description |
---|---|
void |
Runner.reportAfterOperationMix(T options,
OperationMix mix,
OperationMixRun run)
Reports progress after we complete a run of the operation mix
|
void |
AbstractRunner.reportAfterOperationMix(T options,
OperationMix mix,
OperationMixRun run) |
void |
Runner.reportBeforeOperationMix(T options,
OperationMix mix)
Reports progress before we run an operation mix
|
void |
AbstractRunner.reportBeforeOperationMix(T options,
OperationMix mix) |
Modifier and Type | Method and Description |
---|---|
protected List<Integer> |
SamplingOperationMixRunner.getInOrderSample(OperationMix mix) |
protected <T extends Options> |
SamplingOperationMixRunner.getOperationOrder(T options,
OperationMix mix) |
protected <T extends Options> |
InOrderOperationMixRunner.getOperationOrder(T options,
OperationMix mix) |
protected <T extends Options> |
DefaultOperationMixRunner.getOperationOrder(T options,
OperationMix mix) |
protected abstract <T extends Options> |
AbstractOperationMixRunner.getOperationOrder(T options,
OperationMix mix)
Gets the order in which the runner should run the operations
|
protected List<Integer> |
SamplingOperationMixRunner.getRandomSample(OperationMix mix) |
<T extends Options> |
OperationMixRunner.run(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix run returning the statistics as a
OperationMixRun |
<T extends Options> |
AbstractOperationMixRunner.run(Runner<T> runner,
T options,
OperationMix mix) |
Copyright © 2015. All rights reserved.