Class DefaultCacheFactory
java.lang.Object
org.operaton.bpm.engine.impl.persistence.deploy.cache.DefaultCacheFactory
- All Implemented Interfaces:
CacheFactory
Provides the default cache implementation for the deployment caches see DeploymentCache.
- Author:
- Johannes Heinemann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCache(int maxNumberOfElementsInCache) Creates a cache that does not exceed a specified number of elements.
-
Constructor Details
-
DefaultCacheFactory
public DefaultCacheFactory()
-
-
Method Details
-
createCache
Description copied from interface:CacheFactoryCreates a cache that does not exceed a specified number of elements.- Specified by:
createCachein interfaceCacheFactory- Parameters:
maxNumberOfElementsInCache- The maximum number of elements that is allowed within the cache at the same time.- Returns:
- The cache to be created.
-