public class SearchPagesServiceCachePolicy 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 |
|---|
SearchPagesServiceCachePolicy() |
| 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, shouldClearCachepublic static final String SERVICE_FRONT_SEARCH_ID
public SearchPagesServiceCachePolicy()
public Set<String> getPageElementTypes()
PageElementCachePolicyprotected List<String> _getRemovingCacheEventIds(String workspace)
AbstractSimplePageElementCachePolicy_getRemovingCacheEventIds in class AbstractSimplePageElementCachePolicyworkspace - the current JCR workspace.