public final class JVMStabilityInspector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JVMStabilityInspector.Killer |
Modifier and Type | Method and Description |
---|---|
static void |
inspectCommitLogThrowable(java.lang.Throwable t) |
static void |
inspectThrowable(java.lang.Throwable t)
Certain Throwables and Exceptions represent "Die" conditions for the server.
|
static void |
killCurrentJVM(java.lang.Throwable t,
boolean quiet) |
static JVMStabilityInspector.Killer |
replaceKiller(JVMStabilityInspector.Killer newKiller) |
public static void inspectThrowable(java.lang.Throwable t)
t
- The Throwable to check for server-stop conditionspublic static void inspectCommitLogThrowable(java.lang.Throwable t)
public static void killCurrentJVM(java.lang.Throwable t, boolean quiet)
public static JVMStabilityInspector.Killer replaceKiller(JVMStabilityInspector.Killer newKiller)
Copyright © 2017 The Apache Software Foundation