Class NBScriptedCommand
java.lang.Object
io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
io.nosqlbench.nb.api.components.core.NBBaseComponent
io.nosqlbench.engine.core.lifecycle.scenario.execution.NBInvokableCommand
io.nosqlbench.engine.core.lifecycle.scenario.execution.NBBaseCommand
io.nosqlbench.engine.core.lifecycle.scenario.script.NBScriptedCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
Fields inherited from class io.nosqlbench.engine.core.lifecycle.scenario.execution.NBBaseCommand
loggerFields inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
bufferOrphanedMetrics, closed_ns, errored_ns, labels, metricsBuffer, parent, started_epoch_ms, started_ns, state, teardown_nsFields inherited from interface io.nosqlbench.nb.api.components.core.NBComponent
EMPTY_COMPONENTFields inherited from interface io.nosqlbench.nb.api.components.core.NBComponentProps
HDRDIGITS, SUMMARYFields inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionNBScriptedCommand(NBBufferedContainer parentComponent, String phaseName, String targetScenario) -
Method Summary
Modifier and TypeMethodDescriptionadd(BasicScriptBuffer otherBuf) booleaninthashCode()invoke(NBCommandParams params, PrintWriter stdout, PrintWriter stderr, Reader stdin, ContainerActivitiesController controller) static NBScriptedCommandofScripted(String name, Map<String, String> params, NBBufferedContainer parent, NBScriptedCommand.Invocation invocation) toString()Methods inherited from class io.nosqlbench.engine.core.lifecycle.scenario.execution.NBBaseCommand
apply, getScenarioName, getTargetScenarioMethods inherited from class io.nosqlbench.engine.core.lifecycle.scenario.execution.NBInvokableCommand
invokeSafeMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
addAdvisor, addMetricsCloseable, attachChild, beforeDetach, close, create, detachChild, find, findParentService, getAdvisors, getChildren, getComponentOnlyLabels, getComponentProp, getComponentState, getLabels, getNanosSinceStart, getParent, getTokens, nanosof_close, nanosof_error, nanosof_start, nanosof_teardown, onError, onEvent, reportExecutionMetric, setComponentProp, started_epoch_ms, teardownMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
addComponentMetric, addListener, findComponentMetrics, findComponentMetrics, getComponentMetric, getComponentMetrics, removeListenerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentAdvisors
getAdvisorResultsMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentMetrics
addComponentMetric, findComponentMetrics, findComponentMetrics, findOneComponentMetric, findOneComponentMetric, getComponentMetric, getComponentMetricsMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Constructor Details
-
NBScriptedCommand
public NBScriptedCommand(NBBufferedContainer parentComponent, String phaseName, String targetScenario)
-
-
Method Details
-
getResultIfComplete
-
add
-
ofScripted
public static NBScriptedCommand ofScripted(String name, Map<String, String> params, NBBufferedContainer parent, NBScriptedCommand.Invocation invocation) -
add
-
invoke
public Object invoke(NBCommandParams params, PrintWriter stdout, PrintWriter stderr, Reader stdin, ContainerActivitiesController controller) - Specified by:
invokein classNBBaseCommand
-
equals
-
hashCode
-
toString
- Overrides:
toStringin classNBBaseCommand
-