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

Method IsActive

be/src/kudu/util/threadpool.h:719–722  ·  view source on GitHub ↗

Returns true if this token has a task queued and ready to run, or if a task belonging to this token is already running.

Source from the content-addressed store, hash-verified

717 // Returns true if this token has a task queued and ready to run, or if a
718 // task belonging to this token is already running.
719 bool IsActive() const {
720 return state_ == State::RUNNING ||
721 state_ == State::QUIESCING;
722 }
723
724 // Returns true if new tasks may be submitted to this token.
725 bool MaySubmitNewTasks() const {

Callers 2

ReleaseTokenMethod · 0.45
DoSubmitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected