Package com.launchdarkly.sdk.server.integrations
This package contains integration tools for connecting the SDK to other software components, or
configuring how it connects to LaunchDarkly.
In the current main LaunchDarkly Java SDK library, this package contains the configuration builders
for the standard SDK components such as StreamingDataSourceBuilder
,
the PersistentDataStoreBuilder
builder for use with
database integrations (the specific database integrations themselves are provided by add-on libraries),
and FileData
(for reading flags from a file in testing).
-
Class Summary Class Description ApplicationInfoBuilder Contains methods for configuring the SDK's application metadata.BigSegmentsConfigurationBuilder Contains methods for configuring the SDK's Big Segments behavior.EventProcessorBuilder Contains methods for configuring delivery of analytics events.FileData Integration between the LaunchDarkly SDK and file data.FileDataSourceBuilder To use the file data source, obtain a new instance of this class withFileData.dataSource()
; call the builder methodFileDataSourceBuilder.filePaths(String...)
to specify file path(s), and/orFileDataSourceBuilder.classpathResources(String...)
to specify classpath data resources; then pass the resulting object toLDConfig.Builder.dataSource(ComponentConfigurer)
.HttpConfigurationBuilder Contains methods for configuring the SDK's networking behavior.LoggingConfigurationBuilder Contains methods for configuring the SDK's logging behavior.PersistentDataStoreBuilder A configurable factory for a persistent data store.PollingDataSourceBuilder Contains methods for configuring the polling data source.ServiceEndpointsBuilder Contains methods for configuring the SDK's service URIs.StreamingDataSourceBuilder Contains methods for configuring the streaming data source.TestData A mechanism for providing dynamically updatable feature flag state in a simplified form to an SDK client in test scenarios.TestData.FlagBuilder A builder for feature flag configurations to be used withTestData
. -
Enum Summary Enum Description FileData.DuplicateKeysHandling Determines how duplicate feature flag or segment keys are handled.PersistentDataStoreBuilder.StaleValuesPolicy Possible values forPersistentDataStoreBuilder.staleValuesPolicy(StaleValuesPolicy)
.