java.lang.Iterable<java.lang.Short>
, java.util.Collection<java.lang.Short>
, java.util.Queue<java.lang.Short>
public final class FileBackedShortQueue extends FileBackedQueue<java.lang.Short>
Constructor | Description |
---|---|
FileBackedShortQueue(int memoryCapacity,
long filesystemCapacity) |
Erstellt eine neue Queue, die durch ein Dateisystem unterstützt wird und so recht groß werden kann.
|
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
clear, getDiskCapacity, getDiskUsed, getMemoryCapacity, getMemoryUsed, iterator, offer, peek, poll, size, toString
public 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.