Open Lighting Architecture
|
A backoff policy will calculate how long to wait before retrying an event given the number of previous failed attempts.
Public Member Functions | |
virtual TimeInterval | BackOffTime (unsigned int failed_attempts) const =0 |
|
pure virtual |
Failed attempts is the number of unsuccessfull connection attempts since the last successful connection.
Implemented in ola::ExponentialBackoffPolicy, ola::LinearBackoffPolicy, and ola::ConstantBackoffPolicy.