OpenSDN source code
|
#include <agent_uve_stats.h>
Public Member Functions | |
AgentUveStats (Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl) | |
virtual | ~AgentUveStats () |
virtual void | Shutdown () |
virtual void | RegisterDBClients () |
StatsManager * | stats_manager () const |
void | InitDone () |
![]() | |
AgentUveBase (Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl) | |
virtual | ~AgentUveBase () |
uint64_t | bandwidth_intvl () const |
VnUveTableBase * | vn_uve_table () const |
VmUveTableBase * | vm_uve_table () const |
Agent * | agent () const |
VrouterUveEntryBase * | vrouter_uve_entry () const |
ProuterUveTable * | prouter_uve_table () const |
InterfaceUveTable * | interface_uve_table () const |
VrouterStatsCollector * | vrouter_stats_collector () const |
void | Init () |
uint8_t | ExpectedConnections (uint8_t &num_c_nodes, uint8_t &num_d_servers) |
uint32_t | default_interval () const |
uint32_t | incremental_interval () const |
void | BuildTagNamesFromList (const TagList &tl, UveTagData *info) const |
void | BuildTagIdsFromList (const TagList &tl, UveTagData *info) const |
Protected Attributes | |
boost::scoped_ptr< StatsManager > | stats_manager_ |
![]() | |
boost::scoped_ptr< VnUveTableBase > | vn_uve_table_ |
boost::scoped_ptr< VmUveTableBase > | vm_uve_table_ |
boost::scoped_ptr < VrouterUveEntryBase > | vrouter_uve_entry_ |
boost::scoped_ptr < ProuterUveTable > | prouter_uve_table_ |
boost::scoped_ptr < InterfaceUveTable > | interface_uve_table_ |
uint32_t | default_interval_ |
uint32_t | incremental_interval_ |
boost::scoped_ptr < VrouterStatsCollector > | vrouter_stats_collector_ |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (AgentUveStats) | |
Additional Inherited Members | |
![]() | |
static AgentUveBase * | GetInstance () |
![]() | |
static const uint32_t | kUveCountPerTimer = 64 |
static const uint32_t | kDefaultInterval = (30 * 1000) |
static const uint32_t | kIncrementalInterval = (1000) |
static const uint64_t | kBandwidthInterval = (1000000) |
![]() | |
static AgentUveBase * | singleton_ |
Definition at line 14 of file agent_uve_stats.h.
AgentUveStats::AgentUveStats | ( | Agent * | agent, |
uint64_t | intvl, | ||
uint32_t | default_intvl, | ||
uint32_t | incremental_intvl | ||
) |
Definition at line 22 of file agent_uve_stats.cc.
|
virtual |
Definition at line 33 of file agent_uve_stats.cc.
|
private |
|
virtual |
Reimplemented from AgentUveBase.
Definition at line 50 of file agent_uve_stats.cc.
|
virtual |
Reimplemented from AgentUveBase.
Definition at line 45 of file agent_uve_stats.cc.
|
virtual |
Reimplemented from AgentUveBase.
Definition at line 40 of file agent_uve_stats.cc.
StatsManager * AgentUveStats::stats_manager | ( | ) | const |
Definition at line 36 of file agent_uve_stats.cc.
|
protected |
Definition at line 26 of file agent_uve_stats.h.