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