Flex  0.17.9
Public Member Functions | Public Attributes | List of all members
gs::QueryCache Struct Reference

#include <graph_db.h>

Public Member Functions

bool get (const std::string &key, std::string_view &value)
 
void put (const std::string &key, const std::string_view &value)
 

Public Attributes

std::shared_mutex mutex
 
std::unordered_map< std::string, std::string > cache
 

Member Function Documentation

◆ get()

bool gs::QueryCache::get ( const std::string &  key,
std::string_view &  value 
)
inline

◆ put()

void gs::QueryCache::put ( const std::string &  key,
const std::string_view &  value 
)
inline

Member Data Documentation

◆ cache

std::unordered_map<std::string, std::string> gs::QueryCache::cache

◆ mutex

std::shared_mutex gs::QueryCache::mutex

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