AWS SDK for C++  1.9.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::Client::RetryQuotaContainer Class Referenceabstract

#include <RetryStrategy.h>

+ Inheritance diagram for Aws::Client::RetryQuotaContainer:

Public Member Functions

virtual ~RetryQuotaContainer ()=default
 
virtual bool AcquireRetryQuota (int capacityAmount)=0
 
virtual bool AcquireRetryQuota (const AWSError< CoreErrors > &error)=0
 
virtual void ReleaseRetryQuota (int capacityAmount)=0
 
virtual void ReleaseRetryQuota (const AWSError< CoreErrors > &lastError)=0
 
virtual int GetRetryQuota () const =0
 

Detailed Description

The container for retry quotas. A failed request will acquire retry quotas to retry. And a successful request will release quotas back. If running out of retry quotas, then the client is not able to retry.

Definition at line 74 of file RetryStrategy.h.

Constructor & Destructor Documentation

◆ ~RetryQuotaContainer()

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

Member Function Documentation

◆ AcquireRetryQuota() [1/2]

virtual bool Aws::Client::RetryQuotaContainer::AcquireRetryQuota ( const AWSError< CoreErrors > &  error)
pure virtual

◆ AcquireRetryQuota() [2/2]

virtual bool Aws::Client::RetryQuotaContainer::AcquireRetryQuota ( int  capacityAmount)
pure virtual

◆ GetRetryQuota()

virtual int Aws::Client::RetryQuotaContainer::GetRetryQuota ( ) const
pure virtual

◆ ReleaseRetryQuota() [1/2]

virtual void Aws::Client::RetryQuotaContainer::ReleaseRetryQuota ( const AWSError< CoreErrors > &  lastError)
pure virtual

◆ ReleaseRetryQuota() [2/2]

virtual void Aws::Client::RetryQuotaContainer::ReleaseRetryQuota ( int  capacityAmount)
pure virtual

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