CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
MetricsClass Class Referenceabstract

Abstract base class used to interface C functions to the C++ AWS-SDK for CloudWatch metrics and for the CDI metrics gathering service. More...

Inheritance diagram for MetricsClass:
MetricsGatherer UserMetrics

Public Member Functions

virtual ~MetricsClass ()
 
virtual CdiReturnStatus Send (const CloudWatchTransferStats *stats_ptr)=0
 

Static Protected Attributes

static AwsSdkState s_aws_sdk_state
 This static instance automatically initializes and shuts down the AWS SDK.
 

Detailed Description

Abstract base class used to interface C functions to the C++ AWS-SDK for CloudWatch metrics and for the CDI metrics gathering service.

Constructor & Destructor Documentation

◆ ~MetricsClass()

virtual MetricsClass::~MetricsClass ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Send()

virtual CdiReturnStatus MetricsClass::Send ( const CloudWatchTransferStats * stats_ptr)
pure virtual

Sends the statistics set to the object's destination.

Parameters
stats_ptrAddress of the statistics structure to publish.
Returns
CdiReturnStatus kCdiStatusOk if the statistics were successfully published, kCdiStatusCloudWatchThrottling if the service requires the publication rate to be reduced, or possibly some other value from CdiReturnStatus.

Implemented in MetricsGatherer, and UserMetrics.


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