Class ForwardingBlockingQueue<E>

java.lang.Object
dev.mccue.guava.collect.ForwardingObject
dev.mccue.guava.collect.ForwardingCollection<E>
dev.mccue.guava.collect.ForwardingQueue<E>
dev.mccue.guava.concurrent.ForwardingBlockingQueue<E>
Type Parameters:
E - the type of elements held in this collection
All Implemented Interfaces:
Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>

public abstract class ForwardingBlockingQueue<E> extends dev.mccue.guava.collect.ForwardingQueue<E> implements BlockingQueue<E>
A BlockingQueue which forwards all its method calls to another BlockingQueue. Subclasses should override one or more methods to modify the behavior of the backing collection as desired per the decorator pattern.

default method warning: This class does not forward calls to default methods. Instead, it inherits their default implementations. When those implementations invoke methods, they invoke methods on the ForwardingBlockingQueue.

Since:
4.0
Author:
Raimundo Mirisola