类 SinoAopContext
- java.lang.Object
-
- net.sinodawn.framework.context.SinoAopContext
-
public class SinoAopContext extends Object
-
-
构造器概要
构造器 构造器 说明 SinoAopContext()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidclearCache()static voidclearCurrentCache()static <T> TcurrentProxy()static <T> TgetCache(String key)static <T> TgetCache(String key, java.util.function.Supplier<T> supplier)static <T> TgetCurrentCache(String key)static <T> TgetCurrentCache(String key, java.util.function.Supplier<T> supplier)static booleaninitCache()static voidputCache(String key, Object value)static voidputCurrentCache(String key, Object value)static voidremoveCache(String key)static voidremoveCurrentCache(String key)static voidsetCurrentProxy(Object proxy)
-
-
-
方法详细资料
-
currentProxy
public static <T> T currentProxy()
-
setCurrentProxy
public static void setCurrentProxy(Object proxy)
-
initCache
public static boolean initCache()
-
clearCache
public static void clearCache()
-
removeCache
public static void removeCache(String key)
-
getCache
public static <T> T getCache(String key)
-
getCache
public static <T> T getCache(String key, java.util.function.Supplier<T> supplier)
-
clearCurrentCache
public static void clearCurrentCache()
-
removeCurrentCache
public static void removeCurrentCache(String key)
-
getCurrentCache
public static <T> T getCurrentCache(String key)
-
getCurrentCache
public static <T> T getCurrentCache(String key, java.util.function.Supplier<T> supplier)
-
-