Class NBBufferedContainer
java.lang.Object
io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
io.nosqlbench.nb.api.components.core.NBBaseComponent
io.nosqlbench.engine.core.lifecycle.scenario.container.NBBufferedContainer
- All Implemented Interfaces:
NBContainer,NBComponent,NBComponentAdvisors,NBComponentEvents,NBComponentMetrics,NBComponentProps,NBComponentServices,NBComponentTimeline,NBProviderSearch,NBTokenWords,NBLabeledElement,AutoCloseable,BiFunction<NBInvokableCommand,NBCommandParams, NBCommandResult>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
Fields 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
ConstructorsConstructorDescriptionNBBufferedContainer(NBComponent parent, String name, NBBufferedContainer.IOType ioTypes) -
Method Summary
Modifier and TypeMethodDescriptionapply(NBInvokableCommand nbCmd, NBCommandParams nbCmdParams) voidbuilder()voiderr()getIOLog()in()out()Methods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
addAdvisor, addMetricsCloseable, attachChild, 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, teardown, toStringMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
addComponentMetric, addListener, findComponentMetrics, findComponentMetrics, getComponentMetric, getComponentMetrics, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponent
attachChild, close, detachChild, getChildren, getComponentOnlyLabels, getNanosSinceStart, getParent, reportExecutionMetricMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentAdvisors
addAdvisor, getAdvisorResults, getAdvisorsMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentEvents
onEventMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentMetrics
addComponentMetric, findComponentMetrics, findComponentMetrics, findOneComponentMetric, findOneComponentMetric, getComponentMetric, getComponentMetricsMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentProps
getComponentProp, setComponentPropMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentServices
create, findMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description, getLabelsMethods inherited from interface io.nosqlbench.nb.api.components.decorators.NBProviderSearch
findParentService
-
Constructor Details
-
NBBufferedContainer
-
-
Method Details
-
controller
- Specified by:
controllerin interfaceNBContainer
-
out
- Specified by:
outin interfaceNBContainer
-
err
- Specified by:
errin interfaceNBContainer
-
in
- Specified by:
inin interfaceNBContainer
-
getIOLog
-
builder
-
apply
- Specified by:
applyin interfaceBiFunction<NBInvokableCommand,NBCommandParams, NBCommandResult>
-
doShutdown
public void doShutdown()- Specified by:
doShutdownin interfaceNBContainer
-
getContainerVars
- Specified by:
getContainerVarsin interfaceNBContainer
-
beforeDetach
public void beforeDetach()- Specified by:
beforeDetachin interfaceNBComponent- Overrides:
beforeDetachin classNBBaseComponent
-