All Superinterfaces:
java.lang.Comparable<CycleResult>, CycleReadable, ResultReadable
All Known Subinterfaces:
CompletedOp<D>, FailedOp<D>, OpFacets<D>, SkippedOp<D>, SucceededOp<D>
All Known Implementing Classes:
EventedOpImpl, MutableCycleResult, OpImpl

public interface CycleResult
extends java.lang.Comparable<CycleResult>, CycleReadable, ResultReadable
A readable interface for (cycle, result) tuple types.
  • Method Summary

    Modifier and Type Method Description
    default int compareTo​(CycleResult o)
    By default, allow cycle results to be ordered according to the cycle number.

    Methods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleReadable

    getCycle

    Methods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.ResultReadable

    getResult
  • Method Details

    • compareTo

      default int compareTo​(CycleResult o)
      By default, allow cycle results to be ordered according to the cycle number.
      Specified by:
      compareTo in interface java.lang.Comparable<CycleResult>
      Parameters:
      o - CycleResult to compare to
      Returns:
      -1, 0, or 1, depending on ordering