Interface CycleResult
- All Superinterfaces:
Comparable<CycleResult>,CycleReadable,ResultReadable
- All Known Subinterfaces:
CompletedOp<D>,FailedOp<D>,OpFacets<D>,SkippedOp<D>,SucceededOp<D>
- All Known Implementing Classes:
EventedOpImpl,MutableCycleResult,OpImpl
A readable interface for (cycle, result) tuple types.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intBy 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
getCycleMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.ResultReadable
getResult
-
Method Details
-
compareTo
By default, allow cycle results to be ordered according to the cycle number.- Specified by:
compareToin interfaceComparable<CycleResult>- Parameters:
o- CycleResult to compare to- Returns:
- -1, 0, or 1, depending on ordering
-