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(@NonNull K key, @NonNull V value, long currentTime) longexpireAfterRead(@NonNull K key, @NonNull V value, long currentTime, @org.checkerframework.checker.index.qual.NonNegative long currentDuration) longexpireAfterUpdate(@NonNull K key, @NonNull V value, long currentTime, @org.checkerframework.checker.index.qual.NonNegative long currentDuration)
-
Constructor Details
-
CaffeineNeverExpire
public CaffeineNeverExpire()
-
-
Method Details
-
expireAfterCreate
-
expireAfterUpdate
-
expireAfterRead
-