类 CacheConfig<K,V>
java.lang.Object
com.alicp.jetcache.CacheConfig<K,V>
- 所有已实现的接口:
Cloneable
Created on 16/9/7.
- 作者:
- huangli
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
long
已过时。long
long
int
int
int
boolean
boolean
boolean
boolean
void
setCacheNullValue
(boolean cacheNullValue) void
setCachePenetrationProtect
(boolean cachePenetrationProtect) void
setDefaultExpireInMillis
(long defaultExpireInMillis) 已过时。void
setExpireAfterAccessInMillis
(long expireAfterAccessInMillis) void
setExpireAfterWriteInMillis
(long expireAfterWriteInMillis) void
setKeyConvertor
(Function<K, Object> keyConvertor) void
setLoader
(CacheLoader<K, V> loader) void
setMonitors
(List<CacheMonitor> monitors) void
setPenetrationProtectTimeout
(Duration penetrationProtectTimeout) void
setRefreshPolicy
(RefreshPolicy refreshPolicy) void
setTryLockInquiryCount
(int tryLockInquiryCount) void
setTryLockLockCount
(int tryLockLockCount) void
setTryLockUnlockCount
(int tryLockUnlockCount)
-
构造器详细资料
-
CacheConfig
public CacheConfig()
-
-
方法详细资料
-
clone
-
getKeyConvertor
-
setKeyConvertor
-
isExpireAfterAccess
public boolean isExpireAfterAccess() -
isExpireAfterWrite
public boolean isExpireAfterWrite() -
getDefaultExpireInMillis
已过时。 -
setDefaultExpireInMillis
已过时。 -
getExpireAfterWriteInMillis
public long getExpireAfterWriteInMillis() -
setExpireAfterWriteInMillis
public void setExpireAfterWriteInMillis(long expireAfterWriteInMillis) -
getExpireAfterAccessInMillis
public long getExpireAfterAccessInMillis() -
setExpireAfterAccessInMillis
public void setExpireAfterAccessInMillis(long expireAfterAccessInMillis) -
getLoader
-
setLoader
-
isCacheNullValue
public boolean isCacheNullValue() -
setCacheNullValue
public void setCacheNullValue(boolean cacheNullValue) -
getMonitors
-
setMonitors
-
getRefreshPolicy
-
setRefreshPolicy
-
getTryLockUnlockCount
public int getTryLockUnlockCount() -
setTryLockUnlockCount
public void setTryLockUnlockCount(int tryLockUnlockCount) -
getTryLockInquiryCount
public int getTryLockInquiryCount() -
setTryLockInquiryCount
public void setTryLockInquiryCount(int tryLockInquiryCount) -
getTryLockLockCount
public int getTryLockLockCount() -
setTryLockLockCount
public void setTryLockLockCount(int tryLockLockCount) -
isCachePenetrationProtect
public boolean isCachePenetrationProtect() -
setCachePenetrationProtect
public void setCachePenetrationProtect(boolean cachePenetrationProtect) -
getPenetrationProtectTimeout
-
setPenetrationProtectTimeout
-