Package org.onebusaway.container.cache
-
Interface Summary Interface Description CacheableMethodKeyFactory Factory for producing aSerializable
cache key from aProceedingJoinPoint
method invocation.CacheableObjectKeyFactory Factory for producing aSerializable
cache key from a and arbitrary object. -
Class Summary Class Description CacheableAnnotationInterceptor Implements anAspect
aware interceptor that intercepts calls to methods annotated withCacheable
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 aCacheableMethodKeyFactory
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 aCacheKeyInfo
cache key from aProceedingJoinPoint
method invocation.DefaultCacheableObjectKeyFactory Factory for producing aSerializable
cache key from a and arbitrary object.PropertyPathExpressionCacheableObjectKeyFactory Factory for producing aSerializable
cache key from an arbitrary object by first applying a linkPropertyPathExpression
to the object and then applying a secondaryCacheableObjectKeyFactory
to the result. -
Annotation Types Summary Annotation Type Description 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 theCacheableMethodManager#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 withCacheable
.