Class EhcacheModuleSettings
java.lang.Object
com.foreach.across.modules.ehcache.EhcacheModuleSettings
@Exposed
@ConfigurationProperties("ehcache-module")
public class EhcacheModuleSettings
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.springframework.core.io.Resource
int
hashCode()
boolean
This determines the number of entries in a cache, by iterating over them if not natively supported by the cache.boolean
This shows the number of entries for each cache in the cache list page, and the list of entries in the cache detail page.void
setAlwaysDetermineCacheSize
(boolean alwaysDetermineCacheSize) This determines the number of entries in a cache, by iterating over them if not natively supported by the cache.void
setConfigurationResource
(org.springframework.core.io.Resource configurationResource) 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.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
-