软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.util.concurrent |
在并发编程中常用的实用类。
|
Modifier and Type | Class and Description |
---|---|
class |
ThreadGroup
一个线程组表示一组线程。
|
Modifier and Type | Method and Description |
---|---|
static Thread.UncaughtExceptionHandler |
Thread.getDefaultUncaughtExceptionHandler()
返回默认处理程序时调用的线程突然终止由于未捕获的异常。
|
Thread.UncaughtExceptionHandler |
Thread.getUncaughtExceptionHandler()
返回的句柄调用时,该线程突然终止,由于未捕获的异常。
|
Modifier and Type | Method and Description |
---|---|
static void |
Thread.setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
设置默认处理程序时调用的线程突然终止由于未捕获的异常,并没有其他的处理一直是该线程的定义。
|
void |
Thread.setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
设置处理程序调用时,该线程突然终止,由于未捕获的异常。
|
Modifier and Type | Method and Description |
---|---|
Thread.UncaughtExceptionHandler |
ForkJoinPool.getUncaughtExceptionHandler()
返回内部线程终止由于在执行任务时遇到不可恢复的错误处理程序。
|
Constructor and Description |
---|
ForkJoinPool(int parallelism, ForkJoinPool.ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode)
创建一个与给定的参数
ForkJoinPool 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.