@Service(value="blJCacheConfigurationBuilder") @ConditionalOnEhCache public class DefaultEhCacheConfigurationBuilder extends DefaultJCacheConfigurationBuilder
| Constructor and Description |
|---|
DefaultEhCacheConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> javax.cache.configuration.Configuration<K,V> |
buildConfiguration(int ttlSeconds,
int maxElementsInMemory,
Class<K> keyClass,
Class<V> valueClass)
Similar to
JCacheConfigurationBuilder.buildConfiguration(JCacheRegionConfiguration) however it requires more specifc arguments. |
buildConfigurationpublic <K,V> javax.cache.configuration.Configuration<K,V> buildConfiguration(int ttlSeconds,
int maxElementsInMemory,
Class<K> keyClass,
Class<V> valueClass)
JCacheConfigurationBuilderJCacheConfigurationBuilder.buildConfiguration(JCacheRegionConfiguration) however it requires more specifc arguments.
The purpose of this method was for internal Broadleaf usages where we're sending the exact argumentsbuildConfiguration in interface JCacheConfigurationBuilderbuildConfiguration in class DefaultJCacheConfigurationBuilderK - The key class of the ConfigurationV - The value class of the ConfigurationttlSeconds - The time to live for cache items in secondsmaxElementsInMemory - The maximum number of elments allowed in the cache. Note that in some JCache implementations this is not usedkeyClass - The key class of the ConfigurationvalueClass - The value class of the ConfigurationCopyright © 2022. All rights reserved.