Interface OpFacets<D>
- Type Parameters:
D- The data carrier parameter type. Any OpFacets implementation can be used to carry any state which is needed to support a specific type of operation.
- All Superinterfaces:
Comparable<CycleResult>,CompletedOp<D>,CycleMutable,CycleReadable,CycleResult,FailedOp<D>,Payload<D>,ResultReadable,SkippedOp<D>,StartedOp<D>,SucceededOp<D>,TrackedOp<D>
- All Known Implementing Classes:
EventedOpImpl,OpImpl
public interface OpFacets<D>
extends TrackedOp<D>, StartedOp<D>, SucceededOp<D>, FailedOp<D>, SkippedOp<D>
This interface represents the union of interfaces needed for all of the
behavioral facets of a useful Op implementation. By implementing
these faceted interfaces by way of the OpFacets interface, an
implementation can be a state carrier that exposes a contextual
interface by declaration.
While this not a secure method of
enforcing type and interface over shared state, it does provide
a high degree of simplification for developers who wish to constrain
the operational view of an object according to an implied state machine.
-
Method Summary
Methods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.CompletedOp
getResponseTimeNanos, getServiceTimeNanos, getStartedAtNanosMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleMutable
setCycleMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleReadable
getCycleMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleResult
compareToMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.FailedOp
getTriesMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.Payload
getOpData, setDataMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.ResultReadable
getResultMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.SkippedOp
getSkippedReasonMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.StartedOp
fail, getCurrentResponseTimeNanos, getCurrentServiceTimeNanos, getStartedAtNanos, retry, succeedMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.SucceededOp
getTriesMethods inherited from interface io.nosqlbench.engine.api.activityapi.core.ops.fluent.opfacets.TrackedOp
setWaitTime, skip, start
-
Method Details
-
compareTo
-