public class CacheLib
extends java.lang.Object
构造器和说明 |
---|
CacheLib() |
限定符和类型 | 方法和说明 |
---|---|
static void |
cacheFactoryAdd(java.lang.String driverType,
CacheFactory factory)
注册缓存工厂
|
static CacheFactory |
cacheFactoryGet(java.lang.String driverType)
获取缓存工厂
|
static void |
cacheServiceAdd(java.lang.String name,
CacheService cs)
添加缓存服务
|
static void |
cacheServiceAddIfAbsent(java.lang.String name,
CacheService cs)
添加缓存服务
|
static CacheService |
cacheServiceGet(java.lang.String name)
获取缓存服务
|
static java.util.Map<java.lang.String,CacheService> |
cacheServiceMap()
缓存服务集合;只读
|
public static java.util.Map<java.lang.String,CacheService> cacheServiceMap()
public static void cacheServiceAdd(java.lang.String name, CacheService cs)
public static void cacheServiceAddIfAbsent(java.lang.String name, CacheService cs)
public static CacheService cacheServiceGet(java.lang.String name)
public static void cacheFactoryAdd(java.lang.String driverType, CacheFactory factory)
public static CacheFactory cacheFactoryGet(java.lang.String driverType)