Interface ConcurrentQueueProducer<E>
- All Known Implementing Classes:
ConcurrentQueueFactory.GenericQueue, MpmcArrayConcurrentQueueColdFields.Producer, MpscArrayConcurrentQueueColdFields.Producer, Producer
public interface ConcurrentQueueProducer<E>
-
Method Summary
-
Method Details
-
offer
- Parameters:
e-- Returns:
- true if e was successfully offered, false if queue is full
-
weakOffer
- Parameters:
e-- Returns:
- true if e was successfully offered, false if not able to offer (queue may not be full)
-
produce
-