AWS SDK for C++  1.9.129
AWS SDK for C++
Public Member Functions | Protected Attributes | List of all members
Aws::Client::DefaultRetryQuotaContainer Class Reference

#include <RetryStrategy.h>

+ Inheritance diagram for Aws::Client::DefaultRetryQuotaContainer:

Public Member Functions

 DefaultRetryQuotaContainer ()
 
virtual ~DefaultRetryQuotaContainer ()=default
 
virtual bool AcquireRetryQuota (int capacityAmount) override
 
virtual bool AcquireRetryQuota (const AWSError< CoreErrors > &error) override
 
virtual void ReleaseRetryQuota (int capacityAmount) override
 
virtual void ReleaseRetryQuota (const AWSError< CoreErrors > &lastError) override
 
virtual int GetRetryQuota () const override
 
- Public Member Functions inherited from Aws::Client::RetryQuotaContainer
virtual ~RetryQuotaContainer ()=default
 

Protected Attributes

Aws::Utils::Threading::ReaderWriterLock m_retryQuotaLock
 
int m_retryQuota
 

Detailed Description

Definition at line 85 of file RetryStrategy.h.

Constructor & Destructor Documentation

◆ DefaultRetryQuotaContainer()

Aws::Client::DefaultRetryQuotaContainer::DefaultRetryQuotaContainer ( )

◆ ~DefaultRetryQuotaContainer()

virtual Aws::Client::DefaultRetryQuotaContainer::~DefaultRetryQuotaContainer ( )
virtualdefault

Member Function Documentation

◆ AcquireRetryQuota() [1/2]

virtual bool Aws::Client::DefaultRetryQuotaContainer::AcquireRetryQuota ( const AWSError< CoreErrors > &  error)
overridevirtual

◆ AcquireRetryQuota() [2/2]

virtual bool Aws::Client::DefaultRetryQuotaContainer::AcquireRetryQuota ( int  capacityAmount)
overridevirtual

◆ GetRetryQuota()

virtual int Aws::Client::DefaultRetryQuotaContainer::GetRetryQuota ( ) const
inlineoverridevirtual

Implements Aws::Client::RetryQuotaContainer.

Definition at line 94 of file RetryStrategy.h.

◆ ReleaseRetryQuota() [1/2]

virtual void Aws::Client::DefaultRetryQuotaContainer::ReleaseRetryQuota ( const AWSError< CoreErrors > &  lastError)
overridevirtual

◆ ReleaseRetryQuota() [2/2]

virtual void Aws::Client::DefaultRetryQuotaContainer::ReleaseRetryQuota ( int  capacityAmount)
overridevirtual

Member Data Documentation

◆ m_retryQuota

int Aws::Client::DefaultRetryQuotaContainer::m_retryQuota
protected

Definition at line 98 of file RetryStrategy.h.

◆ m_retryQuotaLock

Aws::Utils::Threading::ReaderWriterLock Aws::Client::DefaultRetryQuotaContainer::m_retryQuotaLock
mutableprotected

Definition at line 97 of file RetryStrategy.h.


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