Public Member Functions | Public Attributes | List of all members
ThrottledClient Class Reference
Inheritance diagram for ThrottledClient:
Inheritance graph
[legend]

Public Member Functions

 ThrottledClient (double max_api_tps)
 
DummyOutcome ThrottledFunction () const
 
- Public Member Functions inherited from BaseClient
virtual DummyOutcome ThrottledFunction (int number) const
 

Public Attributes

std::atomic< int > throttled_function_call_count_ {0}
 
- Public Attributes inherited from BaseClient
std::atomic< int > throttled_function_call_count_ {0}
 

Additional Inherited Members

- Private Member Functions inherited from Aws::Client::ThrottlingManager
template<class T , class U , class E , typename... ErrorArgs>
MakeCall (std::function< T(const U &request)> api, const U &api_param, std::string api_name, ErrorArgs...error_on_throttling_args) const
 
void SetMaxApiTps (const std::string &api, double tps)
 

Detailed Description

Definition at line 37 of file throttling_manager_test.cpp.

Constructor & Destructor Documentation

ThrottledClient::ThrottledClient ( double  max_api_tps)
inlineexplicit

Definition at line 40 of file throttling_manager_test.cpp.

Member Function Documentation

DummyOutcome ThrottledClient::ThrottledFunction ( ) const
inline

Definition at line 45 of file throttling_manager_test.cpp.

Member Data Documentation

std::atomic<int> ThrottledClient::throttled_function_call_count_ {0}
mutable

Definition at line 55 of file throttling_manager_test.cpp.


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


aws_common
Author(s): AWS RoboMaker
autogenerated on Sat Mar 6 2021 03:11:38