public class InvalidTagCloudCacheOnSiteModification extends AbstractCacheObserver implements Serviceable
Observer
for observing content tagging, deletion or validation in order to
invalidate cache for tag cloudModifier and Type | Field and Description |
---|---|
private TagCloudCacheManager |
_cacheManager |
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
InvalidTagCloudCacheOnSiteModification() |
Modifier and Type | Method and Description |
---|---|
void |
observe(Event event,
Map<String,Object> transientVars)
Observes an event.
|
void |
service(ServiceManager smanager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
getPriority
getLogger, setLogger
private TagCloudCacheManager _cacheManager
public InvalidTagCloudCacheOnSiteModification()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public boolean supports(Event event)
Observer
public void observe(Event event, Map<String,Object> transientVars) throws Exception
Observer
observe
in interface Observer
event
- the event.transientVars
- transientVars passed from one Observer to another when processing a single Event.
This may allow optimizations between observers.Exception
- if an error occurs.
All exceptions will be logged but not propagated, as the observation mechanism should never fail.