public class WorkManagerImpl.NuxeoLinkedBlockingQueue<T> extends LinkedBlockingQueue<T>
Constructor and Description |
---|
WorkManagerImpl.NuxeoLinkedBlockingQueue(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
limitedPut(T e)
Block until there are enough remaining capacity to put the entry.
|
boolean |
offer(T e) |
clear, contains, drainTo, drainTo, iterator, offer, peek, poll, poll, put, remainingCapacity, remove, size, take, toArray, toArray, toString
add, addAll, element, remove
containsAll, isEmpty, removeAll, retainAll
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll
public WorkManagerImpl.NuxeoLinkedBlockingQueue(int capacity)
public void limitedPut(T e) throws InterruptedException
InterruptedException
public boolean offer(T e)
offer
in interface BlockingQueue<T>
offer
in interface Queue<T>
offer
in class LinkedBlockingQueue<T>
Copyright © 2013 Nuxeo SA. All Rights Reserved.