Class CompareResultWithPageOverflow

All Implemented Interfaces:
CompareResult, ResultCollector

public class CompareResultWithPageOverflow extends AbstractCompareResultWithSwap
This CompareResult monitors the number of pages in the result. When a threshold is reached, the pages are swapped to disk.
  • Constructor Details

    • CompareResultWithPageOverflow

      public CompareResultWithPageOverflow()
      Defaults to swap to disk, when more than 10 pages are stored.
    • CompareResultWithPageOverflow

      public CompareResultWithPageOverflow(int maxPages)
      Swaps to disk, when more than the given pages are in memory.
      Parameters:
      maxPages - the maximum amount of pages to keep in memory
  • Method Details