Uses of Interface
org.cache2k.io.ResiliencePolicy
-
Packages that use ResiliencePolicy Package Description org.cache2k Main package for cache2k API containing functions to build and access a cache.org.cache2k.config The cache configuration as a Java bean and support types.org.cache2k.io Loader and writer to integrate with external data sources. -
-
Uses of ResiliencePolicy in org.cache2k
Methods in org.cache2k with parameters of type ResiliencePolicy Modifier and Type Method Description Cache2kBuilder<K,V>
Cache2kBuilder. resiliencePolicy(ResiliencePolicy<? super K,? super V> v)
Sets a custom resilience policy to control the cache behavior in the presence of exceptions from the loader.Method parameters in org.cache2k with type arguments of type ResiliencePolicy Modifier and Type Method Description Cache2kBuilder<K,V>
Cache2kBuilder. resiliencePolicy(CustomizationSupplier<? extends ResiliencePolicy<? super K,? super V>> v)
-
Uses of ResiliencePolicy in org.cache2k.config
Methods in org.cache2k.config that return types with arguments of type ResiliencePolicy Modifier and Type Method Description @Nullable CustomizationSupplier<? extends ResiliencePolicy<? super K,? super V>>
Cache2kConfig. getResiliencePolicy()
Method parameters in org.cache2k.config with type arguments of type ResiliencePolicy Modifier and Type Method Description void
Cache2kConfig. setResiliencePolicy(@Nullable CustomizationSupplier<? extends ResiliencePolicy<? super K,? super V>> v)
-
Uses of ResiliencePolicy in org.cache2k.io
Fields in org.cache2k.io declared as ResiliencePolicy Modifier and Type Field Description static ResiliencePolicy<?,?>
ResiliencePolicy. DISABLED_POLICY
A policy always returning zero, thus disabling resilience features.Methods in org.cache2k.io that return ResiliencePolicy Modifier and Type Method Description static <K,V>
ResiliencePolicy<K,V>ResiliencePolicy. disabledPolicy()
-