Class Buffer<T extends Comparable>
java.lang.Object
io.nosqlbench.engine.api.activityapi.cyclelog.buffers.Buffer<T>
- Type Parameters:
T- The type held in this buffer
- Direct Known Subclasses:
StrideTracker
This is a lightweight buffer implementation that allows for buffer
flipping and callbacks when the buffer is full.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
-
-
Constructor Details
-
Buffer
public Buffer(int size)
-
-
Method Details
-
onFull
protected void onFull() -
compare
-
remaining
public int remaining() -
put
-
getFlippedData
-
toString
-