QueueCursor instead@Deprecated public class QueueCursor<E> extends QueueCursor<E>
QueueIteration.done() and QueueIteration.toss(Exception) and
 automatically converting the exception into a QueryEvaluationException with an appropriate stack trace.| Constructor and Description | 
|---|
| QueueCursor(int capacity)Deprecated.  Creates an QueueCursor with the given (fixed) capacity and default access policy. | 
| QueueCursor(int capacity,
           boolean fair)Deprecated.  Creates an QueueCursor with the given (fixed) capacity and the specified access policy. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected QueryEvaluationException | convert(Exception e)Deprecated.  Converts an exception from the underlying iteration to an exception of type X. | 
checkException, done, getNextElement, handleClose, put, tosshasNext, next, removeclose, isClosedpublic QueueCursor(int capacity)
capacity - the capacity of this queuepublic QueueCursor(int capacity,
                   boolean fair)
capacity - the capacity of this queuefair - if true then queue accesses for threads blocked on insertion or removal, are processed
                 in FIFO order; if false the access order is unspecified.protected QueryEvaluationException convert(Exception e)
QueueIterationconvert in class QueueCursor<E>Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.