In order to determine whether a given cache is full, the cache must evaluate the value of
each item, and compare that total to a configured max value. This interface provides a method
for assigning values to the objects in a cache. This would typically either be a simple count
(each object is worth 1), or a size of the object (each object's value is equal to the number
of bytes it consumes).