Annotation Type Cacheable
-
@Retention(RUNTIME) @Target(METHOD) public @interface Cacheable
This annotation is applied to methods that may have their results cached using a Java dynamic proxy instance.@see
CachingProxy
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
duration
The duration amount of the entries after they are written to the result cachejava.lang.Class<? extends CachingProxy.KeyGenerator>
keyGeneratorClass
The class used to generate keys for entries in the result cacheint
maximumSize
The maximum size of the result cache before entries are evictedjava.time.temporal.ChronoUnit
unit
The duration unit of the entries after they are written to to the result cache
-
-
-
-
keyGeneratorClass
java.lang.Class<? extends CachingProxy.KeyGenerator> keyGeneratorClass
The class used to generate keys for entries in the result cache- Returns:
- the key generator class
- Default:
- org.linuxforhealth.fhir.cache.CachingProxy.KeyGenerator.class
-
-