Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::RpcEventHandler::InvocationContext Struct Reference

Created per-Rpc invocation. More...

Collaboration diagram for impala::RpcEventHandler::InvocationContext:

Public Member Functions

 InvocationContext (int64_t start_time, const ThriftServer::ConnectionContext *cnxn_ctx, MethodDescriptor *descriptor)
 

Public Attributes

const int64_t start_time_ms
 Monotonic milliseconds (typically boot time) when the call started. More...
 
const
ThriftServer::ConnectionContext
cnxn_ctx
 
MethodDescriptormethod_descriptor
 Pointer to parent MethodDescriptor, to save a lookup on deletion. More...
 

Detailed Description

Created per-Rpc invocation.

Definition at line 94 of file rpc-trace.h.

Constructor & Destructor Documentation

impala::RpcEventHandler::InvocationContext::InvocationContext ( int64_t  start_time,
const ThriftServer::ConnectionContext cnxn_ctx,
MethodDescriptor descriptor 
)
inline

Definition at line 106 of file rpc-trace.h.

Member Data Documentation

const ThriftServer::ConnectionContext* impala::RpcEventHandler::InvocationContext::cnxn_ctx

Per-connection information, owned by ThriftServer. The lifetime of this struct is tied to the lifetime of the connection, which is guaranteed to be longer than the rpc lifetime.

Definition at line 101 of file rpc-trace.h.

Referenced by impala::RpcEventHandler::getContext(), and impala::RpcEventHandler::postWrite().

MethodDescriptor* impala::RpcEventHandler::InvocationContext::method_descriptor

Pointer to parent MethodDescriptor, to save a lookup on deletion.

Definition at line 104 of file rpc-trace.h.

Referenced by impala::RpcEventHandler::postWrite().

const int64_t impala::RpcEventHandler::InvocationContext::start_time_ms

Monotonic milliseconds (typically boot time) when the call started.

Definition at line 96 of file rpc-trace.h.

Referenced by impala::RpcEventHandler::postWrite().


The documentation for this struct was generated from the following file: