Class DefaultDeploymentCache<T>

  • All Implemented Interfaces:
    DeploymentCache<T>

    public class DefaultDeploymentCache<T>
    extends Object
    implements DeploymentCache<T>
    Default cache: keep everything in memory, unless a limit is set.
    • Constructor Detail

      • DefaultDeploymentCache

        public DefaultDeploymentCache()
        Cache with no limit
      • DefaultDeploymentCache

        public DefaultDeploymentCache​(int limit)
        Cache which has a hard limit: no more elements will be cached than the limit.