All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ideaaedi.extspringcache.enums.CaffeineExpireStrategyEnum Maven / Gradle / Ivy

There is a newer version: 3.0.2.GAMMA
Show newest version
package com.ideaaedi.extspringcache.enums;


/**
 * 缓存时间策略
 *
 * @author JustryDeng
 * @since 2020/11/4 14:46:39
 */
@SuppressWarnings("unused")
public enum CaffeineExpireStrategyEnum {
    
    /**
     * 最后一次写入(或访问)后经过固定时间过期
     */
    EXPIRE_AFTER_ACCESS,
    
    /**
     * 最后一次写入后经过固定时间过期
     */
    EXPIRE_AFTER_WRITE
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy