public interface CacheConfiguration
| Modifier and Type | Method and Description |
|---|---|
Duration |
getCacheDuration()
Returns the duration of the expire after write property of the cache.
|
int |
getCacheSize()
Returns the number of elements the cache can hold.
|
default boolean |
isCacheDisabled()
Caching is disabled when this returns
true. |
default boolean |
isCacheStatisticsEnabled()
Returns
true if cache statistics recording has been enabled. |
Duration getCacheDuration()
int getCacheSize()
default boolean isCacheDisabled()
true.true if cache is disableddefault boolean isCacheStatisticsEnabled()
true if cache statistics recording has been enabled. If it is
enabled, cache statistics might be obtained from the Cacheable.true if cache statistics is enabledCopyright © 2024. All rights reserved.