E
- the type produced by this Producer
public class Producer<E> extends BlockingQueueAccessor<E>
Producer
creates a product via the BlockingQueueAccessor.put(Object)
, BlockingQueueAccessor.put(Object, long)
and
BlockingQueueAccessor.putWithTimeout(Object, long)
method and offers it to it's (unknown) Consumer
s via the BlockingQueueAccessor.get()
, BlockingQueueAccessor.get(long)
or BlockingQueueAccessor.getWithTimeout(long)
-method.Modifier | Constructor and Description |
---|---|
protected |
Producer() |
protected |
Producer(int queueSize) |
get, get, getBlockingQueue, getWithTimeout, put, put, putWithTimeout
Copyright © 2011–2020 aiticon GmbH. All rights reserved.