Lines Matching refs:priority
33 * <li> a {@linkplain Thread#setPriority thread priority}
48 private Integer priority = null;
86 * Sets the priority for new threads created with this ThreadFactory.
88 * @param priority the priority for new Threads created with this
92 public ThreadFactoryBuilder setPriority(int priority) {
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);
99 this.priority = priority;
149 final Integer priority = builder.priority;
166 if (priority != null) {
167 thread.setPriority(priority);