Class CycleArray
java.lang.Object
io.nosqlbench.engine.api.activityapi.cyclelog.buffers.results.CycleArray
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInputSegment(int segmentLength) Return the next InputSegment available, or null if none were available.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.input.Input
isContiguous
-
Constructor Details
-
CycleArray
public CycleArray(long recycle, long... values)
-
-
Method Details
-
getInputSegment
Description copied from interface:InputReturn the next InputSegment available, or null if none were available. This method is required to be thread safe.All implementations of this method are required to be thread-safe.
- Specified by:
getInputSegmentin interfaceInput- Parameters:
segmentLength- The number of cycles (not necessarily contiguous) in the segment.- Returns:
- a segment, or null if none available.
-