org.apache.jcs.access.behavior
Interface IGroupCacheAccess

All Superinterfaces:
ICacheAccess
All Known Implementing Classes:
GroupCacheAccess

public interface IGroupCacheAccess
extends ICacheAccess

Description of the Interface

Author:
asmuts

Method Summary
 java.lang.Object getFromGroup(java.lang.Object name, java.lang.String group)
          Gets the g attribute of the IGroupCacheAccess object
 java.util.Set getGroupKeys(java.lang.String group)
          Gets the set of keys of objects currently in the group
 void invalidateGroup(java.lang.String group)
          Invalidates a group
 void putInGroup(java.lang.Object key, java.lang.String group, java.lang.Object obj)
          Description of the Method
 void putInGroup(java.lang.Object key, java.lang.String group, java.lang.Object obj, IElementAttributes attr)
          Description of the Method
 void remove(java.lang.Object name, java.lang.String group)
          Description of the Method
 
Methods inherited from interface org.apache.jcs.access.behavior.ICacheAccess
destroy, destroy, get, getCacheAttributes, getElementAttributes, getElementAttributes, put, put, putSafe, remove, remove, resetElementAttributes, resetElementAttributes, setCacheAttributes
 

Method Detail

getFromGroup

public java.lang.Object getFromGroup(java.lang.Object name,
                                     java.lang.String group)
Gets the g attribute of the IGroupCacheAccess object

Returns:
The g value

putInGroup

public void putInGroup(java.lang.Object key,
                       java.lang.String group,
                       java.lang.Object obj)
                throws CacheException
Description of the Method

Throws:
CacheException

putInGroup

public void putInGroup(java.lang.Object key,
                       java.lang.String group,
                       java.lang.Object obj,
                       IElementAttributes attr)
                throws CacheException
Description of the Method

Throws:
CacheException

remove

public void remove(java.lang.Object name,
                   java.lang.String group)
Description of the Method


getGroupKeys

public java.util.Set getGroupKeys(java.lang.String group)
Gets the set of keys of objects currently in the group


invalidateGroup

public void invalidateGroup(java.lang.String group)
Invalidates a group