Class DefaultCacheFactory

java.lang.Object
org.camunda.bpm.engine.impl.persistence.deploy.cache.DefaultCacheFactory
All Implemented Interfaces:
CacheFactory

public class DefaultCacheFactory extends Object implements CacheFactory

Provides the default cache implementation for the deployment caches see DeploymentCache.

Author:
Johannes Heinemann
  • Constructor Details

    • DefaultCacheFactory

      public DefaultCacheFactory()
  • Method Details

    • createCache

      public <T> Cache<String,T> createCache(int maxNumberOfElementsInCache)
      Description copied from interface: CacheFactory
      Creates a cache that does not exceed a specified number of elements.
      Specified by:
      createCache in interface CacheFactory
      Parameters:
      maxNumberOfElementsInCache - The maximum number of elements that is allowed within the cache at the same time.
      Returns:
      The cache to be created.