ConcurrentCacheStorage (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.cache, interface: ConcurrentCacheStorage

Package freemarker.cache

# Interface ConcurrentCacheStorage

All Superinterfaces:
  `CacheStorage`

All Known Implementing Classes:
  `NullCacheStorage`, `SoftCacheStorage`, `StrongCacheStorage`

public interface ConcurrentCacheStorage extends CacheStorage
An optional interface for cache storage that knows whether it can be concurrently accessible without synchronization.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isConcurrent()`
  Returns true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.

  ### Methods inherited from interface freemarker.cache.CacheStorage

  `clear, get, put, remove`

- ## Method Details

  - ### isConcurrent

    boolean isConcurrent()
    Returns true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.
    Returns:
      true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.