@Internal
public interface LockingCacheManager
extends com.atlassian.cache.CacheManager
LockingCache
This should only be used internal to confluence.
Modifier and Type | Method and Description |
---|---|
<K,V> LockingCache<K,V> |
getLockingCache(String name,
com.atlassian.cache.CacheLoader<K,V> loader,
com.atlassian.cache.CacheSettings cacheSettings)
This method allows a client to get a cache that support explicit locking methods.
|
@Nonnull <K,V> LockingCache<K,V> getLockingCache(@Nonnull String name, @Nullable com.atlassian.cache.CacheLoader<K,V> loader, @Nonnull com.atlassian.cache.CacheSettings cacheSettings)
This method will also wrap the lockingCache in a confluence monitoring wrapper.
K
- The key type of the cacheV
- The value type of the cachename
- The name of the cache you are requestingloader
- A cacheLoader to populate cache entriescacheSettings
- A cacheSettings object describing the attributes of the cacheCopyright © 2003–2016 Atlassian. All rights reserved.