Interface CacheFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> org.camunda.commons.utils.cache.Cache<java.lang.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<java.lang.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.