Class CycleResultsRLEBufferReadable
java.lang.Object
io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results_rle.CycleResultsRLEBufferReadable
- All Implemented Interfaces:
CycleResultSegmentsReadable,Iterable<CycleResultsSegment>
Implements a cycle result segment in a run-length encoded buffer
that contains the cycle interval and the result in long, long, byte format,
where the last value (the second long value) is *not* included in the
cycle inteval. (closed-open interval)
This is not a threadsafe iterator. It references buffer data that is presumed to be access by only one reader for the sake of efficiency.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.nosqlbench.engine.api.activityapi.cyclelog.buffers.CycleResultSegmentsReadable
getCycleResultIterableMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
BYTES
public static final int BYTES- See Also:
-
-
Constructor Details
-
CycleResultsRLEBufferReadable
-
CycleResultsRLEBufferReadable
-
-
Method Details
-
iterator
-
iterator
- Specified by:
iteratorin interfaceIterable<CycleResultsSegment>
-