类 CacheContext

java.lang.Object
com.alicp.jetcache.anno.support.CacheContext
直接已知子类:
SpringCacheContext

public class CacheContext extends Object
作者:
huangli
  • 构造器详细资料

  • 方法详细资料

    • createCacheInvokeContext

      public CacheInvokeContext createCacheInvokeContext(ConfigMap configMap)
    • __createOrGetCache

      public Cache __createOrGetCache(CachedAnnoConfig cac, String area, String cacheName)
    • enableCache

      public static <T> T enableCache(Supplier<T> callback)
      Enable cache in current thread, for @Cached(enabled=false).
      参数:
      callback -
      另请参阅:
      • EnableCache