Packagecom.whirled.contrib.cache
Classpublic class ObjectCountEvaluator
ImplementsCacheObjectEvaluator

A simple implementation of CacheObjectEvaluator that gives each object a value of 1 so that the cache in question is strictly evaluating its state based on the number of objects it contains.



Public Methods
 MethodDefined by
  
getValue(obj:Object):int
ObjectCountEvaluator
Method detail
getValue()method
public function getValue(obj:Object):intParameters
obj:Object

Returns
int