public interface CacheOperationsWhitelistService
Modifier and Type | Method and Description |
---|---|
static CacheOperationsWhitelistService |
noop()
Creates a
CacheOperationsWhitelistService implementation that just returns the original caches unwrapped. |
<K,V,C extends com.atlassian.cache.Cache<K,V> & com.atlassian.cache.ManagedCache> |
wrap(C cache)
Puts a wrapper around a
ConfluenceCache that checks operations invoked on the cache to ensure that they
are permitted by the whitelist. |
<K,V,C extends com.atlassian.cache.Cache<K,V> & com.atlassian.cache.ManagedCache> C wrap(C cache)
ConfluenceCache
that checks operations invoked on the cache to ensure that they
are permitted by the whitelist.static CacheOperationsWhitelistService noop()
CacheOperationsWhitelistService
implementation that just returns the original caches unwrapped.Copyright © 2003–2020 Atlassian. All rights reserved.