C++ Server-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
launchdarkly::server_side::data_interfaces::IDataSystem Class Referenceabstract

IDataSystem obtains data used for flag evaluations and makes it available to other components. More...

#include <idata_system.hpp>

Inheritance diagram for launchdarkly::server_side::data_interfaces::IDataSystem:
Inheritance graph
[legend]
Collaboration diagram for launchdarkly::server_side::data_interfaces::IDataSystem:
Collaboration graph
[legend]

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
 
IDataSystemoperator= (IDataSystem const &)=delete
 
IDataSystemoperator= (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.
 
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
 
IStoreoperator= (IStore const &)=delete
 
IStoreoperator= (IStore &&)=delete
 

Detailed Description

IDataSystem obtains data used for flag evaluations and makes it available to other components.

Member Function Documentation

◆ Identity()

virtual std::string const & launchdarkly::server_side::data_interfaces::IDataSystem::Identity ( ) const
pure virtual

◆ Initialize()

virtual void launchdarkly::server_side::data_interfaces::IDataSystem::Initialize ( )
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.


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