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

kim.sesame.framework.cache.provider.ILazyCacheProvider Maven / Gradle / Ivy

The newest version!
package kim.sesame.framework.cache.provider;

import java.util.Date;
import java.util.Map;



/**
* 延迟加载缓存
*/
public interface ILazyCacheProvider extends ICacheProvider {
    /**
     * 加载单个元素
     * @param key key
     * @return value
     */
    V get(K key);

    /**
     * 加载最近被更新的数据
     * @param time time
     * @return map
     */
    Map getUpdateObjectMaps(Date time);

    /**
     * 加载传入多个K的数据
     * @param keys keys
     * @return map
     */
    Map getUpdateObjectMaps(K... keys);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy