Class CaffeineNeverExpire<K,V>
java.lang.Object
cn.herodotus.engine.cache.caffeine.enhance.CaffeineNeverExpire<K,V>
- All Implemented Interfaces:
com.github.benmanes.caffeine.cache.Expiry<K,V>
public class CaffeineNeverExpire<K,V>
extends Object
implements com.github.benmanes.caffeine.cache.Expiry<K,V>
Description: Caffeine 缓存永不过期时间配置
- Author:
- : gengwei.zheng
- Date:
- : 2021/7/30 15:07
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongexpireAfterCreate(K key, V value, long currentTime) longexpireAfterRead(K key, V value, long currentTime, long currentDuration) longexpireAfterUpdate(K key, V value, long currentTime, long currentDuration)
-
Constructor Details
-
CaffeineNeverExpire
public CaffeineNeverExpire()
-
-
Method Details
-
expireAfterCreate
-
expireAfterUpdate
-
expireAfterRead
-