| Modifier and Type | Field and Description |
|---|---|
protected String |
clusterId |
protected String |
clusterProps |
protected org.jgroups.JChannel |
dchannel |
protected ConcurrentLinkedQueue<JGroupsEvent> |
queue |
protected StorageIF |
storage |
DATA_CACHE_CLEAR, DATA_CACHE_FIELD_EVICT, DATA_CACHE_FIELDS_EVICT, DATA_CACHE_IDENTITY_EVICT, QUERY_CACHE_RT1_CLEAR, QUERY_CACHE_RT1_EVICT, QUERY_CACHE_RT2_CLEAR, QUERY_CACHE_RT2_EVICT, QUERY_CACHE_SRCLOC_CLEAR, QUERY_CACHE_SRCLOC_EVICT, QUERY_CACHE_SUBIND_CLEAR, QUERY_CACHE_SUBIND_EVICT, QUERY_CACHE_SUBLOC_CLEAR, QUERY_CACHE_SUBLOC_EVICT| Modifier | Constructor and Description |
|---|---|
protected |
JGroupsCluster(String clusterId,
String clusterProps,
StorageIF storage) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache(IdentityIF namespace,
int cacheType) |
void |
clearDatacache() |
void |
evictCache(IdentityIF namespace,
int cacheType,
Collection keys) |
void |
evictCache(IdentityIF namespace,
int cacheType,
Object key) |
void |
evictField(IdentityIF identity,
int field) |
void |
evictFields(IdentityIF identity) |
void |
evictIdentity(IdentityIF identity) |
void |
flush() |
void |
join() |
void |
leave() |
protected void |
processEvent(JGroupsEvent e) |
void |
receive(org.jgroups.Message msg) |
protected org.jgroups.JChannel dchannel
protected String clusterId
protected String clusterProps
protected StorageIF storage
protected ConcurrentLinkedQueue<JGroupsEvent> queue
public void evictIdentity(IdentityIF identity)
evictIdentity in interface ClusterIFpublic void evictFields(IdentityIF identity)
evictFields in interface ClusterIFpublic void evictField(IdentityIF identity, int field)
evictField in interface ClusterIFpublic void clearDatacache()
clearDatacache in interface ClusterIFpublic void evictCache(IdentityIF namespace, int cacheType, Object key)
evictCache in interface ClusterIFpublic void evictCache(IdentityIF namespace, int cacheType, Collection keys)
evictCache in interface ClusterIFpublic void clearCache(IdentityIF namespace, int cacheType)
clearCache in interface ClusterIFprotected void processEvent(JGroupsEvent e)
public void receive(org.jgroups.Message msg)
receive in interface org.jgroups.MessageListenerreceive in class org.jgroups.ReceiverAdapter