Package org.infinispan.query.concurrent
Class InfinispanIndexingFailureHandler
java.lang.Object
org.infinispan.query.concurrent.InfinispanIndexingFailureHandler
- All Implemented Interfaces:
FailureHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(EntityIndexingFailureContext context) Handle the failure of entity indexing.voidhandle(FailureContext context) Handle a generic failure.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.reporting.FailureHandler
failureFloodingThreshold
-
Constructor Details
-
InfinispanIndexingFailureHandler
public InfinispanIndexingFailureHandler()
-
-
Method Details
-
handle
Description copied from interface:FailureHandlerHandle a generic failure.This method is expected to report the failure somewhere (logs, ...), then return as quickly as possible. Heavy error processing (sending emails, ...), if any, should be done asynchronously.
Any error or exception thrown by this method will be caught by Hibernate Search and logged.
- Specified by:
handlein interfaceFailureHandler- Parameters:
context- Contextual information about the failure (throwable, operation, ...)
-
handle
Description copied from interface:FailureHandlerHandle the failure of entity indexing.This method is expected to report the failure somewhere (logs, ...), then return as quickly as possible. Heavy error processing (sending emails, ...), if any, should be done asynchronously.
Any error or exception thrown by this method will be caught by Hibernate Search and logged.
- Specified by:
handlein interfaceFailureHandler- Parameters:
context- Contextual information about the failure (throwable, operation, ...)
-
failureCounter
-