cacheCapacity property

int cacheCapacity
final

Maximum number of resident pages. Must be at least 1. When the cache is full and a new page is faulted in, the least-recently-used clean page is evicted; if every cached page is dirty we flush a partial commit (writing dirty pages out under the journal) so we can keep going.

Implementation

final int cacheCapacity;