Interface LoadStepClient
-
- All Superinterfaces:
com.github.akurilov.commons.concurrent.AsyncRunnable,Daemon,LoadStep,java.rmi.Remote
- All Known Implementing Classes:
LinearLoadStepClient,LoadStepClientBase
public interface LoadStepClient extends LoadStep
-
-
Field Summary
Fields Modifier and Type Field Description static intOUTPUT_PROGRESS_PERIOD_MILLIS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends LoadStepClient>
Tappend(java.util.Map<java.lang.String,java.lang.Object> context)Append the load step context.<T extends LoadStepClient>
Tconfig(java.util.Map<java.lang.String,java.lang.Object> config)Configure the step-
Methods inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable
isClosed, isInitial, isShutdown, isStarted, isStopped, shutdown, state
-
Methods inherited from interface com.emc.mongoose.base.load.step.LoadStep
await, await, close, getTypeName, loadStepId, metricsSnapshots, runId, start, stop
-
-
-
-
Field Detail
-
OUTPUT_PROGRESS_PERIOD_MILLIS
static final int OUTPUT_PROGRESS_PERIOD_MILLIS
- See Also:
- Constant Field Values
-
-
Method Detail
-
config
<T extends LoadStepClient> T config(java.util.Map<java.lang.String,java.lang.Object> config) throws java.lang.IllegalStateException
Configure the step- Parameters:
config- a dictionary of the configuration values to override the inherited config- Returns:
- new/copied step instance with the applied config values
- Throws:
java.lang.IllegalStateException- if was called after any append(...) call
-
append
<T extends LoadStepClient> T append(java.util.Map<java.lang.String,java.lang.Object> context)
Append the load step context. The actual behavior depends on the particular step type- Parameters:
context- a dictionary of the additional parameters handled by the particular load step implementation- Returns:
- new/copied step instance with the appended context
-
-