public final class FileBackedShortQueue extends FileBackedQueue<Short>
| Constructor and Description |
|---|
FileBackedShortQueue(int memoryCapacity,
long filesystemCapacity)
Erstellt eine neue Queue, die durch ein Dateisystem unterstützt wird und so recht groß werden kann.
|
clear, getDiskCapacity, getDiskUsed, getMemoryCapacity, getMemoryUsed, iterator, offer, peek, poll, size, toStringadd, addAll, element, removecontains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArraypublic FileBackedShortQueue(int memoryCapacity,
long filesystemCapacity)
memoryCapacity - Wie viel Speicher in Bytes maximal im Arbeitsspeicher gehalten werden sollen.filesystemCapacity - Wie viel Speicher in Bytes maximal im Dateisystem gehalten werden sollen. Es handelt sich um einen Richtwert, der geringfügig
überschritten werden kann.