软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.lang.management |
在java运行在java虚拟机和其他部件的监测和管理提供了管理接口。
|
Modifier and Type | Method and Description |
---|---|
Thread.State |
Thread.getState()
返回此线程的状态。
|
static Thread.State |
Thread.State.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static Thread.State[] |
Thread.State.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
Thread.State |
ThreadInfo.getThreadState()
返回这个
ThreadInfo关联的线程的状态。
|
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.