public class SolrContentValidatedObserver extends AbstractSolrObserver implements AsyncObserver
Observer observers content validation
in order to synchronize the solr index of referencing pages_resolver, _siteIndexer, _solrIndexer, _solrPageIndexerMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
SolrContentValidatedObserver() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority(Event event)
Retrieves the priority to observe this event.
This can be used to process a supported event before others observers. |
void |
observe(Event event,
Map<String,Object> transientVars)
Observes an event.
|
boolean |
supports(Event event)
Checks if the event is supported.
|
_updateIndexReferencingPages, servicegetLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparallelizablepublic SolrContentValidatedObserver()
public int getPriority(Event event)
ObservergetPriority in interface ObservergetPriority in class AbstractSolrObserverevent - the event.public boolean supports(Event event)
Observerpublic void observe(Event event, Map<String,Object> transientVars) throws Exception
Observerobserve in interface Observerevent - 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.