de.javakaffee.simplequeue
Interface Consumer<T>


public interface Consumer<T>

A queue consumer, ca be used for RichBDBQueue.consume(Consumer). Created on Jun 27, 2011

Author:
Martin Grotzke (initial creation)

Method Summary
 boolean consume(T item)
          Consume the given item.
 

Method Detail

consume

boolean consume(T item)
Consume the given item.

Parameters:
item - the item to handle.
Returns:
true if the item was processed successfully and shall be removed from the queue.


Copyright © 2010-2011. All Rights Reserved.