All Known Implementing Classes:
DefaultCacheFactory

public interface CacheFactory

Builds the caches for the DeploymentCache.

  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Cache<String,T>
    createCache(int maxNumberOfElementsInCache)
    Creates a cache that does not exceed a specified number of elements.
  • Method Details

    • createCache

      <T> 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.