Class Components

java.lang.Object
com.launchdarkly.sdk.server.Components

public abstract class Components
extends java.lang.Object
Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.

Some of the configuration options in LDConfig.Builder affect the entire SDK, but others are specific to one area of functionality, such as how the SDK receives feature flag updates or processes analytics events. For the latter, the standard way to specify a configuration is to call one of the static methods in Components (such as streamingDataSource()), apply any desired configuration change to the object that that method returns (such as StreamingDataSourceBuilder.initialReconnectDelay(java.time.Duration), and then use the corresponding method in LDConfig.Builder (such as LDConfig.Builder.dataSource(DataSourceFactory)) to use that configured component in the SDK.

Since:
4.0.0