C++ Server-Side SDK
LaunchDarkly SDK
Public Member Functions | List of all members
launchdarkly::server_side::data_systems::RecoveryCondition Class Referencefinal

#include <conditions.hpp>

Inheritance diagram for launchdarkly::server_side::data_systems::RecoveryCondition:
Inheritance graph
[legend]
Collaboration diagram for launchdarkly::server_side::data_systems::RecoveryCondition:
Collaboration graph
[legend]

Public Member Functions

 RecoveryCondition (boost::asio::any_io_executor executor, std::chrono::milliseconds timeout)
 
void Inform (data_interfaces::FDv2SourceResult const &result) override
 
Type GetType () const override
 
- Public Member Functions inherited from launchdarkly::server_side::data_systems::TimedCondition
 TimedCondition (boost::asio::any_io_executor executor, std::chrono::milliseconds timeout)
 
async::Future< TypeExecute () override
 
void Close () override
 
- Public Member Functions inherited from launchdarkly::server_side::data_interfaces::IFDv2Condition
 IFDv2Condition (IFDv2Condition const &)=delete
 
 IFDv2Condition (IFDv2Condition &&)=delete
 
IFDv2Conditionoperator= (IFDv2Condition const &)=delete
 
IFDv2Conditionoperator= (IFDv2Condition &&)=delete
 

Additional Inherited Members

- Public Types inherited from launchdarkly::server_side::data_interfaces::IFDv2Condition
enum class  Type { kFallback , kRecovery , kCancelled }
 
- Protected Member Functions inherited from launchdarkly::server_side::data_systems::TimedCondition
void ArmTimer ()
 
void CancelTimer ()
 

Detailed Description

Fires after the active synchronizer has been running for the configured timeout, regardless of result content. The timer is started at construction; Inform() is a no-op.

Member Function Documentation

◆ GetType()

Type launchdarkly::server_side::data_systems::RecoveryCondition::GetType ( ) const
inlineoverridevirtual

Returns the condition's role in the orchestrator.

Implements launchdarkly::server_side::data_interfaces::IFDv2Condition.

◆ Inform()

void launchdarkly::server_side::data_systems::RecoveryCondition::Inform ( data_interfaces::FDv2SourceResult const &  result)
overridevirtual

Pushes a synchronizer result into the condition so it can update any internal state (e.g., arm or cancel a timer).

Implements launchdarkly::server_side::data_interfaces::IFDv2Condition.


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