Statements (38)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:interface
|
| gptkbp:author |
Doug Lea (contributor to java.util.concurrent)
|
| gptkbp:definedIn |
gptkb:java.util.concurrent_package
|
| gptkbp:feature |
thread safety
FIFO ordering (for most implementations) blocking operations capacity restrictions |
| gptkbp:implementingClass |
ArrayBlockingQueue
DelayQueue LinkedBlockingQueue PriorityBlockingQueue SynchronousQueue LinkedTransferQueue |
| gptkbp:introducedIn |
gptkb:Java_5
|
| gptkbp:mayInclude |
null elements
|
| gptkbp:method |
element()
remove() size() add(E e) contains(Object o) isEmpty() iterator() drainTo(Collection<? super E> c) offer(E e) peek() poll() put(E e) remainingCapacity() take() drainTo(Collection<? super E> c, int maxElements) |
| gptkbp:superclass |
gptkb:Queue_interface
|
| gptkbp:usedFor |
thread-safe data exchange
|
| gptkbp:usedIn |
thread pools
producer-consumer scenarios work queues |
| gptkbp:bfsParent |
gptkb:Java_Collections
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
BlockingQueue interface
|