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 |
inspectThrowable(java.lang.Throwable t,
boolean propagateOutOfMemory) |
static void |
killCurrentJVM(java.lang.Throwable t,
boolean quiet) |
static JVMStabilityInspector.Killer |
replaceKiller(JVMStabilityInspector.Killer newKiller) |
static void |
userFunctionTimeout(java.lang.Throwable t) |
public static void inspectThrowable(java.lang.Throwable t) throws java.lang.OutOfMemoryError
t
- The Throwable to check for server-stop conditionsjava.lang.OutOfMemoryError
public static void inspectThrowable(java.lang.Throwable t, boolean propagateOutOfMemory) throws java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
public static void inspectCommitLogThrowable(java.lang.Throwable t)
public static void killCurrentJVM(java.lang.Throwable t, boolean quiet)
public static void userFunctionTimeout(java.lang.Throwable t)
public static JVMStabilityInspector.Killer replaceKiller(JVMStabilityInspector.Killer newKiller)
Copyright © 2009-2019 The Apache Software Foundation