MCPcopy Create free account
hub / github.com/apache/impala / RebuildPoolWithMinMax

Method RebuildPoolWithMinMax

be/src/kudu/util/threadpool-test.cc:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 Status RebuildPoolWithMinMax(int min_threads, int max_threads) {
88 return ThreadPoolBuilder(kDefaultPoolName)
89 .set_min_threads(min_threads)
90 .set_max_threads(max_threads)
91 .Build(&pool_);
92 }
93
94 Status RebuildPoolWithScheduler(int min_threads, int max_threads, int period_ms = 100) {
95 return ThreadPoolBuilder(kDefaultPoolName)

Callers

nothing calls this directly

Calls 2

ThreadPoolBuilderClass · 0.85
BuildMethod · 0.45

Tested by

no test coverage detected