public class LilithBuffer<T extends java.io.Serializable> extends de.huxhorn.sulky.buffers.BlockingCircularBuffer<EventWrapper<T>>
| Constructor and Description |
|---|
LilithBuffer(ApplicationPreferences applicationPreferences,
int bufferSize) |
LilithBuffer(ApplicationPreferences applicationPreferences,
int bufferSize,
int congestionDelay) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(EventWrapper<T> element) |
void |
addAll(EventWrapper<T>[] elements) |
void |
addAll(java.util.List<EventWrapper<T>> elements) |
clear, get, getAvailableElements, getBufferSize, getCongestionDelay, getOverflowCounter, getRelative, getSize, isEmpty, isFull, iterator, removeAll, removeFirst, reset, setCongestionDelay, setRelativepublic LilithBuffer(ApplicationPreferences applicationPreferences, int bufferSize, int congestionDelay)
public LilithBuffer(ApplicationPreferences applicationPreferences, int bufferSize)
public void add(EventWrapper<T> element)
add in interface de.huxhorn.sulky.buffers.AppendOperation<EventWrapper<T extends java.io.Serializable>>add in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<EventWrapper<T extends java.io.Serializable>>public void addAll(java.util.List<EventWrapper<T>> elements)
addAll in interface de.huxhorn.sulky.buffers.AppendOperation<EventWrapper<T extends java.io.Serializable>>addAll in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<EventWrapper<T extends java.io.Serializable>>public void addAll(EventWrapper<T>[] elements)
addAll in interface de.huxhorn.sulky.buffers.AppendOperation<EventWrapper<T extends java.io.Serializable>>addAll in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<EventWrapper<T extends java.io.Serializable>>