|
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 |
Public Member Functions inherited from launchdarkly::server_side::data_interfaces::IStore | |
| 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. More... | |
| 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. More... | |
| virtual std::unordered_map< std::string, std::shared_ptr< data_model::FlagDescriptor > > | AllFlags () const =0 |
| Get a map of all flags. More... | |
| virtual std::unordered_map< std::string, std::shared_ptr< data_model::SegmentDescriptor > > | AllSegments () const =0 |
| Get a map of all segments. More... | |
| 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::OfflineSystem, launchdarkly::server_side::data_systems::LazyLoad, and launchdarkly::server_side::data_systems::BackgroundSync.