com.atlassian.confluence.cache
Interface ReadThroughCacheFactory
- All Superinterfaces:
- CacheFactory
- All Known Implementing Classes:
- TransactionalCacheFactory
- public interface ReadThroughCacheFactory
- extends CacheFactory
Implemented by cache factories that can provide special read-through cache functionality.
A read-through update should be non-transactional and prevent concurrent updates.
- See Also:
TransactionalCacheFactory
,
CacheFactory
getReadThroughCacheForUpdate
public Cache getReadThroughCacheForUpdate(String cacheName)
- Returns the requested cache for updates read from the database. Implementations should
provide a cache that is non-transactional but still prevents concurrent updates.