Distributed Cache
Public Member Functions | Private Attributes | List of all members
MockDatabase Class Reference
Inheritance diagram for MockDatabase:
Inheritance graph
Collaboration diagram for MockDatabase:
Collaboration graph

Public Member Functions

void seedDB ()
 
void controller (int nsd)
 
void start ()
 
void kill ()
 

Private Attributes

ServerThreadPool * pool
 
std::map< key_pair_t, int > db
 
std::mutex dbLock
 

Member Function Documentation

◆ controller()

void MockDatabase::controller ( int  nsd)
inlinevirtual

Implements MultiThreadedServerInterface.

Here is the call graph for this function:

◆ kill()

void MockDatabase::kill ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ seedDB()

void MockDatabase::seedDB ( )
inline
Here is the caller graph for this function:

◆ start()

void MockDatabase::start ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ db

std::map<key_pair_t, int> MockDatabase::db
private

◆ dbLock

std::mutex MockDatabase::dbLock
private

◆ pool

ServerThreadPool* MockDatabase::pool
private

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