org.camunda.bpm.engine.impl.persistence.deploy.cache
Interface CacheFactory

All Known Implementing Classes:
DefaultCacheFactory

public interface CacheFactory

Builds the caches for the DeploymentCache.


Method Summary
<T> org.camunda.commons.utils.cache.Cache<String,T>
createCache(int maxNumberOfElementsInCache)
          Creates a cache that does not exceed a specified number of elements.
 

Method Detail

createCache

<T> org.camunda.commons.utils.cache.Cache<String,T> createCache(int maxNumberOfElementsInCache)
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.


Copyright © 2017 camunda services GmbH. All rights reserved.