MCPcopy Create free account
hub / github.com/apache/arrow / ThrottleImpl

Method ThrottleImpl

cpp/src/arrow/util/async_util.cc:39–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37class ThrottleImpl : public ThrottledAsyncTaskScheduler::Throttle {
38 public:
39 explicit ThrottleImpl(int max_concurrent_cost)
40 : max_concurrent_cost_(max_concurrent_cost), available_cost_(max_concurrent_cost) {}
41
42 ~ThrottleImpl() {
43 if (backoff_.is_valid()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected