org.apache.ignite.failure

## Class StopNodeFailureHandler

- java.lang.Object
- - org.apache.ignite.failure.AbstractFailureHandler
  - - org.apache.ignite.failure.StopNodeFailureHandler

- All Implemented Interfaces:
    FailureHandler

      public class StopNodeFailureHandler
      extends AbstractFailureHandler

  Handler will stop node in case of critical error using `IgnitionEx.stop(nodeName, true, true)` call.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StopNodeFailureHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `handle(Ignite ignite, FailureContext failureCtx)` Actual failure handling.
    `String` | `toString()`

    - ### Methods inherited from class org.apache.ignite.failure.AbstractFailureHandler

      `getIgnoredFailureTypes, onFailure, setIgnoredFailureTypes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StopNodeFailureHandler

          public StopNodeFailureHandler()

  - ### Method Detail

    - #### handle

          public boolean handle(Ignite ignite,
                                FailureContext failureCtx)

      Actual failure handling. This method is not called for ignored failure types.
      Specified by:
        `handle` in class `AbstractFailureHandler`
      See Also:
        `AbstractFailureHandler.setIgnoredFailureTypes(Set).`, `FailureHandler.onFailure(Ignite, FailureContext).`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractFailureHandler`

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021