THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
interface FailureHandler { FailureAction onFailure(FailureContext failureCtx); } class FailureContext { FailureType type; Throwable error; } enum FailureAction { RESTART_JVM, // NodeJVM process must be started from ignite.(sh|bat) script. All nodes in the process will be restarted. TERMINATE_JVM, // JVM process will be terminated. All nodes in the process will be stopped. STOP_NODE, // This particular node will be stopped. Process will terminated if exactly one node started from this process. NO_OP; // Nothing to do. WARNING: Node behavior will be undefined. Especially in case of system worker termination. } enum FailureType { SEGMENTATION, SYSTEM_WORKER_TERMINATION, CRITICAL_ERROR } |
...