OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AgentUveStats Class Reference

#include <agent_uve_stats.h>

Inheritance diagram for AgentUveStats:
Collaboration diagram for AgentUveStats:

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 ()
 
StatsManagerstats_manager () const
 
void InitDone ()
 
- Public Member Functions inherited from AgentUveBase
 AgentUveBase (Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl)
 
virtual ~AgentUveBase ()
 
uint64_t bandwidth_intvl () const
 
VnUveTableBasevn_uve_table () const
 
VmUveTableBasevm_uve_table () const
 
Agentagent () const
 
VrouterUveEntryBasevrouter_uve_entry () const
 
ProuterUveTableprouter_uve_table () const
 
InterfaceUveTableinterface_uve_table () const
 
VrouterStatsCollectorvrouter_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< StatsManagerstats_manager_
 
- Protected Attributes inherited from AgentUveBase
boost::scoped_ptr< VnUveTableBasevn_uve_table_
 
boost::scoped_ptr< VmUveTableBasevm_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 Public Member Functions inherited from AgentUveBase
static AgentUveBaseGetInstance ()
 
- Static Public Attributes inherited from AgentUveBase
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 Protected Attributes inherited from AgentUveBase
static AgentUveBasesingleton_
 

Detailed Description

Definition at line 14 of file agent_uve_stats.h.

Constructor & Destructor Documentation

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.

AgentUveStats::~AgentUveStats ( )
virtual

Definition at line 33 of file agent_uve_stats.cc.

Member Function Documentation

AgentUveStats::DISALLOW_COPY_AND_ASSIGN ( AgentUveStats  )
private
void AgentUveStats::InitDone ( )
virtual

Reimplemented from AgentUveBase.

Definition at line 50 of file agent_uve_stats.cc.

Here is the call graph for this function:

void AgentUveStats::RegisterDBClients ( )
virtual

Reimplemented from AgentUveBase.

Definition at line 45 of file agent_uve_stats.cc.

Here is the call graph for this function:

void AgentUveStats::Shutdown ( )
virtual

Reimplemented from AgentUveBase.

Definition at line 40 of file agent_uve_stats.cc.

Here is the call graph for this function:

StatsManager * AgentUveStats::stats_manager ( ) const

Definition at line 36 of file agent_uve_stats.cc.

Member Data Documentation

boost::scoped_ptr<StatsManager> AgentUveStats::stats_manager_
protected

Definition at line 26 of file agent_uve_stats.h.


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