public class SearchServiceCachePolicy extends AbstractSimplePageElementCachePolicy
PageElementCachePolicy
for the front search service.PageElementCachePolicy.PolicyResult
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_FRONT_SEARCH_ID
The front search service ID.
|
Constructor and Description |
---|
SearchServiceCachePolicy() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
_getRemovingCacheEventIds(String workspace)
Returns all event ids for which the cache should be removed.
|
Set<String> |
getPageElementTypes()
Returns the types of the associated page elements.
|
_supports, shouldClearCache, shouldClearCache
public static final String SERVICE_FRONT_SEARCH_ID
public SearchServiceCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicy
protected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy
_getRemovingCacheEventIds
in class AbstractSimplePageElementCachePolicy
workspace
- the current JCR workspace.