|
C++ Server-Side SDK
LaunchDarkly SDK
|
#include <itransactional_destination.hpp>


Public Member Functions | |
| virtual void | Apply (data_model::ChangeSet< ChangeSetData > change_set)=0 |
| ITransactionalDestination (ITransactionalDestination const &)=delete | |
| ITransactionalDestination (ITransactionalDestination &&)=delete | |
| ITransactionalDestination & | operator= (ITransactionalDestination const &)=delete |
| ITransactionalDestination & | operator= (ITransactionalDestination &&)=delete |
Public Member Functions inherited from launchdarkly::server_side::data_interfaces::IDestination | |
| virtual void | Init (data_model::SDKDataSet data_set)=0 |
| Initialize the destination with a base set of data. More... | |
| virtual void | Upsert (std::string const &key, data_model::FlagDescriptor flag)=0 |
| Upsert a flag named by key. More... | |
| virtual void | Upsert (std::string const &key, data_model::SegmentDescriptor segment)=0 |
| Upsert a segment named by key. More... | |
| virtual std::string const & | Identity () const =0 |
| IDestination (IDestination const &item)=delete | |
| IDestination (IDestination &&item)=delete | |
| IDestination & | operator= (IDestination const &)=delete |
| IDestination & | operator= (IDestination &&)=delete |
ITransactionalDestination extends IDestination with the ability to apply an FDv2 changeset atomically.
A changeset is a batch of flag and segment upserts and deletions that must be applied as a unit; readers must never observe a partially applied changeset.
|
pure virtual |
Applies an FDv2 changeset to the destination atomically.