Class EhcacheConfiguration.HeapTieredCacheConfiguration
java.lang.Object
io.micronaut.cache.ehcache.configuration.AbstractResourcePoolConfiguration
io.micronaut.cache.ehcache.configuration.EhcacheConfiguration.HeapTieredCacheConfiguration
- Enclosing class:
- EhcacheConfiguration
@ConfigurationProperties("heap")
public static class EhcacheConfiguration.HeapTieredCacheConfiguration
extends AbstractResourcePoolConfiguration
Heap tier configuration properties.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaxEntries
(Long maxEntries) void
setSizeOfMaxObjectSize
(Long sizeOfMaxObjectSize) Methods inherited from class io.micronaut.cache.ehcache.configuration.AbstractResourcePoolConfiguration
getMaxSize, setMaxSize
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
HeapTieredCacheConfiguration
public HeapTieredCacheConfiguration()
-
-
Method Details
-
getMaxEntries
- Returns:
- The maximum number of entries
-
setMaxEntries
- Parameters:
maxEntries
- The maximum number of entries
-
getSizeOfMaxObjectSize
- Returns:
- The maximum size of a single object
-
setSizeOfMaxObjectSize
- Parameters:
sizeOfMaxObjectSize
- The maximum size of a single object
-