Uses of Class java.lang.Thread

Uses in package java.util.concurrent.locks

Methods with parameter type java.lang.Thread

Object
Returns the blocker object supplied to the most recent invocation of a park method that has not yet unblocked, or null if not blocked.
boolean
Queries whether the given thread is waiting to acquire this lock.
boolean
Queries whether the given thread is waiting to acquire either the read or write lock.
boolean
Returns true if the given thread is currently queued.
boolean
Returns true if the given thread is currently queued.
void
Sets the thread that currently owns exclusive access.
void
Makes available the permit for the given thread, if it was not already available.

Methods with return type java.lang.Thread

Thread
Returns the thread last set by setExclusiveOwnerThread, or null if never set.
Thread
Returns the first (longest-waiting) thread in the queue, or null if no threads are currently queued.
Thread
Returns the first (longest-waiting) thread in the queue, or null if no threads are currently queued.
Thread
Returns the thread that currently owns this lock, or null if not owned.
Thread
Returns the thread that currently owns the write lock, or null if not owned.

Uses in package java.util.concurrent

Methods with parameter type java.lang.Thread

void
Method invoked prior to executing the given Runnable in the given thread.

Methods with return type java.lang.Thread

Thread
Constructs a new Thread.

Uses in package javax.swing.text

Methods with return type java.lang.Thread

Thread
Returns the thread that currently modifies this Document if there is one, otherwise null.

Uses in package java.lang

Methods with parameter type java.lang.Thread

void
Register a new shutdown hook.
void
Check if the current thread is allowed to modify another Thread.
int
Copy every active thread in the current Thread's ThreadGroup into the array.
int
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.
boolean
De-register a shutdown hook.
void
Invoked by the virtual machine with the dying thread and the uncaught exception.
void
When a Thread in this ThreadGroup does not catch an exception, the virtual machine calls this method.

Methods with return type java.lang.Thread

Thread
Get the currently executing Thread.