Class ConcatSequencer<T>
java.lang.Object
io.nosqlbench.engine.api.activityapi.planning.ConcatSequencer<T>
- Type Parameters:
T- The type of op or element being sequenced
- All Implemented Interfaces:
ElementSequencer<T>
public class ConcatSequencer<T> extends java.lang.Object implements ElementSequencer<T>
This sequencer just repeats a number of elements, one element after
another.
-
Constructor Summary
Constructors Constructor Description ConcatSequencer() -
Method Summary
Modifier and Type Method Description int[]seqIndexByRatioFunc(java.util.List<T> elems, java.util.function.ToLongFunction<T> ratioFunc)int[]seqIndexesByRatios(java.util.List<T> elems, java.util.List<java.lang.Long> ratios)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.planning.ElementSequencer
seqElementsByRatioFunc, sequenceSummary
-
Constructor Details
-
ConcatSequencer
public ConcatSequencer()
-
-
Method Details
-
seqIndexByRatioFunc
public int[] seqIndexByRatioFunc(java.util.List<T> elems, java.util.function.ToLongFunction<T> ratioFunc)- Specified by:
seqIndexByRatioFuncin interfaceElementSequencer<T>
-
seqIndexesByRatios
- Specified by:
seqIndexesByRatiosin interfaceElementSequencer<T>
-