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

cn.kduck.core.cache.CacheExpiredHandler Maven / Gradle / Ivy

Go to download

The core of the K-Duck development framework encompasses all the featured components of the framework.

There is a newer version: 2.0.0
Show newest version
package cn.kduck.core.cache;

import org.springframework.cache.Cache;

import java.util.Date;

/**
 * 缓存过期处理器
 */
public interface CacheExpiredHandler {

    void doExpired(Cache cache,Object key, Object value, Date expired);

    void clearExpired(Cache cache);

    boolean isExpired(Cache cache,Object key);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy