Class AbstractSolrContentAsyncObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.ugc.observation.AbstractContentObserver
org.ametys.plugins.ugc.observation.AbstractSolrContentObserver
org.ametys.plugins.ugc.observation.AbstractSolrContentAsyncObserver
- All Implemented Interfaces:
AsyncObserver,Observer,LogEnabled,Contextualizable,Serviceable
- Direct Known Subclasses:
SolrContentModifiedObserver
public abstract class AbstractSolrContentAsyncObserver
extends AbstractSolrContentObserver
implements AsyncObserver
Abstract
AsyncObserver for synchronizing the Solr indexes.-
Field Summary
Fields inherited from class org.ametys.plugins.ugc.observation.AbstractSolrContentObserver
_solrPageIndexerFields inherited from class org.ametys.plugins.ugc.observation.AbstractContentObserver
_cocoonContext, _contentTypeHelper, _context, _resolver, _ugcPageHandler, _zoneItemCacheFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Content_getTarget(Event event) Retrieve the target of the observerMethods inherited from class org.ametys.plugins.ugc.observation.AbstractSolrContentObserver
_getContentPage, getPriority, serviceMethods inherited from class org.ametys.plugins.ugc.observation.AbstractContentObserver
_getUGCRootPages, _internalObserve, _isUGCContent, _removeZoneItemCache, contextualize, observeMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.observation.AsyncObserver
parallelizableMethods inherited from interface org.ametys.core.observation.Observer
getPriority, observe, supports
-
Constructor Details
-
AbstractSolrContentAsyncObserver
public AbstractSolrContentAsyncObserver()
-
-
Method Details
-
_getTarget
Description copied from class:AbstractContentObserverRetrieve the target of the observer- Overrides:
_getTargetin classAbstractContentObserver- Parameters:
event- The event- Returns:
- The target
- Throws:
Exception- if failed to get content
-