Interface CoordinationStrategyStartContext
-
public interface CoordinationStrategyStartContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanResolver
beanResolver()
Clock
clock()
ConfigurationPropertySource
configurationPropertySource()
ContextualFailureCollector
failureCollector()
A collector of (non-fatal) failures, allowing notification of Hibernate Search that something went wrong and an exception should be thrown at some point, while still continuing the bootstrap process for some time to collect other errors that could be relevant to users.AutomaticIndexingMappingContext
mapping()
TenancyConfiguration
tenancyConfiguration()
ThreadPoolProvider
threadPoolProvider()
-
-
-
Method Detail
-
failureCollector
ContextualFailureCollector failureCollector()
A collector of (non-fatal) failures, allowing notification of Hibernate Search that something went wrong and an exception should be thrown at some point, while still continuing the bootstrap process for some time to collect other errors that could be relevant to users.- Returns:
- A failure collector.
-
beanResolver
BeanResolver beanResolver()
- Returns:
- A
BeanResolver
.
-
configurationPropertySource
ConfigurationPropertySource configurationPropertySource()
- Returns:
- A configuration property source, appropriately masked so that the strategy doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties can be accessed at the root. CAUTION: the property key "synchronization" and any sub-keys are reserved.
-
threadPoolProvider
ThreadPoolProvider threadPoolProvider()
- Returns:
- A provided of thread pools, to use when spawning background processes.
-
mapping
AutomaticIndexingMappingContext mapping()
- Returns:
- The mapping, providing all information and operations necessary for background processing of automatic indexing events.
-
tenancyConfiguration
TenancyConfiguration tenancyConfiguration()
-
-