public final class FileBackedStringQueue extends FileBackedQueue<String>
| Constructor and Description |
|---|
FileBackedStringQueue(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 FileBackedStringQueue(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.