public class LilithBuffer<T extends java.io.Serializable>
extends de.huxhorn.sulky.buffers.BlockingCircularBuffer<de.huxhorn.lilith.data.eventsource.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(de.huxhorn.lilith.data.eventsource.EventWrapper<T> element) |
void |
addAll(de.huxhorn.lilith.data.eventsource.EventWrapper<T>[] elements) |
void |
addAll(java.util.List<de.huxhorn.lilith.data.eventsource.EventWrapper<T>> elements) |
clear, get, getAvailableElements, getBufferSize, getCongestionDelay, getOverflowCounter, getRelative, getSize, isEmpty, isFull, iterator, removeAll, removeFirst, reset, setCongestionDelay, setRelative
public LilithBuffer(ApplicationPreferences applicationPreferences, int bufferSize, int congestionDelay)
public LilithBuffer(ApplicationPreferences applicationPreferences, int bufferSize)
public void add(de.huxhorn.lilith.data.eventsource.EventWrapper<T> element)
add
in interface de.huxhorn.sulky.buffers.AppendOperation<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>
add
in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>
public void addAll(java.util.List<de.huxhorn.lilith.data.eventsource.EventWrapper<T>> elements)
addAll
in interface de.huxhorn.sulky.buffers.AppendOperation<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>
addAll
in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>
public void addAll(de.huxhorn.lilith.data.eventsource.EventWrapper<T>[] elements)
addAll
in interface de.huxhorn.sulky.buffers.AppendOperation<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>
addAll
in class de.huxhorn.sulky.buffers.BlockingCircularBuffer<de.huxhorn.lilith.data.eventsource.EventWrapper<T extends java.io.Serializable>>