StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StHyperCacheManager Class Reference
Inheritance diagram for StHyperCacheManager:
StHyperCacheI

Public Member Functions

bool init ()
 
const char * get (const std::string &group_key, const std::string &key, size_t &value_length)
 
bool set (const std::string &group_key, const std::string &key, const char *data, size_t dataLength, time_t expirationTime=0)
 
bool set (const std::string &group_key, const std::string &key, MYSQL_RES *result, time_t expirationTime=0)
 
bool replace (const std::string &group_key, const std::string &key, const char *data, size_t dataLength, time_t expirationTime=0)
 
bool remove (const std::string &group_key, const std::string &key)
 
void clear ()
 
std::string getStat ()
 
const std::string & getName ()
 
const std::string & getVersion ()
 
const std::string & getType ()
 
const std::string & getLastGroupKey ()
 
const std::string & getLastKey ()
 
size_t getNumRows ()
 
size_t getNumFields ()
 
bool setParameter (const std::string &param, const std::string &value)
 
bool isActive ()
 
bool isValueFound ()
 
bool processOutput (StDbBuffer *aBuff)
 

Protected Member Functions

bool readParametersFromJsonFile ()
 
std::string convertMysqlResultToJson (MYSQL_RES *result)
 
bool parseJsonBuffer ()
 
bool isJsonError ()
 
void calculateRowsFields ()
 
char ** DecodeStrArray (const char *strinput, int &aLen)
 

Protected Attributes

std::string m_Name
 
std::string m_Version
 
std::string m_Type
 
bool m_ValueFound
 
bool m_Active
 
std::string m_PathToConfigFile
 
char * m_JsonBuffer
 
size_t m_JsonBufferSize
 
size_t m_NumRows
 
size_t m_NumFields
 
picojson::array m_JsonDocument
 
picojson::array::const_iterator m_JsonDocumentIter
 
std::string m_LastGroupKey
 
std::string m_LastKey
 
std::vector< StHyperCacheI * > m_CacheImp
 

Detailed Description

Definition at line 9 of file StHyperCacheManager.h.


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