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

org.noear.wood.cache.EmptyCache Maven / Gradle / Ivy

There is a newer version: 1.3.14
Show newest version
package org.noear.wood.cache;

import java.lang.reflect.Type;

/**
 * 空缓存服务
 *
 * @author noear
 * @since 3.0
 */
public class EmptyCache implements ICacheServiceEx {
    @Override
    public void store(String s, Object o, int i) {

    }

    @Override
    public  T get(String s, Type type) {
        return null;
    }

    @Override
    public void remove(String s) {

    }

    @Override
    public int getDefalutSeconds() {
        return 0;
    }

    @Override
    public String getCacheKeyHead() {
        return "";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy