Interface ElasticsearchWorkExecutorProvider.Context
- Enclosing interface:
- ElasticsearchWorkExecutorProvider
public static interface ElasticsearchWorkExecutorProvider.Context
-
Method Summary
Modifier and TypeMethodDescriptionGives access to various configuration properties that might be useful during executor instantiation.
-
Method Details
-
threadPoolProvider
ThreadPoolProvider threadPoolProvider()- Returns:
- A provider of thread pools.
-
propertySource
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.
-