public class RamAccountingQueue<T>
extends com.google.common.collect.ForwardingQueue<T>
Constructor and Description |
---|
RamAccountingQueue(java.util.Queue<T> delegate,
org.elasticsearch.common.breaker.CircuitBreaker breaker,
SizeEstimator<T> sizeEstimator) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected java.util.Queue<T> |
delegate() |
boolean |
offer(T o) |
element, peek, poll, remove, standardOffer, standardPeek, standardPoll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public RamAccountingQueue(java.util.Queue<T> delegate, org.elasticsearch.common.breaker.CircuitBreaker breaker, SizeEstimator<T> sizeEstimator)