public final class FileBackedLongQueue extends FileBackedQueue<java.lang.Long>
Constructor and Description |
---|
FileBackedLongQueue(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
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public FileBackedLongQueue(int memoryCapacity, long filesystemCapacity)
Erstellt eine neue Queue, die durch ein Dateisystem unterstützt wird und so recht groß werden kann.
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.