Interface CoordinationStrategyPreStopContext


public interface CoordinationStrategyPreStopContext
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • 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 shutdown process for some time to collect other errors that could be relevant to users.
      Returns:
      A failure collector.