org.nutz.web.cache.EasyCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutz-web Show documentation
Show all versions of nutz-web Show documentation
Nutz, which is a collections of lightweight frameworks, each of them can be used independently
package org.nutz.web.cache;
import java.util.HashMap;
import java.util.Map;
public class EasyCache {
private static Map> cm = new HashMap>();
public static void reg(String name, CacheManager> cManager) {
cm.put(name, cManager);
}
public static void unreg(String name) {
cm.remove(name);
}
public static CacheManager> M(String name) {
return cm.get(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy