Returns whether objects stored in this cache which
implement the NSDiscardableContent protocol are
removed from the cache when their contents are
evicted.
Sets the maximum number of objects permitted in this
cache. This limit is advisory; caches may choose to
disregard it temporarily or permanently. A limit
of 0 is used to indicate no limit; this is the default.
Adds an object and its associated cost. The cache will
endeavor to keep the total cost below the value
set with
-setTotalCostLimit:
by discarding the contents of objects which implement
the NSDiscardableContent protocol.
Sets the maximum total cost for objects stored in this
cache. This limit is advisory; caches may choose to
disregard it temporarily or permanently. A limit
of 0 is used to indicate no limit; this is the default.