public class CacheConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheConfig.Switch |
| Constructor and Description |
|---|
CacheConfig() |
| Modifier and Type | Method and Description |
|---|---|
CacheConfig.Switch |
getCache() |
Map<String,Cache> |
getCaches() |
CacheConfig.Switch |
getPrevent() |
BaseProvider |
getProvider() |
boolean |
isPreventOn() |
static CacheConfig |
newConfig(Map<String,Cache> caches) |
void |
setCache(CacheConfig.Switch cache) |
void |
setCaches(Map<String,Cache> caches) |
void |
setPrevent(CacheConfig.Switch prevent) |
void |
setProvider(BaseProvider provider) |
public static CacheConfig newConfig(Map<String,Cache> caches)
public boolean isPreventOn()
public BaseProvider getProvider()
public void setProvider(BaseProvider provider)
public CacheConfig.Switch getCache()
public void setCache(CacheConfig.Switch cache)
public CacheConfig.Switch getPrevent()
public void setPrevent(CacheConfig.Switch prevent)
Copyright © 2019. All rights reserved.