public final class ConcurrentConveyorSingleQueue<E> extends ConcurrentConveyor<E>
ConcurrentConveyor to a single queue.SUBMIT_IDLER, SUBMIT_MAX_PARK_MICROS, SUBMIT_SPIN_COUNT, SUBMIT_YIELD_COUNT| Modifier and Type | Method and Description | 
|---|---|
| static <E1> ConcurrentConveyorSingleQueue<E1> | concurrentConveyorSingleQueue(E1 submitterGoneItem,
                             QueuedPipe<E1> queue)Creates a new concurrent conveyor with a single queue. | 
| boolean | offer(E item)Offers an item to the queue. | 
| void | submit(E item)Submits an item to the queue. | 
awaitDrainerGone, backpressureOff, backpressureOn, checkDrainerGone, concurrentConveyor, drainerArrived, drainerDone, drainerFailed, drainTo, drainTo, drainTo, drainTo, isDrainerGone, offer, offer, queue, queueCount, removeQueue, submit, submitterGoneItempublic static <E1> ConcurrentConveyorSingleQueue<E1> concurrentConveyorSingleQueue(E1 submitterGoneItem, QueuedPipe<E1> queue)
submitterGoneItem - the object that a submitter thread can use to signal it's done submittingqueue - the concurrent queue the conveyor will managepublic boolean offer(E item) throws ConcurrentConveyorException
ConcurrentConveyorException - if the draining thread has already leftpublic void submit(E item) throws ConcurrentConveyorException
ConcurrentConveyorException - if the current thread is interrupted or the draining thread has already leftCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.