File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
server/src/main/java/org/elasticsearch/common/util/concurrent Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1616import org .elasticsearch .common .unit .Processors ;
1717import org .elasticsearch .core .SuppressForbidden ;
1818import org .elasticsearch .node .Node ;
19- import org .elasticsearch .threadpool .ThreadPool ;
2019
2120import java .security .AccessController ;
2221import java .security .PrivilegedAction ;
2322import java .util .List ;
2423import java .util .Optional ;
25- import java .util .Set ;
2624import java .util .concurrent .AbstractExecutorService ;
2725import java .util .concurrent .BlockingQueue ;
2826import java .util .concurrent .CancellationException ;
@@ -44,13 +42,6 @@ public class EsExecutors {
4442 // although the available processors may technically change, for node sizing we use the number available at launch
4543 private static final int MAX_NUM_PROCESSORS = Runtime .getRuntime ().availableProcessors ();
4644
47- private static final Set <String > SYSTEM_THREAD_PREFIXES = Set .of (
48- ThreadPool .Names .SYSTEM_READ ,
49- ThreadPool .Names .SYSTEM_WRITE ,
50- ThreadPool .Names .SYSTEM_CRITICAL_READ ,
51- ThreadPool .Names .SYSTEM_CRITICAL_WRITE
52- );
53-
5445 /**
5546 * Setting to manually control the number of allocated processors. This setting is used to adjust thread pool sizes per node. The
5647 * default value is {@link Runtime#availableProcessors()} but should be manually controlled if not all processors on the machine are
You can’t perform that action at this time.
0 commit comments