ClientConfiguration is used to retrieve and store client settings from a local configuration JSON file. More...
#include <ClientConfiguration.h>
Public Member Functions | |
bool | InitClientConfiguration () |
AZ::s64 | GetMaxQueueSizeInBytes () const |
AZ::s64 | GetQueueFlushPeriodInSeconds () const |
bool | OfflineRecordingEnabled () const |
AZ::s64 | GetMaxNumRetries () const |
const char * | GetMetricsFileDir () const |
const char * | GetMetricsFileFullPath () const |
void | UpdateOfflineRecordingStatus (bool enable) |
ClientConfiguration is used to retrieve and store client settings from a local configuration JSON file.
AZ::s64 AWSMetrics::ClientConfiguration::GetMaxNumRetries | ( | ) | const |
Retrieve the settings for the maximum number of retries.
AZ::s64 AWSMetrics::ClientConfiguration::GetMaxQueueSizeInBytes | ( | ) | const |
Retrieve the max queue size setting.
const char * AWSMetrics::ClientConfiguration::GetMetricsFileDir | ( | ) | const |
Retrieve the directory of the local metrics file
const char * AWSMetrics::ClientConfiguration::GetMetricsFileFullPath | ( | ) | const |
Retrieve the full path of the local metrics file
AZ::s64 AWSMetrics::ClientConfiguration::GetQueueFlushPeriodInSeconds | ( | ) | const |
Retrieve the flush period setting.
bool AWSMetrics::ClientConfiguration::InitClientConfiguration | ( | ) |
Initialize the client settings based on the global setting registry.
bool AWSMetrics::ClientConfiguration::OfflineRecordingEnabled | ( | ) | const |
Status of the offline recording. Metrics will be sent to a local file instead of the backend if the offline recording is enabled.
void AWSMetrics::ClientConfiguration::UpdateOfflineRecordingStatus | ( | bool | enable | ) |
Enable/Disable the offline recording.
enable | Whether to enable the offline recording. |