ZODB.Architecture.DB.getCacheSize

Documentation
Set the target cache size. This is not a limit. It controls how aggressively to scan non-version connection caches to find objects to be removed.
Returns
PyIntA target cache size in number of objects.