OpenSDN source code
|
#include <sandesh_uve.h>
Classes | |
struct | HashCompare |
struct | UVEMapEntry |
Public Types | |
typedef boost::ptr_map < std::string, UVEMapEntry > | uve_table_map |
typedef tbb::concurrent_hash_map < std::string, uve_table_map, HashCompare > | uve_cmap |
Public Member Functions | |
SandeshUVEPerTypeMapImpl () | |
bool | UpdateUVE (U &data, uint32_t seqnum, uint64_t mono_usec, SandeshLevel::type level) |
uint32_t | ClearUVEs (void) |
bool | InitDerivedStats (const std::map< std::string, std::string > &dsconf) |
uint32_t | SyncUVE (const std::string &table, SandeshUVE::SendType st, uint32_t seqno, uint32_t cycle, const std::string &ctx) |
bool | SendUVE (const std::string &table, const std::string &name, const std::string &ctx) const |
std::map< std::string, std::string > | GetDSConf (void) const |
Private Attributes | |
uve_cmap | cmap_ |
std::map< std::string, std::string > | dsconf_ |
tbb::mutex | uve_mutex_ |
Definition at line 109 of file sandesh_uve.h.
typedef tbb::concurrent_hash_map<std::string, uve_table_map, HashCompare > SandeshUVEPerTypeMapImpl< T, U, P, TM >::uve_cmap |
Definition at line 133 of file sandesh_uve.h.
typedef boost::ptr_map<std::string, UVEMapEntry> SandeshUVEPerTypeMapImpl< T, U, P, TM >::uve_table_map |
Definition at line 130 of file sandesh_uve.h.
|
inline |
Definition at line 135 of file sandesh_uve.h.
|
inline |
|
inline |
Definition at line 338 of file sandesh_uve.h.
|
inline |
|
inline |
Definition at line 321 of file sandesh_uve.h.
|
inline |
|
inline |
|
private |
Definition at line 344 of file sandesh_uve.h.
|
private |
Definition at line 345 of file sandesh_uve.h.
|
mutableprivate |
Definition at line 346 of file sandesh_uve.h.