Package org.onebusaway.container.cache
Annotation Type CacheableArgument
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface CacheableArgument
A method parameter annotation that is used to further control how method cache keys are generated by theCacheableMethodManager#getKeyFactoryForParameterType(Class, boolean)- Author:
- bdferris
- See Also:
CacheableAnnotationInterceptor,CacheableMethodKeyFactory,CacheableMethodManager
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleancacheRefreshIndicatorStringkeyPropertyA bean property expression that is evaluated against the source method argument to produce a cache key for that argument
-
-
-
Element Detail
-
keyProperty
String keyProperty
A bean property expression that is evaluated against the source method argument to produce a cache key for that argument- Returns:
- a
Serializableor something whoseObject.toString()produces a unique value
- Default:
- ""
-
-