Class CacheConfigurationProperties

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

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

    • DEFAULT_ENABLED

      public static final boolean DEFAULT_ENABLED
      Whether MicroStream 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 MicroStream Cache module is enabled. Default Value: true
      Parameters:
      enabled - Whether this cache is enabled.