Interface CacheFactory
- All Known Implementing Classes:
DefaultCacheFactory
public interface CacheFactory
Builds the caches for the DeploymentCache
.
-
Method Summary
Modifier and TypeMethodDescriptioncreateCache
(int maxNumberOfElementsInCache) Creates a cache that does not exceed a specified number of elements.
-
Method Details
-
createCache
Creates a cache that does not exceed a specified number of elements.- Parameters:
maxNumberOfElementsInCache
- The maximum number of elements that is allowed within the cache at the same time.- Returns:
- The cache to be created.
-