9 #include <launchdarkly/config/shared/built/persistence.hpp>
10 #include <launchdarkly/config/shared/defaults.hpp>
11 #include <launchdarkly/config/shared/sdks.hpp>
12 #include <launchdarkly/persistence/persistence.hpp>
14 namespace launchdarkly::config::shared::builders {
15 template <
typename SDK>
31 CustomBuilder& Implementation(
32 std::shared_ptr<IPersistence> implementation);
35 std::shared_ptr<IPersistence> implementation_;
39 using PersistenceType = std::variant<NoneBuilder, CustomBuilder>;
80 PersistenceType type_;
81 std::size_t max_contexts_;
PersistenceBuilder & MaxContexts(std::size_t count)
Definition: persistence_builder.hpp:16
Definition: persistence.hpp:16