Class FileBackedIntQueue

All Implemented Interfaces:
Iterable<Integer>, Collection<Integer>, Queue<Integer>

public final class FileBackedIntQueue extends FileBackedQueue<Integer>
  • Constructor Details

    • 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.