Kea 2.5.9
monitored_duration_store.h File Reference
#include <exceptions/exceptions.h>
#include <monitored_duration.h>
#include <boost/multi_index/indexed_by.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index/identity.hpp>
#include <boost/scoped_ptr.hpp>
#include <string>
+ Include dependency graph for monitored_duration_store.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::perfmon::DuplicateDurationKey
 Exception thrown when an attempt was made to add a duplicate duration to the store. More...
 
struct  isc::perfmon::DurationKeyTag
 Tag for index by primary key (DurationKey). More...
 
struct  isc::perfmon::IntervalStartTag
 Tag for index by interval start time. More...
 
class  isc::perfmon::MonitoredDurationStore
 Maintains an in-memory store of durations. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::perfmon
 

Typedefs

typedef std::vector< MonitoredDurationPtr > isc::perfmon::MonitoredDurationCollection
 Type for a collection of MonitoredDurationPtrs.
 
typedef boost::shared_ptr< MonitoredDurationCollection > isc::perfmon::MonitoredDurationCollectionPtr
 Type for a pointer to a collection of MonitoredDurationPtrs.
 
typedef boost::multi_index_container< MonitoredDurationPtr, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< DurationKeyTag >, boost::multi_index::composite_key< MonitoredDuration, boost::multi_index::const_mem_fun< DurationKey, uint8_t, &DurationKey::getQueryType >, boost::multi_index::const_mem_fun< DurationKey, uint8_t, &DurationKey::getResponseType >, boost::multi_index::const_mem_fun< DurationKey, std::string, &DurationKey::getStartEventLabel >, boost::multi_index::const_mem_fun< DurationKey, std::string, &DurationKey::getStopEventLabel >, boost::multi_index::const_mem_fun< DurationKey, dhcp::SubnetID, &DurationKey::getSubnetId > > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< IntervalStartTag >, boost::multi_index::const_mem_fun< MonitoredDuration, Timestamp, &MonitoredDuration::getCurrentIntervalStart > > > > isc::perfmon::MonitoredDurationContainer
 A multi index container holding pointers to durations.
 
typedef boost::shared_ptr< MonitoredDurationStore > isc::perfmon::MonitoredDurationStorePtr