public class DefaultCacheFactory extends Object implements CacheFactory
Provides the default cache implementation for the deployment caches see DeploymentCache
.
Constructor and Description |
---|
DefaultCacheFactory() |
Modifier and Type | Method and Description |
---|---|
<T> org.camunda.commons.utils.cache.Cache<String,T> |
createCache(int maxNumberOfElementsInCache)
Creates a cache that does not exceed a specified number of elements.
|
public <T> org.camunda.commons.utils.cache.Cache<String,T> createCache(int maxNumberOfElementsInCache)
CacheFactory
createCache
in interface CacheFactory
maxNumberOfElementsInCache
- The maximum number of elements that is allowed within the cache at the same time.Copyright © 2018. All rights reserved.