| 程序包 | 说明 |
|---|---|
| net.oschina.j2cache | |
| net.oschina.j2cache.cluster | |
| net.oschina.j2cache.lettuce | |
| net.oschina.j2cache.redis |
| 限定符和类型 | 方法和说明 |
|---|---|
static CacheProviderHolder |
CacheProviderHolder.init(J2CacheConfig config,
CacheExpiredListener listener)
Initialize Cache Provider
|
| 构造器和说明 |
|---|
CacheChannel(J2CacheConfig config,
CacheProviderHolder holder) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ClusterPolicy.connect(Properties props,
CacheProviderHolder holder)
连接到集群
|
void |
RabbitMQClusterPolicy.connect(Properties props,
CacheProviderHolder holder) |
void |
JGroupsClusterPolicy.connect(Properties props,
CacheProviderHolder holder) |
void |
NoneClusterPolicy.connect(Properties props,
CacheProviderHolder holder) |
void |
RocketMQClusterPolicy.connect(Properties props,
CacheProviderHolder holder) |
static ClusterPolicy |
ClusterPolicyFactory.init(CacheProviderHolder holder,
String broadcast,
Properties props)
初始化集群消息通知机制
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LettuceCacheProvider.connect(Properties props,
CacheProviderHolder holder) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RedisPubSubClusterPolicy.connect(Properties props,
CacheProviderHolder holder)
加入 Redis 的发布订阅频道
|
Copyright © 2018. All rights reserved.