| 1586 | } |
| 1587 | |
| 1588 | list<pair<NetworkAddressPB, Coordinator::ResourceUtilization>> |
| 1589 | Coordinator::BackendResourceUtilization() { |
| 1590 | DCHECK(exec_rpcs_complete_.Load()) << "Exec() must be called first."; |
| 1591 | list<pair<NetworkAddressPB, Coordinator::ResourceUtilization>> result; |
| 1592 | |
| 1593 | lock_guard<SpinLock> l(backend_states_init_lock_); |
| 1594 | for (BackendState* backend_state : backend_states_) { |
| 1595 | result.push_back(make_pair(backend_state->impalad_address(), |
| 1596 | backend_state->GetResourceUtilization())); |
| 1597 | } |
| 1598 | |
| 1599 | return result; |
| 1600 | } |
| 1601 | |
| 1602 | void Coordinator::UpdateFilter(const UpdateFilterParamsPB& params, RpcContext* context) { |
| 1603 | VLOG(2) << "Coordinator::UpdateFilter(filter_id=" << params.filter_id() << ")"; |
no test coverage detected