Returns the maximum capacity of this cache, defined by the implementation.
This typically excludes the size of keys, metadata, or the journal, if any.