public class NoneClusterPolicy extends Object implements ClusterPolicy
log| 构造器和说明 |
|---|
NoneClusterPolicy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear(String region)
清除本地整个缓存区域
|
void |
connect(Properties props,
CacheProviderHolder holder)
连接到集群
|
void |
disconnect()
断开集群连接
|
void |
evict(String region,
String... keys)
删除本地某个缓存条目
|
void |
publish(Command cmd)
发送消息
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleCommand, sendClearCmd, sendEvictCmdpublic void connect(Properties props, CacheProviderHolder holder)
ClusterPolicyconnect 在接口中 ClusterPolicyprops - j2cache 配置信息holder - Cache Provider Instancepublic void disconnect()
ClusterPolicydisconnect 在接口中 ClusterPolicypublic void publish(Command cmd)
ClusterPolicypublish 在接口中 ClusterPolicycmd - command to sendpublic void evict(String region, String... keys)
ClusterPolicyevict 在接口中 ClusterPolicyregion - 区域名称keys - 缓存键值public void clear(String region)
ClusterPolicyclear 在接口中 ClusterPolicyregion - 区域名称Copyright © 2018. All rights reserved.