Interface TrackedOp<D>

    • Method Summary

      Modifier and Type Method Description
      TrackedOp<D> setWaitTime​(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.
      SkippedOp<D> skip​(int reason)
      Mark that this operation is being skipped by the activity type for some reason.
      StartedOp<D> start()
      Signify to EngineBlock 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.engineblock.activityapi.cyclelog.buffers.results.CycleMutable

        setCycle
      • Methods inherited from interface io.engineblock.activityapi.cyclelog.buffers.results.CycleReadable

        getCycle
      • Methods inherited from interface io.engineblock.activityapi.core.ops.fluent.opfacets.Payload

        getData, setData
    • Method Detail

      • start

        StartedOp<D> start()
        Signify to EngineBlock 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

        SkippedOp<D> skip​(int reason)
        Mark that this operation is being skipped by the activity type for some reason.
        Parameters:
        reason - An integer code, activity type specific, to track why the operation was skipped
        Returns:
        a SkippedOp of the appropriate generic delegate type
      • setWaitTime

        TrackedOp<D> setWaitTime​(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. This is used to calculate the response time once service time is known.
        Parameters:
        cycleDelay - nanosecond delay
        Returns:
        a TrackedOp for method chaining