public final class FileBackedIntQueue extends FileBackedQueue<Integer>
Constructor and Description |
---|
FileBackedIntQueue(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, toString
add, addAll, element, remove
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
public FileBackedIntQueue(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.