I need an Object to be asynchronously notified when some BlockingQueue has got an item to give.
Object
BlockingQueue
I\'ve searched both Javadoc and the web for a p
Perhaps you could subclass some BlockingQueue (such as ArrayBlockingQueue or LinkedBlockingQueue or what ever you're using), add support for listeners and do
ArrayBlockingQueue
LinkedBlockingQueue
@Override public boolean add(E o) { super.add(o); notifyListeners(o); }