Lines Matching refs:Thread
22 import java.lang.Thread.UncaughtExceptionHandler;
30 * <li> whether threads should be marked as {@linkplain Thread#setDaemon daemon}
33 * <li> a {@linkplain Thread#setPriority thread priority}
34 * <li> an {@linkplain Thread#setUncaughtExceptionHandler uncaught exception
58 * Sets the naming format to use when naming threads ({@link Thread#setName})
93 // Thread#setPriority() already checks for validity. These error messages
95 checkArgument(priority >= Thread.MIN_PRIORITY,
96 "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY);
97 checkArgument(priority <= Thread.MAX_PRIORITY,
98 "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY);
158 @Override public Thread newThread(Runnable runnable) {
159 Thread thread = backingThreadFactory.newThread(runnable);