com.atlassian.confluence.cache
Interface ReadThroughCacheFactory

All Superinterfaces:
com.atlassian.cache.CacheFactory
All Known Implementing Classes:
TransactionalCacheFactory

Deprecated. since 5.7. Please use non transactional CacheFactory to get access to read/write-through cache

@Deprecated
public interface ReadThroughCacheFactory
extends com.atlassian.cache.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

Method Summary
<K,V> com.atlassian.cache.Cache<K,V>
getReadThroughCacheForUpdate(com.atlassian.cache.Cache<K,V> cache)
          Deprecated. since 5.7. Please use non transactional CacheFactory to get access to read/write-through cache
<K,V> com.atlassian.cache.Cache<K,V>
getReadThroughCacheForUpdate(String cacheName)
          Deprecated. since 5.7. Please use non transactional CacheFactory to get access to read/write-through cache
 
Methods inherited from interface com.atlassian.cache.CacheFactory
getCache, getCache, getCache, getCache, getCache, getCachedReference, getCachedReference, getCachedReference, getCachedReference
 

Method Detail

getReadThroughCacheForUpdate

@Deprecated
<K,V> com.atlassian.cache.Cache<K,V> getReadThroughCacheForUpdate(String cacheName)
Deprecated. since 5.7. Please use non transactional CacheFactory to get access to read/write-through cache

Returns the requested cache for updates read from the database. Implementations should provide a cache that is non-transactional but still prevents concurrent updates.


getReadThroughCacheForUpdate

@Deprecated
<K,V> com.atlassian.cache.Cache<K,V> getReadThroughCacheForUpdate(com.atlassian.cache.Cache<K,V> cache)
Deprecated. since 5.7. Please use non transactional CacheFactory to get access to read/write-through cache

Returns the requested cache for updates read from the database. Implementations should provide a cache that is non-transactional but still prevents concurrent updates.



Copyright © 2003–2015 Atlassian. All rights reserved.