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

net.paoding.rose.jade.cache.JadeCache Maven / Gradle / Ivy

package net.paoding.rose.jade.cache;

import java.util.Optional;

/**
 * @author zhangfusheng
 * @date 2023/9/15
 */
public interface JadeCache {

    /**
     * 获取
     * @param k
     * @return
     */
    Optional get(K k);

    /**
     * 添加
     * @param k
     * @param v
     * @return
     */
    JadeCache put(K k, V v);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy