Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::DiskIoMgr::RequestContextCache Class Reference
Collaboration diagram for impala::DiskIoMgr::RequestContextCache:

Public Member Functions

 RequestContextCache (DiskIoMgr *io_mgr)
 
void ReturnContext (RequestContext *reader)
 
RequestContextGetNewContext ()
 
 ~RequestContextCache ()
 
bool ValidateAllInactive ()
 
string DebugString ()
 

Private Attributes

DiskIoMgrio_mgr_
 
mutex lock_
 
list< RequestContext * > all_contexts_
 
list< RequestContext * > inactive_contexts_
 

Detailed Description

Definition at line 69 of file disk-io-mgr.cc.

Constructor & Destructor Documentation

impala::DiskIoMgr::RequestContextCache::RequestContextCache ( DiskIoMgr io_mgr)
inline

Definition at line 71 of file disk-io-mgr.cc.

impala::DiskIoMgr::RequestContextCache::~RequestContextCache ( )
inline

Definition at line 96 of file disk-io-mgr.cc.

Member Function Documentation

string impala::DiskIoMgr::RequestContextCache::DebugString ( )

Definition at line 131 of file disk-io-mgr.cc.

References impala::lock_.

RequestContext* impala::DiskIoMgr::RequestContextCache::GetNewContext ( )
inline

Definition at line 82 of file disk-io-mgr.cc.

References impala::lock_.

void impala::DiskIoMgr::RequestContextCache::ReturnContext ( RequestContext reader)
inline

Definition at line 74 of file disk-io-mgr.cc.

References impala::lock_, and impala::DiskIoMgr::RequestContext::state_.

bool impala::DiskIoMgr::RequestContextCache::ValidateAllInactive ( )
inline

Definition at line 105 of file disk-io-mgr.cc.

Member Data Documentation

list<RequestContext*> impala::DiskIoMgr::RequestContextCache::all_contexts_
private

Definition at line 125 of file disk-io-mgr.cc.

list<RequestContext*> impala::DiskIoMgr::RequestContextCache::inactive_contexts_
private

Definition at line 128 of file disk-io-mgr.cc.

DiskIoMgr* impala::DiskIoMgr::RequestContextCache::io_mgr_
private

Definition at line 119 of file disk-io-mgr.cc.

mutex impala::DiskIoMgr::RequestContextCache::lock_
private

Definition at line 122 of file disk-io-mgr.cc.


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