|
DataSystemBuilder & | Disable () |
| Alias for Enabled(false).
|
|
DataSystemBuilder & | Enabled (bool enabled) |
| Specifies if the data system is enabled or disabled. If disabled, the configured method won't be used. Defaults to true.
|
|
DataSystemBuilder & | Method (BackgroundSync bg_sync) |
| Configures the Background Sync data system. In this system, the SDK periodically receives updates from LaunchDarkly servers and stores them in an in-memory cache. This is the default data system.
|
|
DataSystemBuilder & | Method (LazyLoad lazy_load) |
| Configures the Lazy Load data system. In this system, the SDK pulls data on demand from a configured source, caching responses in memory for a configurable duration.
|
|
tl::expected< built::DataSystemConfig, Error > | Build () const |
|
◆ Disable()
DataSystemBuilder & launchdarkly::server_side::config::builders::DataSystemBuilder::Disable |
( |
| ) |
|
Alias for Enabled(false).
- Returns
- Reference to this.
◆ Enabled()
DataSystemBuilder & launchdarkly::server_side::config::builders::DataSystemBuilder::Enabled |
( |
bool |
enabled | ) |
|
Specifies if the data system is enabled or disabled. If disabled, the configured method won't be used. Defaults to true.
- Parameters
-
enabled | If the data system is enabled. |
- Returns
- Reference to this.
◆ Method() [1/2]
Configures the Background Sync data system. In this system, the SDK periodically receives updates from LaunchDarkly servers and stores them in an in-memory cache. This is the default data system.
- Parameters
-
bg_sync | Background Sync configuration. |
- Returns
- Reference to this.
◆ Method() [2/2]
Configures the Lazy Load data system. In this system, the SDK pulls data on demand from a configured source, caching responses in memory for a configurable duration.
- Parameters
-
lazy_load | Lazy Load configuration. |
- Returns
- Reference to this.
The documentation for this class was generated from the following files:
- include/launchdarkly/server_side/config/builders/data_system/data_system_builder.hpp
- src/config/builders/data_system/data_system_builder.cpp