Class CoordinationStrategyPreStopContextImpl
java.lang.Object
org.hibernate.search.mapper.orm.mapping.impl.CoordinationStrategyPreStopContextImpl
- All Implemented Interfaces:
CoordinationStrategyPreStopContext
public class CoordinationStrategyPreStopContextImpl
extends Object
implements CoordinationStrategyPreStopContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA 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 shutdown process for some time to collect other errors that could be relevant to users.
-
Constructor Details
-
CoordinationStrategyPreStopContextImpl
-
-
Method Details
-
failureCollector
Description copied from interface:CoordinationStrategyPreStopContextA 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 shutdown process for some time to collect other errors that could be relevant to users.- Specified by:
failureCollectorin interfaceCoordinationStrategyPreStopContext- Returns:
- A failure collector.
-