@InterfaceAudience.Private @InterfaceStability.Stable public class BoundedConcurrentLinkedQueue<T> extends ConcurrentLinkedQueue<T>
Constructor and Description |
---|
BoundedConcurrentLinkedQueue() |
BoundedConcurrentLinkedQueue(long maxSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
void |
drainTo(Collection<T> list) |
boolean |
offer(T e) |
T |
poll() |
long |
remainingCapacity() |
boolean |
remove(Object o) |
int |
size() |
add, contains, isEmpty, iterator, peek, toArray, toArray
element, remove
containsAll, removeAll, retainAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, removeAll, retainAll
public BoundedConcurrentLinkedQueue()
public BoundedConcurrentLinkedQueue(long maxSize)
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
addAll
in class ConcurrentLinkedQueue<T>
public void clear()
clear
in interface Collection<T>
clear
in class AbstractQueue<T>
public boolean offer(T e)
public T poll()
public boolean remove(Object o)
remove
in interface Collection<T>
remove
in class ConcurrentLinkedQueue<T>
public int size()
size
in interface Collection<T>
size
in class ConcurrentLinkedQueue<T>
public void drainTo(Collection<T> list)
public long remainingCapacity()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.