Interface IGroupCacheAccess<K,V> 
- All Superinterfaces:
- ICacheAccessManagement
- All Known Implementing Classes:
- GroupCacheAccess
IGroupCacheAccess defines group specific behavior for the client access
 classes.
- 
Method SummaryModifier and TypeMethodDescriptiongetFromGroup(K name, String group) Gets the g attribute of the IGroupCacheAccess objectgetGroupKeys(String group) Gets the set of keys of objects currently in the groupvoidinvalidateGroup(String group) Invalidates a groupvoidputInGroup(K key, String group, V obj) Puts an item in the cache associated with this group.voidputInGroup(K key, String group, V obj, IElementAttributes attr) Put in the cache associated with this group using these attributes.voidremoveFromGroup(K name, String group) Remove the item from this group in this region by this name.Methods inherited from interface org.apache.commons.jcs3.access.behavior.ICacheAccessManagementclear, dispose, freeMemoryElements, getCacheAttributes, getDefaultElementAttributes, getStatistics, getStats, setCacheAttributes, setDefaultElementAttributes
- 
Method Details- 
getFromGroupGets the g attribute of the IGroupCacheAccess object- Parameters:
- name-
- group- the name of the group to associate this with.
- Returns:
- The object that is keyed by the name in the group
 
- 
putInGroupPuts an item in the cache associated with this group.- Parameters:
- key-
- group-
- obj-
- Throws:
- CacheException
 
- 
putInGroupPut in the cache associated with this group using these attributes.- Parameters:
- key-
- group-
- obj-
- attr-
- Throws:
- CacheException
 
- 
removeFromGroupRemove the item from this group in this region by this name.- Parameters:
- name-
- group-
 
- 
getGroupKeysGets the set of keys of objects currently in the group- Parameters:
- group-
- Returns:
- the set of group keys.
 
- 
invalidateGroupInvalidates a group- Parameters:
- group-
 
 
-