Class AbstractResourcePoolConfiguration

java.lang.Object
io.micronaut.cache.ehcache.configuration.AbstractResourcePoolConfiguration
Direct Known Subclasses:
EhcacheClusterResourcePoolConfiguration, EhcacheConfiguration.ClusteredDedicatedResourcePoolConfiguration, EhcacheConfiguration.DiskTieredCacheConfiguration, EhcacheConfiguration.HeapTieredCacheConfiguration, EhcacheConfiguration.OffheapTieredCacheConfiguration

public abstract class AbstractResourcePoolConfiguration extends Object
Common resource pools configuration properties.
  • Constructor Details

    • AbstractResourcePoolConfiguration

      public AbstractResourcePoolConfiguration()
  • Method Details

    • getMaxSize

      public Long getMaxSize()
      Returns:
      The maximum size of the cache, in bytes
    • setMaxSize

      public void setMaxSize(@ReadableBytes Long maxSize)
      Parameters:
      maxSize - The maximum size of the cache, in bytes