public interface IGroupCacheAccess<K,V> extends ICacheAccessManagement
| Modifier and Type | Method and Description |
|---|---|
V |
getFromGroup(K name,
String group)
Gets the g attribute of the IGroupCacheAccess object
|
Set<K> |
getGroupKeys(String group)
Gets the set of keys of objects currently in the group
|
void |
invalidateGroup(String group)
Invalidates a group
|
void |
putInGroup(K key,
String group,
V obj)
Puts an item in the cache associated with this group.
|
void |
putInGroup(K key,
String group,
V obj,
IElementAttributes attr)
Put in the cache associated with this group using these attributes.
|
void |
removeFromGroup(K name,
String group)
Remove the item from this group in this region by this name.
|
clear, dispose, freeMemoryElements, getCacheAttributes, getDefaultElementAttributes, getStatistics, getStats, setCacheAttributes, setDefaultElementAttributesV getFromGroup(K name, String group)
name - group - the name of the group to associate this with.void putInGroup(K key, String group, V obj) throws CacheException
key - group - obj - CacheExceptionvoid putInGroup(K key, String group, V obj, IElementAttributes attr) throws CacheException
key - group - obj - attr - CacheExceptionvoid removeFromGroup(K name, String group)
name - group - Set<K> getGroupKeys(String group)
group - void invalidateGroup(String group)
group - Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.