Class CoordinationStrategyStartContextImpl
java.lang.Object
org.hibernate.search.mapper.orm.mapping.impl.CoordinationStrategyStartContextImpl
- All Implemented Interfaces:
CoordinationStrategyStartContext
public class CoordinationStrategyStartContextImpl
extends Object
implements CoordinationStrategyStartContext
-
Constructor Summary
ConstructorsConstructorDescriptionCoordinationStrategyStartContextImpl(AutomaticIndexingMappingContext mapping, MappingStartContext delegate, TenancyConfiguration tenancyConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionclock()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.mapping()
-
Constructor Details
-
CoordinationStrategyStartContextImpl
public CoordinationStrategyStartContextImpl(AutomaticIndexingMappingContext mapping, MappingStartContext delegate, TenancyConfiguration tenancyConfiguration)
-
-
Method Details
-
failureCollector
Description copied from interface:CoordinationStrategyStartContextA 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.- Specified by:
failureCollectorin interfaceCoordinationStrategyStartContext- Returns:
- A failure collector.
-
beanResolver
- Specified by:
beanResolverin interfaceCoordinationStrategyStartContext- Returns:
- A
BeanResolver.
-
configurationPropertySource
- Specified by:
configurationPropertySourcein interfaceCoordinationStrategyStartContext- 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
- Specified by:
threadPoolProviderin interfaceCoordinationStrategyStartContext- Returns:
- A provided of thread pools, to use when spawning background processes.
-
clock
- Specified by:
clockin interfaceCoordinationStrategyStartContext- Returns:
- A
Clockto be used for coordination between nodes.
-
mapping
- Specified by:
mappingin interfaceCoordinationStrategyStartContext- Returns:
- The mapping, providing all information and operations necessary for background processing of indexing events.
-
tenancyConfiguration
- Specified by:
tenancyConfigurationin interfaceCoordinationStrategyStartContext
-