Package org.apache.cassandra.concurrent
Class ExecutionFailure
- java.lang.Object
-
- org.apache.cassandra.concurrent.ExecutionFailure
-
public class ExecutionFailure extends java.lang.Object
Standardised handling of failures during execution - mostly this involves invoking a thread'sThread.UncaughtExceptionHandler
orJVMStabilityInspector.uncaughtException(Thread, Throwable)
, with special handling forCompactionInterruptedException
. This class also provides wrappers forWithResources
withRunnable
andCallable
.
-
-
Constructor Summary
Constructors Constructor Description ExecutionFailure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
handle(java.lang.Throwable t)
Invoke the relevantThread.UncaughtExceptionHandler
, ignoring (except for logging) anyCompactionInterruptedException
-
-
-
Method Detail
-
handle
public static void handle(java.lang.Throwable t)
Invoke the relevantThread.UncaughtExceptionHandler
, ignoring (except for logging) anyCompactionInterruptedException
-
-