Interface CacheOperationsWhitelistService
-
public interface CacheOperationsWhitelistService
- Since:
- 7.5
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CacheOperationsWhitelistService
noop()
Creates aCacheOperationsWhitelistService
implementation that just returns the original caches unwrapped.<K,V,C extends com.atlassian.cache.Cache<K,V> & com.atlassian.cache.ManagedCache>
Cwrap(C cache)
Puts a wrapper around aConfluenceCache
that checks operations invoked on the cache to ensure that they are permitted by the whitelist.
-
-
-
Method Detail
-
wrap
<K,V,C extends com.atlassian.cache.Cache<K,V> & com.atlassian.cache.ManagedCache> C wrap(C cache)
Puts a wrapper around aConfluenceCache
that checks operations invoked on the cache to ensure that they are permitted by the whitelist.
-
noop
static CacheOperationsWhitelistService noop()
Creates aCacheOperationsWhitelistService
implementation that just returns the original caches unwrapped.
-
-