public class ArrayDocumentQueue extends ArrayBlockingQueue<TikaDocument> implements DocumentQueue
DocumentQueue using an array as a backend.| Constructor and Description |
|---|
ArrayDocumentQueue(int capacity)
Instantiate a new
ArrayPathQueue with the given capacity. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
add, clear, contains, drainTo, drainTo, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, size, spliterator, take, toArray, toArray, toStringaddAll, element, removecontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, takeaddAll, clear, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraypublic ArrayDocumentQueue(int capacity)
ArrayPathQueue with the given capacity.capacity - the capacity of the queuepublic void close()
close in interface AutoCloseableCopyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.