org.apache.ignite.failure

## Interface FailureHandler

- All Known Implementing Classes:
    AbstractFailureHandler, NoOpFailureHandler, RestartProcessFailureHandler, StopNodeFailureHandler, StopNodeOrHaltFailureHandler

      public interface FailureHandler

  Provides facility to handle failures by custom user implementations, which can be configured by `IgniteConfiguration.setFailureHandler(FailureHandler)` method.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `onFailure(Ignite ignite, FailureContext failureCtx)` Handles failure occurred on `ignite` instance.

- - ### Method Detail

    - #### onFailure

          boolean onFailure(Ignite ignite,
                            FailureContext failureCtx)

      Handles failure occurred on `ignite` instance. Failure details is contained in `failureCtx`. Returns `true` if kernal context must be invalidated by `FailureProcessor` after calling this method.
      Parameters:
        `ignite` - Ignite instance.
        `failureCtx` - Failure context.
      Returns:
        Whether kernal context must be invalidated or not.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022