|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ICache 的软件包 | |
|---|---|
| com.alisoft.xplatform.asf.cache | |
| com.alisoft.xplatform.asf.cache.impl | |
| com.alisoft.xplatform.asf.cache.memcached | |
| com.alisoft.xplatform.asf.cache 中 ICache 的使用 |
|---|
| 类型参数类型为 ICache 的 com.alisoft.xplatform.asf.cache 中的类 | |
|---|---|
interface |
ICacheManager<T extends ICache<?,?>>
CacheManager 统一接口 |
| com.alisoft.xplatform.asf.cache 中 ICache 的子接口 | |
|---|---|
interface |
IMemcachedCache
Memcached Cache的接口定义 |
| com.alisoft.xplatform.asf.cache.impl 中 ICache 的使用 |
|---|
| 实现 ICache 的 com.alisoft.xplatform.asf.cache.impl 中的类 | |
|---|---|
class |
DefaultCacheImpl
一个默认的本地Cache的实现,线程安全 |
| com.alisoft.xplatform.asf.cache.memcached 中 ICache 的使用 |
|---|
| 实现 ICache 的 com.alisoft.xplatform.asf.cache.memcached 中的类 | |
|---|---|
class |
MemcachedCache
|
| 类型参数类型为 ICache 的 com.alisoft.xplatform.asf.cache.memcached 中的方法 | ||
|---|---|---|
static
|
CacheUtil.getCacheManager(java.lang.Class<B> cache,
java.lang.String defaultImplClass)
获取CacheManager的接口类,首先去查找META-INF/services/下是否有定义,如果没有载入defaultImplClass的定义 |
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||