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

Method ScopedThreadContext

be/src/common/thread-debug-info.h:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 thread_debug_info_->SetInstanceId(ThreadDebugInfo::ZERO_THREAD_ID);
138 }
139 ScopedThreadContext(ThreadDebugInfo* thread_debug_info, const TUniqueId& query_id,
140 const TUniqueId& instance_id = ThreadDebugInfo::ZERO_THREAD_ID) {
141 thread_debug_info_ = thread_debug_info;
142 thread_debug_info->SetQueryId(query_id);
143 thread_debug_info->SetInstanceId(instance_id);
144 }
145 private:
146 ThreadDebugInfo* thread_debug_info_;
147 DISALLOW_COPY_AND_ASSIGN(ScopedThreadContext);

Callers

nothing calls this directly

Calls 2

SetQueryIdMethod · 0.80
SetInstanceIdMethod · 0.80

Tested by

no test coverage detected