public class VCacheWhitelist extends Object
| Modifier and Type | Method and Description |
|---|---|
static VCacheWhitelist |
createFromJsonWhitelist(org.springframework.core.io.Resource whitelistResource) |
static VCacheWhitelist |
emptyWhitelist() |
boolean |
isCacheAllowed(String cacheName,
Class<? extends com.atlassian.vcache.VCache> cacheType)
Checks the whitelist for whether the given combination of cache name and cache type is permitted, either by
vrtue of being explicitly whitelisted, or by that cache type not being mentioned in the whitelist.
|
public static VCacheWhitelist createFromJsonWhitelist(org.springframework.core.io.Resource whitelistResource) throws IOException
IOExceptionpublic static VCacheWhitelist emptyWhitelist()
public boolean isCacheAllowed(String cacheName, Class<? extends com.atlassian.vcache.VCache> cacheType)
Copyright © 2003–2016 Atlassian. All rights reserved.