0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Hypertable::ThriftBroker::ServerHandlerFactory Class Reference
Collaboration diagram for Hypertable::ThriftBroker::ServerHandlerFactory:
Collaboration graph
[legend]

Static Public Member Functions

static ServerHandlergetHandler (const String &remotePeer)
 
static void releaseHandler (ServerHandler *serverHandler)
 

Private Types

typedef std::map< String,
std::pair< int, ServerHandler * > > 
ServerHandlerMap
 

Private Member Functions

 ServerHandlerFactory ()
 
ServerHandlerget_handler (const String &remotePeer)
 
void release_handler (ServerHandler *serverHandler)
 

Private Attributes

std::mutex m_mutex
 
ServerHandlerMap m_server_handler_map
 

Static Private Attributes

static ServerHandlerFactory instance
 

Detailed Description

Definition at line 3058 of file ThriftBroker.cc.

Member Typedef Documentation

Definition at line 3110 of file ThriftBroker.cc.

Constructor & Destructor Documentation

Hypertable::ThriftBroker::ServerHandlerFactory::ServerHandlerFactory ( )
inlineprivate

Definition at line 3076 of file ThriftBroker.cc.

Member Function Documentation

ServerHandler* Hypertable::ThriftBroker::ServerHandlerFactory::get_handler ( const String remotePeer)
inlineprivate

Definition at line 3078 of file ThriftBroker.cc.

static ServerHandler* Hypertable::ThriftBroker::ServerHandlerFactory::getHandler ( const String remotePeer)
inlinestatic

Definition at line 3061 of file ThriftBroker.cc.

void Hypertable::ThriftBroker::ServerHandlerFactory::release_handler ( ServerHandler serverHandler)
inlineprivate

Definition at line 3094 of file ThriftBroker.cc.

static void Hypertable::ThriftBroker::ServerHandlerFactory::releaseHandler ( ServerHandler serverHandler)
inlinestatic

Definition at line 3065 of file ThriftBroker.cc.

Member Data Documentation

ServerHandlerFactory Hypertable::ThriftBroker::ServerHandlerFactory::instance
staticprivate

Definition at line 3112 of file ThriftBroker.cc.

std::mutex Hypertable::ThriftBroker::ServerHandlerFactory::m_mutex
private

Definition at line 3109 of file ThriftBroker.cc.

ServerHandlerMap Hypertable::ThriftBroker::ServerHandlerFactory::m_server_handler_map
private

Definition at line 3111 of file ThriftBroker.cc.


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