public abstract static class SimScenario.SimOp extends Object
Constructor and Description |
---|
SimOp() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(SimScenario scenario)
Execute the operation.
|
void |
init(SolrParams params) |
void |
prepareCurrentParams(SimScenario scenario)
This method prepares a copy of initial params (and sets the value of
params
with all property references resolved against the current SimScenario.context
and system properties. |
public void init(SolrParams params)
public void prepareCurrentParams(SimScenario scenario)
params
with all property references resolved against the current SimScenario.context
and system properties. This method should always be called before invoking
execute(SimScenario)
.scenario
- current scenariopublic abstract void execute(SimScenario scenario) throws Exception
scenario
- current scenario.Exception
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.