|
rippled
|

Public Types | |
| using | retryFunction = std::function< void(boost::system::error_code const &ec)> |
Public Member Functions | |
| ShardVerificationScheduler ()=default | |
| ShardVerificationScheduler (std::chrono::seconds retryInterval, std::uint32_t maxAttempts) | |
| bool | retry (Application &app, bool shouldHaveHash, retryFunction f) |
| void | reset () |
Private Types | |
| using | waitable_timer = boost::asio::basic_waitable_timer< std::chrono::steady_clock > |
Private Attributes | |
| const std::chrono::seconds | retryInterval_ {defaultRetryInterval_} |
| const std::uint32_t | maxAttempts_ {defaultmaxAttempts_} |
| std::unique_ptr< waitable_timer > | timer_ |
| std::uint32_t | numAttempts_ {0} |
Static Private Attributes | |
| static constexpr std::chrono::seconds | defaultRetryInterval_ {60} |
| static constexpr std::uint32_t | defaultmaxAttempts_ {5} |
Definition at line 29 of file ShardVerificationScheduler.h.
| using ripple::RPC::ShardVerificationScheduler::retryFunction = std::function<void(boost::system::error_code const& ec)> |
Definition at line 40 of file ShardVerificationScheduler.h.
|
private |
Definition at line 56 of file ShardVerificationScheduler.h.
|
default |
| ripple::RPC::ShardVerificationScheduler::ShardVerificationScheduler | ( | std::chrono::seconds | retryInterval, |
| std::uint32_t | maxAttempts | ||
| ) |
Definition at line 26 of file ShardVerificationScheduler.cpp.
| bool ripple::RPC::ShardVerificationScheduler::retry | ( | Application & | app, |
| bool | shouldHaveHash, | ||
| retryFunction | f | ||
| ) |
Definition at line 37 of file ShardVerificationScheduler.cpp.
| void ripple::RPC::ShardVerificationScheduler::reset | ( | ) |
Definition at line 62 of file ShardVerificationScheduler.cpp.
|
staticconstexprprivate |
Definition at line 64 of file ShardVerificationScheduler.h.
|
staticconstexprprivate |
Definition at line 66 of file ShardVerificationScheduler.h.
|
private |
Definition at line 70 of file ShardVerificationScheduler.h.
|
private |
Definition at line 73 of file ShardVerificationScheduler.h.
|
private |
Definition at line 75 of file ShardVerificationScheduler.h.
|
private |
Definition at line 78 of file ShardVerificationScheduler.h.
1.8.17