Package com.iplanet.dpro.session.service
Class QuotaExhaustionActionImpl.SetBlockingQueue<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- java.util.concurrent.LinkedBlockingQueue<T>
-
- com.iplanet.dpro.session.service.QuotaExhaustionActionImpl.SetBlockingQueue<T>
-
- All Implemented Interfaces:
Serializable
,Iterable<T>
,Collection<T>
,BlockingQueue<T>
,Queue<T>
- Enclosing class:
- QuotaExhaustionActionImpl
public static class QuotaExhaustionActionImpl.SetBlockingQueue<T> extends LinkedBlockingQueue<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetBlockingQueue(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(T t)
T
take()
-
Methods inherited from class java.util.concurrent.LinkedBlockingQueue
clear, contains, drainTo, drainTo, forEach, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toString
-
Methods inherited from class java.util.AbstractQueue
addAll, element, remove
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, parallelStream, stream, toArray
-
-
-
-
Method Detail
-
add
public boolean add(T t)
- Specified by:
add
in interfaceBlockingQueue<T>
- Specified by:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceQueue<T>
- Overrides:
add
in classAbstractQueue<T>
-
take
public T take() throws InterruptedException
- Specified by:
take
in interfaceBlockingQueue<T>
- Overrides:
take
in classLinkedBlockingQueue<T>
- Throws:
InterruptedException
-
-