Interface CycleResult
- 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 intcompareTo(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
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 interfacejava.lang.Comparable<CycleResult>- Parameters:
o- CycleResult to compare to- Returns:
- -1, 0, or 1, depending on ordering
-