Package org.onebusaway.container.cache

Interface Summary
CacheableMethodKeyFactory Factory for producing a Serializable cache key from a ProceedingJoinPoint method invocation.
CacheableObjectKeyFactory Factory for producing a Serializable cache key from a and arbitrary object.
 

Class Summary
CacheableAnnotationInterceptor Implements an Aspect aware interceptor that intercepts calls to methods annotated with Cacheable and returns a cached result when available or calls the underlying method when not.
CacheableMethodKeyFactoryManager Support class that determines the caching policy for a particular method by producing a CacheableMethodKeyFactory for that method.
CacheableMethodManager Support class providing functionality for caching the output of arbitrary method calls, using the arguments to the method to generate the cache key.
CacheKeyInfo Encapsulates cache key information, including the cache key for a particular method call and whether the cache should be refreshed for a particular method call.
DefaultCacheableKeyFactory Factory for producing a CacheKeyInfo cache key from a ProceedingJoinPoint method invocation.
DefaultCacheableObjectKeyFactory Factory for producing a Serializable cache key from a and arbitrary object.
PropertyPathExpressionCacheableObjectKeyFactory Factory for producing a Serializable cache key from an arbitrary object by first applying a link PropertyPathExpression to the object and then applying a secondary CacheableObjectKeyFactory to the result.
 

Annotation Types Summary
Cacheable A method annotation that indicates that the results method are cacheable, using the arguments to the method as the cache key.
CacheableArgument A method parameter annotation that is used to further control how method cache keys are generated by the CacheableMethodManager#getKeyFactoryForParameterType(Class, boolean)
CacheableKey Type annotation indicating how a particular object should be used to generate a cache key when used as an argument to a method annotated with Cacheable.
 



Copyright © 2011 OneBusAway. All Rights Reserved.