com.opensymphony.oscache.web.filter
Interface ICacheGroupsProvider
- All Known Implementing Classes:
- CacheFilter
public interface ICacheGroupsProvider
Provider interface for cache groups creation in CacheFilter. A developer can implement a method which provides
cache groups based on the request, the servlet cache administrator and cache.
JIRA issue: http://jira.opensymphony.com/browse/CACHE-195
- Version:
- $Revision: 276 $
- Author:
- Lars Torunski
createCacheGroups
String[] createCacheGroups(HttpServletRequest httpRequest,
ServletCacheAdministrator scAdmin,
Cache cache)
- Creates the cache groups for the CacheFilter.
- Parameters:
httpRequest
- the http request.scAdmin
- the ServletCacheAdministrator of the cachecache
- the cache of the ServletCacheAdministrator
- Returns:
- the cache key