Class EhcacheModuleSettings

java.lang.Object
com.foreach.across.modules.ehcache.EhcacheModuleSettings

@Exposed @ConfigurationProperties("ehcache-module") public class EhcacheModuleSettings extends Object
  • Field Details

  • Constructor Details

    • EhcacheModuleSettings

      public EhcacheModuleSettings()
  • Method Details

    • getConfigurationResource

      public org.springframework.core.io.Resource getConfigurationResource()
    • setConfigurationResource

      public void setConfigurationResource(org.springframework.core.io.Resource configurationResource)
    • isShowCacheEntries

      public boolean isShowCacheEntries()
      This shows the number of entries for each cache in the cache list page, and the list of entries in the cache detail page. This comes at the cost of an increased hits counter and hit ratio, so this is disabled by default.
    • isAlwaysDetermineCacheSize

      public boolean isAlwaysDetermineCacheSize()
      This determines the number of entries in a cache, by iterating over them if not natively supported by the cache. This comes at the cost of an increased hits counter and hit ratio, so this is disabled by default.
    • setShowCacheEntries

      public void setShowCacheEntries(boolean showCacheEntries)
      This shows the number of entries for each cache in the cache list page, and the list of entries in the cache detail page. This comes at the cost of an increased hits counter and hit ratio, so this is disabled by default.
    • setAlwaysDetermineCacheSize

      public void setAlwaysDetermineCacheSize(boolean alwaysDetermineCacheSize)
      This determines the number of entries in a cache, by iterating over them if not natively supported by the cache. This comes at the cost of an increased hits counter and hit ratio, so this is disabled by default.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object