maxPages property
Maximum number of pages to keep in memory at any one time.
null(default) — keep all pages, no limit.N > 0— when a new page is fetched and the total exceeds N, the oldest page is evicted. For fetchNextPage the first (oldest) page is dropped; for fetchPreviousPage the last page is dropped.
Implementation
final int? maxPages;