#include <sandesh_map.h>
|
static const std::string | FindFile (const std::string &root, const std::string &file_ext) |
|
static bool | CalculateHashSum (const std::string &file_name, uint32_t *hashsum) |
|
|
template<typename T1 , typename T2 > |
bool | WriteMapToFile (T1 *sandesh_data, const T2 &index_map) |
|
template<typename T > |
void | ReadMapFromFile (T *sandesh_data, const std::string &root) |
|
Definition at line 18 of file sandesh_map.h.
BackUpResourceTable::BackUpResourceTable |
( |
ResourceBackupManager * |
manager, |
|
|
const std::string & |
name, |
|
|
const std::string & |
file_name |
|
) |
| |
BackUpResourceTable::~BackUpResourceTable |
( |
| ) |
|
|
virtual |
Agent* BackUpResourceTable::agent |
( |
| ) |
|
|
inline |
const std::string& BackUpResourceTable::backup_dir |
( |
| ) |
|
|
inline |
bool BackUpResourceTable::CalculateHashSum |
( |
const std::string & |
file_name, |
|
|
uint32_t * |
hashsum |
|
) |
| |
|
static |
const std::string& BackUpResourceTable::file_name_prefix |
( |
| ) |
|
|
inline |
const std::string& BackUpResourceTable::file_name_str |
( |
| ) |
|
|
inline |
const std::string BackUpResourceTable::FindFile |
( |
const std::string & |
root, |
|
|
const std::string & |
file_ext |
|
) |
| |
|
static |
virtual void BackUpResourceTable::ReadFromFile |
( |
| ) |
|
|
pure virtual |
template<typename T >
void BackUpResourceTable::ReadMapFromFile |
( |
T * |
sandesh_data, |
|
|
const std::string & |
root |
|
) |
| |
|
protected |
virtual void BackUpResourceTable::RestoreResource |
( |
| ) |
|
|
pure virtual |
void BackUpResourceTable::StartTimer |
( |
| ) |
|
bool BackUpResourceTable::TimerExpiry |
( |
| ) |
|
void BackUpResourceTable::TriggerBackup |
( |
| ) |
|
bool BackUpResourceTable::UpdateRequired |
( |
| ) |
|
template<typename T1 , typename T2 >
bool BackUpResourceTable::WriteMapToFile |
( |
T1 * |
sandesh_data, |
|
|
const T2 & |
index_map |
|
) |
| |
|
protected |
virtual bool BackUpResourceTable::WriteToFile |
( |
| ) |
|
|
pure virtual |
Agent* BackUpResourceTable::agent_ |
|
private |
std::string BackUpResourceTable::backup_dir_ |
|
protected |
uint32_t BackUpResourceTable::backup_idle_timeout_ |
|
private |
uint8_t BackUpResourceTable::fall_back_count_ |
|
private |
std::string BackUpResourceTable::file_name_prefix_ |
|
private |
std::string BackUpResourceTable::file_name_str_ |
|
private |
const uint8_t BackUpResourceTable::kFallBackCount = 6 |
|
static |
uint64_t BackUpResourceTable::last_modified_time_ |
|
private |
std::string BackUpResourceTable::name_ |
|
private |
Timer* BackUpResourceTable::timer_ |
|
private |
The documentation for this class was generated from the following files: