C++ Server-Side SDK
LaunchDarkly SDK
|
IDataSystem obtains data used for flag evaluations and makes it available to other components. More...
#include <idata_system.hpp>
Public Member Functions | |
virtual std::string const & | Identity () const =0 |
virtual void | Initialize ()=0 |
Initializes the system. This method will be called before any of the IStore methods are called. | |
IDataSystem (IDataSystem const &item)=delete | |
IDataSystem (IDataSystem &&item)=delete | |
IDataSystem & | operator= (IDataSystem const &)=delete |
IDataSystem & | operator= (IDataSystem &&)=delete |
![]() | |
virtual std::shared_ptr< data_model::FlagDescriptor > | GetFlag (std::string const &key) const =0 |
Get the flag named by key. Returns nullptr if no such flag exists. | |
virtual std::shared_ptr< data_model::SegmentDescriptor > | GetSegment (std::string const &key) const =0 |
Get the segment named by key. Returns nullptr if no such flag exists. | |
virtual std::unordered_map< std::string, std::shared_ptr< data_model::FlagDescriptor > > | AllFlags () const =0 |
Get a map of all flags. | |
virtual std::unordered_map< std::string, std::shared_ptr< data_model::SegmentDescriptor > > | AllSegments () const =0 |
Get a map of all segments. | |
virtual bool | Initialized () const =0 |
IStore (IStore const &item)=delete | |
IStore (IStore &&item)=delete | |
IStore & | operator= (IStore const &)=delete |
IStore & | operator= (IStore &&)=delete |
IDataSystem obtains data used for flag evaluations and makes it available to other components.
|
pure virtual |
Implemented in launchdarkly::server_side::data_systems::BackgroundSync, launchdarkly::server_side::data_systems::LazyLoad, and launchdarkly::server_side::data_systems::OfflineSystem.
|
pure virtual |
Initializes the system. This method will be called before any of the IStore methods are called.
Implemented in launchdarkly::server_side::data_systems::BackgroundSync, launchdarkly::server_side::data_systems::LazyLoad, and launchdarkly::server_side::data_systems::OfflineSystem.