Class FileBackedIntQueue

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Integer>, java.util.Collection<java.lang.Integer>, java.util.Queue<java.lang.Integer>

    public final class FileBackedIntQueue
    extends FileBackedQueue<java.lang.Integer>
    • Constructor Summary

      Constructors 
      Constructor Description
      FileBackedIntQueue​(int memoryCapacity, long filesystemCapacity)
      Erstellt eine neue Queue, die durch ein Dateisystem unterstützt wird und so recht groß werden kann.
    • Method Summary

      • Methods inherited from class java.util.AbstractQueue

        add, addAll, element, remove
      • Methods inherited from class java.util.AbstractCollection

        contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Constructor Detail

      • FileBackedIntQueue

        public FileBackedIntQueue​(int memoryCapacity,
                                  long filesystemCapacity)
        Erstellt eine neue Queue, die durch ein Dateisystem unterstützt wird und so recht groß werden kann.
        Parameters:
        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.