Package org.onebusaway.container.cache
-
Interface Summary Interface Description CacheableMethodKeyFactory Factory for producing aSerializablecache key from aProceedingJoinPointmethod invocation.CacheableObjectKeyFactory Factory for producing aSerializablecache key from a and arbitrary object. -
Class Summary Class Description CacheableAnnotationInterceptor Implements anAspectaware interceptor that intercepts calls to methods annotated withCacheableand 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 aCacheableMethodKeyFactoryfor 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 aCacheKeyInfocache key from aProceedingJoinPointmethod invocation.DefaultCacheableObjectKeyFactory Factory for producing aSerializablecache key from a and arbitrary object.PropertyPathExpressionCacheableObjectKeyFactory Factory for producing aSerializablecache key from an arbitrary object by first applying a linkPropertyPathExpressionto the object and then applying a secondaryCacheableObjectKeyFactoryto 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.