drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
GearmanFunctionMap Class Reference
Collaboration diagram for GearmanFunctionMap:
[legend]

Public Member Functions

bool add (std::string function, std::string servers)
bool get (std::string function, gearman_client_st *client)

Private Attributes

std::map< std::string, gearman_client_st > functionMap
pthread_mutex_t lock

Detailed Description

Definition at line 23 of file function_map.h.

Constructor & Destructor Documentation

◆ GearmanFunctionMap()

GearmanFunctionMap::GearmanFunctionMap ( )

Definition at line 34 of file function_map.cc.

◆ ~GearmanFunctionMap()

GearmanFunctionMap::~GearmanFunctionMap ( )

Definition at line 39 of file function_map.cc.

Member Function Documentation

◆ add()

bool GearmanFunctionMap::add ( std::string function,
std::string servers )

Definition at line 49 of file function_map.cc.

◆ get()

bool GearmanFunctionMap::get ( std::string function,
gearman_client_st * client )

Definition at line 77 of file function_map.cc.

Member Data Documentation

◆ functionMap

std::map<std::string, gearman_client_st> GearmanFunctionMap::functionMap
private

Definition at line 25 of file function_map.h.

◆ lock

pthread_mutex_t GearmanFunctionMap::lock
private

Definition at line 26 of file function_map.h.


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