org.noear.wood.cache.EmptyCache Maven / Gradle / Ivy
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 "";
}
}