Interface TrackedOp<D>
- Type Parameters:
D- The payload type of this op.
- All Superinterfaces:
CycleMutable,CycleReadable,Payload<D>
- All Known Subinterfaces:
OpFacets<D>
- All Known Implementing Classes:
EventedOpImpl,OpImpl
A tracked op is one that has been added to a tracker, and can
then be started.
-
Method Summary
Modifier and TypeMethodDescriptionsetWaitTime(long cycleDelay) Indicate to this op, how much wait time elapsed between the time it was expected to start and the time it actually started.skip(int reason) Mark that this operation is being skipped by the activity type for some reason.start()Signify to NB that the associated operation is known to have started processing in some specific way according to the implementing activity type.Methods 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
getCycle
-
Method Details
-
start
Signify to NB that the associated operation is known to have started processing in some specific way according to the implementing activity type. This should be called after any operational setup work that would not occur in a typical application client scenario. The moment this is called, the start time for the operation is marked.- Returns:
- a StartedOp of the appropriate generic delegate type
-
skip
-
setWaitTime
Indicate to this op, how much wait time elapsed between the time it was expected to start and the time it actually started. This is used to calculate the response time once service time is known.- Parameters:
cycleDelay- nanosecond delay- Returns:
- a TrackedOp for method chaining
-