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

Method quota

be/src/runtime/thread-resource-mgr.h:183–183  ·  view source on GitHub ↗

Returns the quota for this pool. Note this changes dynamically based on the global number of registered resource pools.

Source from the content-addressed store, hash-verified

181 /// Returns the quota for this pool. Note this changes dynamically based on the global
182 /// number of registered resource pools.
183 int quota() const { return parent_->per_pool_quota_.Load(); }
184
185 /// Set the maximum number of required threads that will be running at one time.
186 /// The caller should not create more required threads than this, otherwise this

Callers 1

NotifyMethod · 0.80

Calls 1

LoadMethod · 0.45

Tested by 1

NotifyMethod · 0.64