True if the cache holds dirty pages waiting for commit.
bool get hasUncommittedChanges => _dirty.isNotEmpty;