Class MessageConsumerOpDispenser
java.lang.Object
io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
io.nosqlbench.nb.api.components.core.NBBaseComponent
io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser<S4JOp,S4JSpace>
io.nosqlbench.adapter.s4j.dispensers.S4JBaseOpDispenser
io.nosqlbench.adapter.s4j.dispensers.MessageConsumerOpDispenser
- All Implemented Interfaces:
OpDispenser<S4JOp>,OpResultTracker,NBComponent,NBComponentAdvisors,NBComponentEvents,NBComponentMetrics,NBComponentProps,NBComponentServices,NBComponentTimeline,NBProviderSearch,NBTokenWords,NBLabeledElement,AutoCloseable,LongFunction<S4JOp>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanprotected final booleanFields inherited from class io.nosqlbench.adapter.s4j.dispensers.S4JBaseOpDispenser
asyncAPI, destNameStrFunc, destType, parsedOp, s4jAdapterMetrics, s4jSpaceF, temporaryDest, totalCycleNum, totalThreadNum, txnBatchNumFields inherited from class io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser
EXPECTED_RESULT, spaceF, START_TIMERS, STOP_TIMERS, VERIFIER, VERIFIER_IMPORTS, VERIFIER_INIT, verifierTimerFields inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
bufferOrphanedMetrics, closed_ns, error, errored_ns, 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
ConstructorsConstructorDescriptionMessageConsumerOpDispenser(S4JDriverAdapter adapter, ParsedOp op, LongFunction<String> tgtNameFunc) -
Method Summary
Modifier and TypeMethodDescriptiongetOp(long cycle) This method should do all the work of creating an operation that is executable by some other caller.Methods inherited from class io.nosqlbench.adapter.s4j.dispensers.S4JBaseOpDispenser
commitTransaction, getJmsConsumer, getJmsDestination, getJmsProducer, getS4jAdapterMetrics, getS4jJmsContextWrapper, getS4jJmsContextWrapper, lookupMandtoryStrOpValueFunc, lookupOptionalStrOpValueFunc, lookupOptionalStrOpValueFunc, lookupStaticBoolConfigValueFunc, lookupStaticIntOpValueFunc, lookupStaticStrSetOpValueFuncMethods inherited from class io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser
apply, getLabels, getOpName, getVerifier, onError, onStart, onSuccessMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
addAdvisor, addMetricsCloseable, attachChild, beforeDetach, close, create, detachChild, find, findParentService, getAdvisors, getChildren, getComponentOnlyLabels, getComponentProp, getComponentState, 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 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
-
Field Details
-
blockingMsgRecv
protected final boolean blockingMsgRecv -
durableTopic
protected final boolean durableTopic
-
-
Constructor Details
-
MessageConsumerOpDispenser
public MessageConsumerOpDispenser(S4JDriverAdapter adapter, ParsedOp op, LongFunction<String> tgtNameFunc)
-
-
Method Details
-
getOp
Description copied from interface:OpDispenserThis method should do all the work of creating an operation that is executable by some other caller. The value produced by the apply method should not require additional processing if a caller wants to execute the operation multiple times, as for retries.- Parameters:
cycle- The cycle number which serves as the seed for any generated op fields to be bound into an operation.- Returns:
- an executable operation
-