Class FileBackedShortQueue

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

public final class FileBackedShortQueue extends FileBackedQueue<Short>
  • Constructor Details

    • FileBackedShortQueue

      public FileBackedShortQueue(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.