Class AmqpBaseOpDispenser
java.lang.Object
io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
io.nosqlbench.nb.api.components.core.NBBaseComponent
io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser<AmqpTimeTrackOp,AmqpSpace>
io.nosqlbench.adapter.amqp.dispensers.AmqpBaseOpDispenser
- All Implemented Interfaces:
OpDispenser<AmqpTimeTrackOp>,OpResultTracker,NBComponent,NBComponentAdvisors,NBComponentEvents,NBComponentMetrics,NBComponentProps,NBComponentServices,NBComponentTimeline,NBProviderSearch,NBTokenWords,NBLabeledElement,AutoCloseable,LongFunction<AmqpTimeTrackOp>
- Direct Known Subclasses:
AmqpMsgRecvOpDispenser,AmqpMsgSendOpDispenser
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AmqpAdapterMetricsprotected Stringprotected final ParsedOpFields 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
ConstructorsModifierConstructorDescriptionprotectedAmqpBaseOpDispenser(AmqpDriverAdapter adapter, ParsedOp op) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeclareExchange(long cycleNum, com.rabbitmq.client.Channel channel, String exchangeName, String exchangeType) protected longgetChannelExchangeSeqNum(long cycle) protected longgetConnChannelSeqNum(long cycle) protected longgetConnSeqNum(long cycle) protected StringgetEffectiveExchangeName(long cycleNum, long connSeqNum, long channelSeqNum, long exchangeSeqNum) protected StringgetEffectiveExchangeNameByCycle(long cycle) getName()protected LongFunction<String> lookupMandtoryStrOpValueFunc(String paramName) protected LongFunction<String> lookupOptionalStrOpValueFunc(String paramName, String defaultValue) Methods 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
descriptionMethods inherited from interface io.nosqlbench.adapters.api.activityimpl.OpDispenser
getOp
-
Field Details
-
parsedOp
-
amqpAdapterMetrics
-
amqpConfMap
-
exchangeType
-
-
Constructor Details
-
AmqpBaseOpDispenser
-
-
Method Details
-
lookupMandtoryStrOpValueFunc
-
lookupOptionalStrOpValueFunc
-
declareExchange
-
getConnSeqNum
protected long getConnSeqNum(long cycle) -
getConnChannelSeqNum
protected long getConnChannelSeqNum(long cycle) -
getChannelExchangeSeqNum
protected long getChannelExchangeSeqNum(long cycle) -
getEffectiveExchangeNameByCycle
-
getEffectiveExchangeName
protected String getEffectiveExchangeName(long cycleNum, long connSeqNum, long channelSeqNum, long exchangeSeqNum) -
getName
-