|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||
Uses of Class
java.lang.Thread
| Uses of Thread in java.lang |
| Subclasses of Thread in java.lang | |
private static class |
VMProcess.ProcessThread
|
| Fields in java.lang declared as Thread | |
(package private) Thread |
VMThread.thread
The Thread object that this VM state belongs to. |
(package private) static Thread |
VMProcess.processThread
|
private Thread |
Runtime.exitSequence
The thread that started the exit sequence. |
| Methods in java.lang that return Thread | |
(package private) static Thread |
VMThread.currentThread()
Return the Thread object associated with the currently executing thread. |
static Thread |
Thread.currentThread()
Get the currently executing Thread. |
| Methods in java.lang with parameters of type Thread | |
(package private) static void |
VMThread.create(Thread thread,
long stacksize)
Creates a native Thread. |
static int |
Thread.enumerate(Thread[] array)
Copy every active thread in the current Thread's ThreadGroup into the array. |
void |
Thread.UncaughtExceptionHandler.uncaughtException(Thread thr,
Throwable exc)
Invoked by the virtual machine with the dying thread and the uncaught exception. |
int |
ThreadGroup.enumerate(Thread[] array)
Copy all of the active Threads from this ThreadGroup and its descendants into the specified array. |
int |
ThreadGroup.enumerate(Thread[] array,
boolean recurse)
Copy all of the active Threads from this ThreadGroup and, if desired, from its descendants, into the specified array. |
void |
ThreadGroup.uncaughtException(Thread thread,
Throwable t)
When a Thread in this ThreadGroup does not catch an exception, the virtual machine calls this method. |
private int |
ThreadGroup.enumerate(Thread[] list,
int next,
boolean recurse)
Implements enumerate. |
(package private) void |
ThreadGroup.addThread(Thread t)
Add a thread to the group. |
(package private) void |
ThreadGroup.removeThread(Thread t)
Called by the VM to remove a thread that has died. |
void |
Runtime.addShutdownHook(Thread hook)
Register a new shutdown hook. |
boolean |
Runtime.removeShutdownHook(Thread hook)
De-register a shutdown hook. |
(package private) static void |
InheritableThreadLocal.newChildThread(Thread childThread)
Generates the childValues of all InheritableThreadLocals
that are in the heritage of the current Thread for the newly created
childThread. |
void |
SecurityManager.checkAccess(Thread thread)
Check if the current thread is allowed to modify another Thread. |
| Constructors in java.lang with parameters of type Thread | |
VMThread(Thread thread)
Private constructor, create VMThreads with the static create method. |
|
|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||