Class DiagTask_diagrate
java.lang.Object
io.nosqlbench.adapter.diag.optasks.BaseDiagTask
io.nosqlbench.adapter.diag.optasks.DiagTask_diagrate
- All Implemented Interfaces:
DiagTask,NBParentComponentInjection,NBCanConfigure,NBCanReconfigure,NBConfigModelProvider,NBConfigurable,NBReconfigModelProvider,NBReconfigurable,NBLabeledElement,BiFunction<Long,Map<String, Object>, Map<String, Object>>
-
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.voidapplyReconfig(NBConfiguration recfg) This applies a configuration to an element AFTER the initial configuration fromNBConfigurable.Implement this method by returning an instance ofConfigModel.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_diagrate
public DiagTask_diagrate()
-
-
Method Details
-
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.- Specified by:
getConfigModelin interfaceNBConfigModelProvider- Specified by:
getConfigModelin interfaceNBConfigurable- Returns:
- A valid configuration model for the implementing class
-
getReconfigModel
Description copied from interface:NBReconfigurableImplement this method by returning an instance ofConfigModel. Any configuration which is provided to theNBReconfigurable.applyReconfig(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.- Specified by:
getReconfigModelin interfaceNBReconfigModelProvider- Specified by:
getReconfigModelin interfaceNBReconfigurable- Returns:
- A valid configuration model for the implementing class
-
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.- Specified by:
applyConfigin interfaceNBCanConfigure- Specified by:
applyConfigin interfaceNBConfigurable- Parameters:
cfg- The configuration data to be applied to a new instance
-
applyReconfig
Description copied from interface:NBReconfigurableThis applies a configuration to an element AFTER the initial configuration fromNBConfigurable.- Specified by:
applyReconfigin interfaceNBCanReconfigure- Specified by:
applyReconfigin interfaceNBReconfigurable- Parameters:
recfg- The configuration data to be applied to a new instance
-
apply
-