Class DiagTask_initdelay
java.lang.Object
io.nosqlbench.adapter.diag.optasks.BaseDiagTask
io.nosqlbench.adapter.diag.optasks.DiagTask_initdelay
- All Implemented Interfaces:
DiagTask,NBParentComponentInjection,NBCanConfigure,NBConfigModelProvider,NBConfigurable,NBLabeledElement,BiFunction<Long,Map<String, Object>, Map<String, Object>>
Cause a blocking call to delay the initialization
of this owning operation for a number of milliseconds.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
Fields inherited from class io.nosqlbench.adapter.diag.optasks.BaseDiagTask
parentFields inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImplementors should take care to ensure that this can be called after initial construction without unexpected interactions between construction parameters and configuration parameters.Implement this method by returning an instance ofConfigModel.Methods inherited from class io.nosqlbench.adapter.diag.optasks.BaseDiagTask
applyParentComponent, getLabels, getName, getParentLabels, setLabelsFrom, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Constructor Details
-
DiagTask_initdelay
public DiagTask_initdelay()
-
-
Method Details
-
applyConfig
Description copied from interface:NBConfigurableImplementors should take care to ensure that this can be called after initial construction without unexpected interactions between construction parameters and configuration parameters.- Parameters:
cfg- The configuration data to be applied to a new instance
-
getConfigModel
Description copied from interface:NBConfigurableImplement this method by returning an instance ofConfigModel. Any configuration which is provided to theNBConfigurable.applyConfig(NBConfiguration)method will be validated through this model. A configuration model is required in order to build a validated configuration from source data provided by a user.- Returns:
- A valid configuration model for the implementing class
-
apply
-