public class RingBuffer
extends java.lang.Object
Constructor and Description |
---|
RingBuffer(int maxItems) |
public void resize(int maxItems)
public int size()
public int getOverrunCounter()
public boolean isEmpty()
public boolean isFull()
public boolean put(java.lang.Object item)
public java.lang.Object get() throws java.lang.InterruptedException
java.lang.InterruptedException
public java.lang.Object peek()