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 Constructor Description CoordinationStrategyPreStopContextImpl(MappingPreStopContext delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextualFailureCollectorfailureCollector()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 shutdown process for some time to collect other errors that could be relevant to users.
-
-
-
Constructor Detail
-
CoordinationStrategyPreStopContextImpl
public CoordinationStrategyPreStopContextImpl(MappingPreStopContext delegate)
-
-
Method Detail
-
failureCollector
public ContextualFailureCollector 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.
-
-