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

#include <conditions.hpp>

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

Public Member Functions

 FallbackCondition (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 continuously interrupted for the configured timeout. Each CHANGE_SET result cancels any pending timer; the next Interrupted status re-arms it.

Member Function Documentation

◆ GetType()

Type launchdarkly::server_side::data_systems::FallbackCondition::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::FallbackCondition::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: