Open Source Repository

Home /freemarker/freemarker-2.3.16 | Repository Home



freemarker/cache/ConcurrentCacheStorage.java
package freemarker.cache;

/**
 * An optional interface for cache storage that knows whether it can be 
 * concurrently accessible without synchronization.
 @author Attila Szegedi
 @version $Id: $
 */
public interface ConcurrentCacheStorage extends CacheStorage {
    
    /**
     * Returns true if this instance of cache storage is concurrently 
     * accessible from multiple threads without synchronization.
     @return true if this instance of cache storage is concurrently 
     * accessible from multiple threads without synchronization.
     */
    public boolean isConcurrent();
}