Package com.ibm.fhir.cache.annotation
Annotation Type Cacheable
-
@Retention(RUNTIME) @Target(METHOD) public @interface CacheableThis 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 intdurationThe duration amount of the entries after they are written to the result cachejava.lang.Class<? extends CachingProxy.KeyGenerator>keyGeneratorClassThe class used to generate keys for entries in the result cacheintmaximumSizeThe maximum size of the result cache before entries are evictedjava.time.temporal.ChronoUnitunitThe 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:
- com.ibm.fhir.cache.CachingProxy.KeyGenerator.class
-
-