Class CacheConfigurationProperties

java.lang.Object
io.micronaut.eclipsestore.cache.CacheConfigurationProperties
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, CacheConfiguration

@ConfigurationProperties("eclipsestore.cache") public class CacheConfigurationProperties extends Object implements CacheConfiguration
Configuration for EclipseStore Cache module. CacheConfiguration and CacheConfigurationProperties exist to generate configuration reference documentation automatically. It uses a different class because EclipseStoreCacheConfigurationProperties is a EachProperty implementation.
Since:
1.3.0
Author:
Sergio del Amo
  • Field Details

    • DEFAULT_ENABLED

      public static final boolean DEFAULT_ENABLED
      Whether EclipseStore Cache module is enabled.
      See Also:
  • Constructor Details

    • CacheConfigurationProperties

      public CacheConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Whether EclipseStore Cache module is enabled. Default Value: true
      Parameters:
      enabled - Whether this cache is enabled.