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