Uses of Interface
java.lang.Thread.UncaughtExceptionHandler
-
Packages that use Thread.UncaughtExceptionHandler 软件包 描述 java.lang 提供对Java编程语言设计至关重要的类。java.util.concurrent 实用程序类通常用于并发编程。 -
-
Uses of Thread.UncaughtExceptionHandler in java.lang
Classes in java.lang that implement Thread.UncaughtExceptionHandler Modifier and Type Class 描述 class
ThreadGroup
线程组代表一组线程。Methods in java.lang that return Thread.UncaughtExceptionHandler Modifier and Type 方法 描述 static Thread.UncaughtExceptionHandler
Thread. getDefaultUncaughtExceptionHandler()
返回当线程由于未捕获异常突然终止而调用的默认处理程序。Thread.UncaughtExceptionHandler
Thread. getUncaughtExceptionHandler()
返回由于未捕获的异常,此线程突然终止时调用的处理程序。Methods in java.lang with parameters of type Thread.UncaughtExceptionHandler Modifier and Type 方法 描述 static void
Thread. setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
设置当线程由于未捕获的异常突然终止而调用的默认处理程序,并且没有为该线程定义其他处理程序。void
Thread. setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
设置当该线程由于未捕获的异常而突然终止时调用的处理程序。 -
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent
Methods in java.util.concurrent that return Thread.UncaughtExceptionHandler Modifier and Type 方法 描述 Thread.UncaughtExceptionHandler
ForkJoinPool. getUncaughtExceptionHandler()
返回由于在执行任务时遇到不可恢复的错误而终止的内部工作线程的处理程序。Constructors in java.util.concurrent with parameters of type Thread.UncaughtExceptionHandler Constructor 描述 ForkJoinPool(int parallelism, ForkJoinPool.ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode)
使用给定的参数创建一个ForkJoinPool
(使用默认 值为其他参数 - 参见ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)
)。ForkJoinPool(int parallelism, ForkJoinPool.ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode, int corePoolSize, int maximumPoolSize, int minimumRunnable, Predicate<? super ForkJoinPool> saturate, long keepAliveTime, TimeUnit unit)
使用给定的参数创建一个ForkJoinPool
。
-