Uses of Interface freemarker.cache.CacheStorage (FreeMarker 2.3.23 API)
Date: 2015-07-05

## Uses of Interface
freemarker.cache.CacheStorage

- Packages that use CacheStorage
  Package | Description
  --- | ---
  freemarker.cache | Template loading and caching.
  freemarker.template | The fundamental, most commonly used API-s of FreeMarker; start with `Configuration` (see also the Getting Stared in the Manual.)

- - ### Uses of CacheStorage in freemarker.cache

    Subinterfaces of CacheStorage in freemarker.cache
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CacheStorageWithGetSize` A cache storage that has a `getSize()` method for returning the current number of cache entries.
    `interface` | `ConcurrentCacheStorage` An optional interface for cache storage that knows whether it can be concurrently accessible without synchronization.

    Classes in freemarker.cache that implement CacheStorage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MruCacheStorage` A cache storage that implements a two-level Most Recently Used cache.
    `class` | `NullCacheStorage` A cache storage that doesn't store anything.
    `class` | `SoftCacheStorage` Soft cache storage is a cache storage that uses `SoftReference` objects to hold the objects it was passed, therefore allows the garbage collector to purge the cache when it determines that it wants to free up memory.
    `class` | `StrongCacheStorage` Strong cache storage is a cache storage that simply wraps a `Map`.

    Methods in freemarker.cache that return CacheStorage
    Modifier and Type | Method and Description
    --- | ---
    `CacheStorage` | TemplateCache.`getCacheStorage()`

    Constructors in freemarker.cache with parameters of type CacheStorage
    Constructor and Description
    `TemplateCache(TemplateLoader templateLoader, CacheStorage cacheStorage)` Deprecated. Use `TemplateCache.TemplateCache(TemplateLoader, CacheStorage, Configuration)` instead.
    `TemplateCache(TemplateLoader templateLoader, CacheStorage cacheStorage, Configuration config)` Same as `TemplateCache.TemplateCache(TemplateLoader, CacheStorage, TemplateLookupStrategy, TemplateNameFormat, Configuration)` with `TemplateLookupStrategy.DEFAULT_2_3_0` and `TemplateNameFormat.DEFAULT_2_3_0`.
    `TemplateCache(TemplateLoader templateLoader, CacheStorage cacheStorage, TemplateLookupStrategy templateLookupStrategy, TemplateNameFormat templateNameFormat, Configuration config)`

  - ### Uses of CacheStorage in freemarker.template

    Methods in freemarker.template that return CacheStorage
    Modifier and Type | Method and Description
    --- | ---
    `CacheStorage` | Configuration.`getCacheStorage()` The getter pair of `Configuration.setCacheStorage(CacheStorage)`.

    Methods in freemarker.template with parameters of type CacheStorage
    Modifier and Type | Method and Description
    --- | ---
    `void` | Configuration.`setCacheStorage(CacheStorage cacheStorage)` Sets the `CacheStorage` used for caching `Template`-s; the earlier content of the template cache will be dropt.