public class CachedAnnoConfig extends CacheAnnoConfig
| 构造器和说明 |
|---|
CachedAnnoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alicp.jetcache.anno.CacheType |
getCacheType() |
long |
getExpire() |
String |
getKeyConvertor() |
int |
getLocalLimit() |
RefreshPolicy |
getRefreshPolicy() |
String |
getSerialPolicy() |
TimeUnit |
getTimeUnit() |
Function<Object,Boolean> |
getUnlessEvaluator() |
boolean |
isCacheNullValue() |
boolean |
isEnabled() |
void |
setCacheNullValue(boolean cacheNullValue) |
void |
setCacheType(com.alicp.jetcache.anno.CacheType cacheType) |
void |
setEnabled(boolean enabled) |
void |
setExpire(long expire) |
void |
setKeyConvertor(String keyConvertor) |
void |
setLocalLimit(int localLimit) |
void |
setRefreshPolicy(RefreshPolicy refreshPolicy) |
void |
setSerialPolicy(String serialPolicy) |
void |
setTimeUnit(TimeUnit timeUnit) |
void |
setUnlessEvaluator(Function<Object,Boolean> unlessEvaluator) |
getArea, getCache, getCondition, getConditionEvaluator, getDefineMethod, getKey, getKeyEvaluator, getName, setArea, setCache, setCondition, setConditionEvaluator, setDefineMethod, setKey, setKeyEvaluator, setNamepublic boolean isEnabled()
public long getExpire()
public com.alicp.jetcache.anno.CacheType getCacheType()
public int getLocalLimit()
public void setEnabled(boolean enabled)
public void setExpire(long expire)
public void setCacheType(com.alicp.jetcache.anno.CacheType cacheType)
public void setLocalLimit(int localLimit)
public boolean isCacheNullValue()
public void setCacheNullValue(boolean cacheNullValue)
public String getSerialPolicy()
public void setSerialPolicy(String serialPolicy)
public String getKeyConvertor()
public void setKeyConvertor(String keyConvertor)
public TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
public RefreshPolicy getRefreshPolicy()
public void setRefreshPolicy(RefreshPolicy refreshPolicy)
Copyright © 2013–2018. All rights reserved.