T - Type of item this acceptor will receivepublic static interface BlockingQueueConsumer.ConsumerAcceptor<T>
BlockingQueueConsumer.| Modifier and Type | Method and Description |
|---|---|
void |
acceptConsumedItem(T item)
Called when ever the queue consumer has removed an item from the queue.
|
void acceptConsumedItem(T item) throws java.lang.Exception
item - Object that was removed from the queuejava.lang.Exception - possible exception that could be thrown