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

Method RebuildPoolWithScheduler

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

Source from the content-addressed store, hash-verified

92 }
93
94 Status RebuildPoolWithScheduler(int min_threads, int max_threads, int period_ms = 100) {
95 return ThreadPoolBuilder(kDefaultPoolName)
96 .set_min_threads(min_threads)
97 .set_max_threads(max_threads)
98 .set_enable_scheduler()
99 .set_schedule_period_ms(period_ms)
100 .Build(&pool_);
101 }
102
103 protected:
104 unique_ptr<ThreadPool> pool_;

Callers

nothing calls this directly

Calls 2

ThreadPoolBuilderClass · 0.85
BuildMethod · 0.45

Tested by

no test coverage detected