Class SynchronizedQueue<E>

java.lang.Object
org.apache.mina.util.SynchronizedQueue<E>
Type Parameters:
E - The type of elements stored in the queue
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Queue<E>

public class SynchronizedQueue<E> extends Object implements Queue<E>, Serializable
A decorator that makes the specified Queue thread-safe. Like any other synchronizing wrappers, iteration is not thread-safe.
See Also: