Class CycleResultsSegmentReadable
java.lang.Object
io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleResultsSegmentReadable
- All Implemented Interfaces:
CycleResultsSegment,Comparable<CycleResultsSegment>,Iterable<CycleResult>
Implements a cycle result segment in a basic buffer
that contains the cycle and the result in long, byte format.
-
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
Modifier and TypeMethodDescriptionfilter(Predicate<ResultReadable> filter) static CycleResultsSegmentforCycleResult(long completedCycle, int result) longgetCount()longiterator()toString()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
-
CycleResultsSegmentReadable
-
-
Method Details
-
forCycleResult
-
iterator
- Specified by:
iteratorin interfaceIterable<CycleResult>
-
toString
-
getCount
public long getCount()- Specified by:
getCountin interfaceCycleResultsSegment
-
getMinCycle
public long getMinCycle()- Specified by:
getMinCyclein interfaceCycleResultsSegment
-
filter
- Specified by:
filterin interfaceCycleResultsSegment
-