Interface LuceneWorkExecutorProvider.Context
- Enclosing interface:
LuceneWorkExecutorProvider
public static interface LuceneWorkExecutorProvider.Context
-
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.engine.cfg.ConfigurationPropertySourceGives access to various configuration properties that might be useful during executor instantiation.org.hibernate.search.engine.environment.thread.spi.ThreadPoolProvider
-
Method Details
-
threadPoolProvider
org.hibernate.search.engine.environment.thread.spi.ThreadPoolProvider threadPoolProvider()- Returns:
- A provider of thread pools.
-
propertySource
org.hibernate.search.engine.cfg.ConfigurationPropertySource propertySource()Gives access to various configuration properties that might be useful during executor instantiation. -
recommendedThreadNamePrefix
String recommendedThreadNamePrefix()- Returns:
- recommended thread name prefix that can be passed to work executor. Recommendation is based on the instantiation context.
-