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 变量和类型 类 描述 classThreadGroup线程组表示一组线程。Methods in java.lang that return Thread.UncaughtExceptionHandler 变量和类型 方法 描述 static Thread.UncaughtExceptionHandlerThread. getDefaultUncaughtExceptionHandler()返回由于未捕获的异常而导致线程突然终止时调用的默认处理程序。Thread.UncaughtExceptionHandlerThread. getUncaughtExceptionHandler()返回此线程由于未捕获的异常而突然终止时调用的处理程序。Methods in java.lang with parameters of type Thread.UncaughtExceptionHandler 变量和类型 方法 描述 static voidThread. setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)设置当线程由于未捕获的异常而突然终止时调用的默认处理程序,并且没有为该线程定义其他处理程序。voidThread. setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)设置当此线程由于未捕获的异常而突然终止时调用的处理程序。 -
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent
Methods in java.util.concurrent that return Thread.UncaughtExceptionHandler 变量和类型 方法 描述 Thread.UncaughtExceptionHandlerForkJoinPool. getUncaughtExceptionHandler()返回由于执行任务时遇到不可恢复的错误而终止的内部工作线程的处理程序。Constructors in java.util.concurrent with parameters of type Thread.UncaughtExceptionHandler 构造器 描述 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。
-