Package org.ametys.cms.indexing.solr
Class ThreadIndexerHelper
java.lang.Object
org.ametys.cms.indexing.solr.ThreadIndexerHelper
- All Implemented Interfaces:
Initializable,Component
Helper to submit thread needed for indexation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsubmitCallable(AbstractIndexerCallable<? extends AmetysObject> callable) Submit anAbstractIndexerCallableto the executor dedicated to indexation.
-
Field Details
-
ROLE
The Avalon Role
-
-
Constructor Details
-
ThreadIndexerHelper
public ThreadIndexerHelper()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
submitCallable
Submit anAbstractIndexerCallableto the executor dedicated to indexation.- Parameters:
callable- The callable to submit- Returns:
- The
Futurefrom theAbstractIndexerCallablesubmission
-