类 DefaultBeetlCacheFactory

java.lang.Object
org.beetl.core.impl.cache.DefaultBeetlCacheFactory

public class DefaultBeetlCacheFactory extends Object
存储Program的缓存,默认是采用DefaultBeetlCache,可以通过设置 IBeetlCache 属性来设置新的缓存对象
作者:
xiandafu
  • 方法详细资料

    • defaultCache

      @NotNull public static @NotNull IBeetlCache defaultCache()
      默认的缓存实现
      返回:
      如果通过 DEFAULT_CACHE_CLASS_NAME 获取缓存实例失败,则返回一个 DefaultBeetlCache 类型的新实例
    • loadCache

      @NotNull public static @NotNull IBeetlCache loadCache(String className)
      默认的缓存实现
      返回:
      如果通过 DEFAULT_CACHE_CLASS_NAME 获取缓存实例失败,则返回一个 DefaultBeetlCache 类型的新实例