Class PageWindowManager

All Implemented Interfaces:

public class PageWindowManager extends Object implements Serializable
Manages positions and size of chunks of data in a file.

The data is stored inside the file in a cyclic way. Newer pages are placed after older ones, until the maximum file size is reached. After that, the next page is stored in the beginning of the file.

Matej Knopp
See Also:
  • Constructor Details

    • PageWindowManager

      public PageWindowManager(long maxSize)
      Creates a new PageWindowManager.
      maxSize - maximum page size. After this size is exceeded, the pages will be saved starting at the beginning of file
  • Method Details