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