Package org.apache.ignite.failure
Class NoOpFailureHandler
- java.lang.Object
-
- org.apache.ignite.failure.AbstractFailureHandler
-
- org.apache.ignite.failure.NoOpFailureHandler
-
- All Implemented Interfaces:
FailureHandler
public class NoOpFailureHandler extends AbstractFailureHandler
Just ignores any failure. It's useful for tests and debugging.
-
-
Constructor Summary
Constructors Constructor Description NoOpFailureHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
handle(Ignite ignite, FailureContext failureCtx)
Actual failure handling.String
toString()
-
Methods inherited from class org.apache.ignite.failure.AbstractFailureHandler
getIgnoredFailureTypes, onFailure, setIgnoredFailureTypes
-
-
-
-
Method Detail
-
handle
protected boolean handle(Ignite ignite, FailureContext failureCtx)
Actual failure handling. This method is not called for ignored failure types.- Specified by:
handle
in classAbstractFailureHandler
-
toString
public String toString()
- Overrides:
toString
in classAbstractFailureHandler
-
-