Klasse java.lang.Thread | 1.0 |
java.lang.Object | +--java.lang.Thread
Datenelemente | |
---|---|
public final static int | MIN_PRIORITY |
public final static int | NORM_PRIORITY |
public final static int | MAX_PRIORITY |
Konstruktoren | |
---|---|
public | Thread() |
public | Thread(Runnable target) |
public | Thread(String name) |
public | Thread(ThreadGroup group, String name) |
public | Thread(Runnable target, String name) |
public | Thread(ThreadGroup group, Runnable target) |
public | Thread(ThreadGroup group, Runnable target, String name) |
public | Thread(ThreadGroup group, Runnable target, String name, long stackSize) ![]() |
Methoden | |
---|---|
public static int | activeCount() |
public final void | checkAccess() |
public native int | countStackFrames() |
public static native Thread | currentThread() |
public void | destroy() |
public static void | dumpStack() |
public static int | enumerate(Thread[] tarray) |
public ClassLoader | getContextClassLoader() ![]() |
public final String | getName() |
public final int | getPriority() |
public final ThreadGroup | getThreadGroup() |
public static native boolean | holdsLock(Object obj) ![]() |
public void | interrupt() |
public static boolean | interrupted() |
public final native boolean | isAlive() |
public final boolean | isDaemon() |
public boolean | isInterrupted() |
public final void | join() |
public final synchronized void | join(long millis) |
public final synchronized void | join(long millis, int nanos) |
public final void | resume()
Verworfen in Version 1.2. |
public void | run() |
public void | setContextClassLoader(ClassLoader cl) ![]() |
public final void | setDaemon(boolean on) |
public final void | setName(String name) |
public final void | setPriority(int newPriority) |
public static native void | sleep(long millis) |
public static void | sleep(long millis, int nanos) |
public synchronized native void | start() |
public final void | stop()
Verworfen in Version 1.2. |
public final synchronized void | stop(Throwable o)
Verworfen in Version 1.2. |
public final void | suspend()
Verworfen in Version 1.2. |
public String | toString() |
public static native void | yield() |