Package org.eclipse.spi.net4j
Class Channel.SendQueue
- All Implemented Interfaces:
Serializable,Iterable<IBuffer>,Collection<IBuffer>,Queue<IBuffer>
- Enclosing class:
- Channel
A queue that holds buffers that shall be sent. This implementation notifies observers of enqueued and dequeued
buffers. The notification is deliberately not synchronized. It shall only be used by O&M tooling to offer (not 100%
accurate) statistical insights
- Since:
- 3.0
- Author:
- Eike Stepper
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.ConcurrentLinkedQueue
add, addAll, clear, contains, forEach, isEmpty, iterator, peek, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toStringMethods inherited from class java.util.AbstractQueue
element, removeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Constructor Details
-
SendQueue
protected SendQueue()
-
-
Method Details
-
offer
-
poll
-
remove
- Specified by:
removein interfaceCollection<IBuffer>- Overrides:
removein classConcurrentLinkedQueue<IBuffer>
-