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 TypeMethodDescriptionvoid
submitCallable
(AbstractIndexerCallable<? extends AmetysObject> callable) Submit anAbstractIndexerCallable
to the executor dedicated to indexation.
-
Field Details
-
ROLE
The Avalon Role
-
-
Constructor Details
-
ThreadIndexerHelper
public ThreadIndexerHelper()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
submitCallable
Submit anAbstractIndexerCallable
to the executor dedicated to indexation.- Parameters:
callable
- The callable to submit- Returns:
- The
Future
from theAbstractIndexerCallable
submission
-