Class EhcacheModuleSettings
java.lang.Object
com.foreach.across.modules.ehcache.EhcacheModuleSettings
@Exposed
@ConfigurationProperties("ehcache-module")
public class EhcacheModuleSettings
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.springframework.core.io.ResourceinthashCode()booleanThis determines the number of entries in a cache, by iterating over them if not natively supported by the cache.booleanThis shows the number of entries for each cache in the cache list page, and the list of entries in the cache detail page.voidsetAlwaysDetermineCacheSize(boolean alwaysDetermineCacheSize) This determines the number of entries in a cache, by iterating over them if not natively supported by the cache.voidsetConfigurationResource(org.springframework.core.io.Resource configurationResource) voidsetShowCacheEntries(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.toString()
-
Field Details
-
CONFIGURATION_RESOURCE
- See Also:
-
CONFIGURATION_OBJECT
- See Also:
-
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-