public class RingBuffer
extends java.lang.Object
| Constructor and Description |
|---|
RingBuffer(int maxItems) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get() |
int |
getOverrunCounter() |
boolean |
isEmpty() |
boolean |
isFull() |
java.lang.Object |
peek() |
boolean |
put(java.lang.Object item) |
void |
resize(int maxItems) |
int |
size() |
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.InterruptedExceptionpublic java.lang.Object peek()