Class CycleSpanResults
java.lang.Object
io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results_rle.CycleSpanResults
- All Implemented Interfaces:
CycleResultsSegment,ResultReadable,Comparable<CycleResultsSegment>,Iterable<CycleResult>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleResultsSegment
CycleResultsSegment.EmptySegment -
Field Summary
Fields inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleResultsSegment
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleResultsSegment
compareToMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CycleSpanResults
public CycleSpanResults(long min, long nextMin, int result)
-
-
Method Details
-
getCount
public long getCount()- Specified by:
getCountin interfaceCycleResultsSegment
-
getMinCycle
public long getMinCycle()- Specified by:
getMinCyclein interfaceCycleResultsSegment
-
getResult
public int getResult()Description copied from interface:ResultReadableGet a result associated with some operation, according to the activity-specific result map- Specified by:
getResultin interfaceResultReadable- Returns:
- an activity-specific result code
-
toString
-
filter
- Specified by:
filterin interfaceCycleResultsSegment
-
iterator
- Specified by:
iteratorin interfaceIterable<CycleResult>
-