Package 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 | Description
    --- | ---
    `StopNodeFailureHandler()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractFailureHandler`