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 Details

  • Constructor Details

    • HeapTieredCacheConfiguration

      public HeapTieredCacheConfiguration()
  • Method Details

    • getMaxEntries

      public Long getMaxEntries()
      Returns:
      The maximum number of entries
    • setMaxEntries

      public void setMaxEntries(Long maxEntries)
      Parameters:
      maxEntries - The maximum number of entries
    • getSizeOfMaxObjectSize

      public Long getSizeOfMaxObjectSize()
      Returns:
      The maximum size of a single object
    • setSizeOfMaxObjectSize

      public void setSizeOfMaxObjectSize(@ReadableBytes Long sizeOfMaxObjectSize)
      Parameters:
      sizeOfMaxObjectSize - The maximum size of a single object