Lines Matching refs:priority
33 * <li> a {@linkplain Thread#setPriority thread priority}
48 private Integer priority = null;
89 * Sets the priority for new threads created with this ThreadFactory.
91 * @param priority the priority for new Threads created with this
95 public ThreadFactoryBuilder setPriority(int priority) {
98 checkArgument(priority >= Thread.MIN_PRIORITY,
99 "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY);
100 checkArgument(priority <= Thread.MAX_PRIORITY,
101 "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY);
102 this.priority = priority;
152 final Integer priority = builder.priority;
169 if (priority != null) {
170 thread.setPriority(priority);