C++ Client-Side SDK
LaunchDarkly SDK
Public Member Functions | List of all members
launchdarkly::client_side::flag_manager::FlagManager Class Reference

#include <flag_manager.hpp>

Public Member Functions

 FlagManager (std::string const &sdk_key, Logger &logger, std::size_t max_cached_contexts, std::shared_ptr< IPersistence > persistence)
 
IDataSourceUpdateSink & Updater ()
 
IFlagNotifier & Notifier ()
 
FlagStore const & Store () const
 
FlagPersistence & Cache ()
 
void LoadCache (Context const &context)
 

Detailed Description

Owns the flag store and the update pipeline that feeds it.

Thread-safe: each part it exposes is itself thread-safe.

Member Function Documentation

◆ Cache()

FlagPersistence & launchdarkly::client_side::flag_manager::FlagManager::Cache ( )

Returns the local cache the SDK persists flag data to.


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