- adapter(LDLogAdapter) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
-
Specifies the implementation of logging to use.
- add(LDValue) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(boolean) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(int) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(long) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(float) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(double) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(String) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(LDContext) - Method in class com.launchdarkly.sdk.ContextMultiBuilder
-
Adds an individual LDContext for a specific kind to the builer.
- add(String, LDValue, Integer, EvaluationReason, int, boolean, Long, List<String>) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
Adds data to the builder representing the result of a feature flag evaluation.
- add(String, LDValue, Integer, EvaluationReason, int, boolean, boolean, Long, List<String>) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
Adds data to the builder representing the result of a feature flag evaluation.
- addCustomHeader(String, String) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom HTTP header that should be added to all SDK requests.
- addFlagChangeListener(FlagChangeListener) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagTracker
-
Registers a listener to be notified of feature flag changes in general.
- addFlagValueChangeListener(String, LDContext, FlagValueChangeListener) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagTracker
-
Registers a listener to be notified of a change in a specific feature flag's value for a specific
evaluation context.
- addStatusListener(BigSegmentStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider
-
Subscribes for notifications of status changes.
- addStatusListener(DataSourceStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
-
Subscribes for notifications of status changes.
- addStatusListener(DataStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Subscribes for notifications of status changes.
- afterEvaluation(EvaluationSeriesContext, Map<String, Object>, EvaluationDetail<LDValue>) - Method in class com.launchdarkly.sdk.server.integrations.Hook
-
- ALL_DATA_KINDS - Static variable in class com.launchdarkly.sdk.server.DataModel
-
- allAttributesPrivate - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- allAttributesPrivate(boolean) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Sets whether or not all optional user attributes should be hidden from LaunchDarkly.
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.EvaluatorInterface
-
Evaluates all flags.
- allFlagsState(LDContext, FlagsStateOption...) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an object that encapsulates the state of all feature flags for a given context, which can be
passed to front-end code.
- allFlagsState(LDContext, FlagsStateOption...) - Method in class com.launchdarkly.sdk.server.LDClient
-
- andMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is one of" operator.
- andMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is one of" operator.
- andNotMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is not one of" operator.
- andNotMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is not one of" operator.
- anonymous(boolean) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Sets whether the context is only intended for flag evaluations and should not be
indexed by LaunchDarkly.
- anonymous(boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets whether this user is anonymous.
- ANONYMOUS - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the anonymous attribute.
- applicationId(String) - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Sets a unique identifier representing the application where the LaunchDarkly SDK is running.
- applicationInfo() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for the SDK's application metadata.
- ApplicationInfo - Class in com.launchdarkly.sdk.server.interfaces
-
Encapsulates the SDK's application metadata.
- ApplicationInfo(String, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
Used internally by the SDK to store application metadata.
- applicationInfo(ApplicationInfoBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the SDK's application metadata, which may be used in LaunchDarkly analytics or other product features,
but does not affect feature flag evaluations.
- ApplicationInfoBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the SDK's application metadata.
- ApplicationInfoBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Create an empty ApplicationInfoBuilder.
- applicationVersion(String) - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Sets a unique identifier representing the version of the application where the LaunchDarkly SDK
is running.
- apply(DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.TransactionalDataSourceUpdateSink
-
Apply the given change set to the store.
- apply(DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.TransactionalDataStore
-
Apply the given change set to the store.
- ArrayBuilder - Class in com.launchdarkly.sdk
-
- ArrayBuilder() - Constructor for class com.launchdarkly.sdk.ArrayBuilder
-
- arrayFrom(Iterable<T>) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue as an array, from a sequence of this type.
- arrayOf(LDValue...) - Static method in class com.launchdarkly.sdk.LDValue
-
Creates an array value from the specified values.
- arrayOf(T...) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue as an array, from a sequence of this type.
- AttributeRef - Class in com.launchdarkly.sdk
-
An attribute name or path expression identifying a value within an
LDContext.
- autoUpdate(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Specifies whether the data source should watch for changes to the source file(s) and reload flags
whenever there is a change.
- autoUpdate(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Specifies whether the data source should watch for changes to the source file(s) and reload flags
whenever there is a change.
- avatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's avatar.
- AVATAR - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the avatar URL attribute.
- cacheForever() - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies that the in-memory cache should never expire.
- cacheMillis(long) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- cacheSeconds(long) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- CacheStats(long, long, long, long, long, long) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
Constructs a new instance.
- cacheTime - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- cacheTime(Duration) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies the cache TTL.
- capacity - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- capacity(int) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Set the capacity of the events buffer.
- Challenge(String, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
Constructs an instance.
- changeSet(DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor>, boolean) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- changeSet(DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor>, boolean, Function<Void, Void>) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- ChangeSet(DataStoreTypes.ChangeSetType, Selector, Iterable<Map.Entry<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TItemDescriptor>>>, String, boolean) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Constructs a new ChangeSet instance.
- check() - Method in interface com.launchdarkly.sdk.server.MigrationOpTracker.Checker
-
- check(TReadResult, TReadResult) - Method in interface com.launchdarkly.sdk.server.migrations.Migration.ReadConsistencyChecker
-
- checkMembership(String) - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.Membership
-
Tests whether the user is explicitly included or explicitly excluded in the specified
segment, or neither.
- classpathResources(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileInitializerBuilder
-
Adds any number of classpath resources for loading flag data.
- classpathResources(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Adds any number of classpath resources for loading flag data.
- classpathResources(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Adds any number of classpath resources for loading flag data.
- clearRules() - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Removes any existing rules from the flag.
- clearTargets() - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Removes any existing user/context targets from the flag.
- CLIENT_SIDE_ONLY - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
-
Specifies that only flags marked for use with the client-side SDK should be included in the state object.
- ClientContext - Class in com.launchdarkly.sdk.server.subsystems
-
Context information provided by the
LDClient when creating components.
- ClientContext(String, ApplicationInfo, HttpConfiguration, LoggingConfiguration, boolean, ServiceEndpoints, int, WrapperInfo) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Constructor that sets all properties.
- ClientContext(ClientContext) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Copy constructor.
- ClientContext(String) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Basic constructor for convenience in testing, using defaults for most properties.
- close() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- close() - Method in class com.launchdarkly.sdk.server.DefaultFDv2Requestor
-
Closes the HTTP client and releases resources.
- close() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- close() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- close() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Closes the LaunchDarkly client event processing thread.
- close() - Method in class com.launchdarkly.sdk.server.LDClient
-
Shuts down the client and releases any resources it is using.
- close() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Tells the component to shut down and release any resources it is using.
- com.launchdarkly.sdk - package com.launchdarkly.sdk
-
Base namespace for LaunchDarkly Java-based SDKs, containing common types.
- com.launchdarkly.sdk.json - package com.launchdarkly.sdk.json
-
Helper classes and methods for interoperability with JSON.
- com.launchdarkly.sdk.server - package com.launchdarkly.sdk.server
-
Main package for the LaunchDarkly Server-Side Java SDK, containing the client and configuration classes.
- com.launchdarkly.sdk.server.datasources - package com.launchdarkly.sdk.server.datasources
-
Internal data source components for FDv2 protocol support.
- com.launchdarkly.sdk.server.integrations - 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.
- com.launchdarkly.sdk.server.integrations.reactor - package com.launchdarkly.sdk.server.integrations.reactor
-
This package contains components for using the SDK in reactive stream programming.
- com.launchdarkly.sdk.server.interfaces - package com.launchdarkly.sdk.server.interfaces
-
Types that are part of the public API, but are not needed for basic use of the SDK.
- com.launchdarkly.sdk.server.migrations - package com.launchdarkly.sdk.server.migrations
-
Implementations related to technology migrations.
- com.launchdarkly.sdk.server.subsystems - package com.launchdarkly.sdk.server.subsystems
-
Interfaces for implementation of LaunchDarkly SDK components.
- compareTo(AttributeRef) - Method in class com.launchdarkly.sdk.AttributeRef
-
- compareTo(ContextKind) - Method in class com.launchdarkly.sdk.ContextKind
-
- ComponentConfigurer<T> - Interface in com.launchdarkly.sdk.server.subsystems
-
The common interface for SDK component factories and configuration builders.
- Components - Class in com.launchdarkly.sdk.server
-
Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.
- connectTimeout - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- connectTimeout(Duration) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets the connection timeout.
- consistency(MigrationOpTracker.Checker) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
-
Check the consistency of a read result.
- ConsistencyCheck - Enum in com.launchdarkly.sdk.server.interfaces
-
Consistency check result.
- context - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
-
The context the evaluation was for.
- ContextBuilder - Class in com.launchdarkly.sdk
-
A mutable object that uses the builder pattern to specify properties for
LDContext.
- ContextKind - Class in com.launchdarkly.sdk
-
A string identifier provided by the application to describe what kind of entity an
LDContext represents.
- ContextMultiBuilder - Class in com.launchdarkly.sdk
-
A mutable object that uses the builder pattern to specify properties for a multi-kind
LDContext.
- Converter() - Constructor for class com.launchdarkly.sdk.LDValue.Converter
-
- country(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Set the country for a user.
- COUNTRY - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the country attribute.
- create(String) - Static method in class com.launchdarkly.sdk.LDContext
-
- create(ContextKind, String) - Static method in class com.launchdarkly.sdk.LDContext
-
Creates a single-kind LDContext with only the kind and keys specified.
- createApplicationInfo() - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Called internally by the SDK to create the configuration object.
- createMembershipFromSegmentRefs(Iterable<String>, Iterable<String>) - Static method in class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes
-
- createMulti(LDContext...) - Static method in class com.launchdarkly.sdk.LDContext
-
Creates a multi-kind LDContext out of the specified single-kind LDContexts.
- createServiceEndpoints() - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Called internally by the SDK to create a configuration instance.
- custom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds a String-valued custom attribute.
- custom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds an integer-valued custom attribute.
- custom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds a double-precision numeric custom attribute.
- custom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a boolean-valued custom attribute.
- custom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a custom attribute whose value can be any JSON type, using
LDValue.
- custom() - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
Custom returns a builder suitable for creating a custom data acquisition strategy.
- customHeaders - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- daemon(ComponentConfigurer<DataStore>) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
Configures the SDK to read from a persistent store integration that is populated by Relay Proxy
or other SDKs.
- DataKind(String, Function<DataStoreTypes.ItemDescriptor, String>, Function<String, DataStoreTypes.ItemDescriptor>) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Constructs a DataKind instance.
- DataModel - Class in com.launchdarkly.sdk.server
-
Contains information about the internal data model for feature flags and user segments.
- dataSource() - Static method in class com.launchdarkly.sdk.server.integrations.FileData
-
- dataSource() - Static method in class com.launchdarkly.sdk.server.integrations.TestData
-
Creates a new instance of the test data source.
- dataSource(ComponentConfigurer<DataSource>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the implementation of the component that receives feature flag data from LaunchDarkly,
using a factory object.
- DataSource - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for an object that receives updates to feature flags, user segments, and anything
else that might come from LaunchDarkly, and passes them to a
DataStore.
- DataSourceBuilder<TDataSource> - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for building synchronizers and initializers.
- DataSourceBuildInputs - Class in com.launchdarkly.sdk.server.subsystems
-
Build information (dependencies and configuration) provided to initializer and synchronizer builders.
- DataSourceBuildInputs(LDLogger, int, DataSourceUpdateSink, ServiceEndpoints, HttpConfiguration, ScheduledExecutorService, DiagnosticStore, SelectorSource) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Constructs a DataSourceBuilderContext.
- dataSourceStatusChanged(DataSourceStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.StatusListener
-
Called when any property of the data source status has changed.
- DataSourceStatusProvider - Interface in com.launchdarkly.sdk.server.interfaces
-
An interface for querying the status of the SDK's data source.
- DataSourceStatusProvider.ErrorInfo - Class in com.launchdarkly.sdk.server.interfaces
-
A description of an error condition that the data source encountered.
- DataSourceStatusProvider.ErrorKind - Enum in com.launchdarkly.sdk.server.interfaces
-
- DataSourceStatusProvider.State - Enum in com.launchdarkly.sdk.server.interfaces
-
- DataSourceStatusProvider.Status - Class in com.launchdarkly.sdk.server.interfaces
-
Information about the data source's status and about the last status change.
- DataSourceStatusProvider.StatusListener - Interface in com.launchdarkly.sdk.server.interfaces
-
Interface for receiving status change notifications.
- DataSourceUpdateSink - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface that a data source implementation will use to push data into the SDK.
- DataSourceUpdateSinkV2 - Interface in com.launchdarkly.sdk.server.subsystems
-
Interfaces required by data source updates implementations in FDv2.
- dataStore(ComponentConfigurer<DataStore>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the implementation of the data store to be used for holding feature flags and
related data received from LaunchDarkly, using a factory object.
- DataStore - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for a data store that holds feature flags and related data received by the SDK.
- dataStoreStatusChanged(DataStoreStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.StatusListener
-
Called when the store status has changed.
- DataStoreStatusProvider - Interface in com.launchdarkly.sdk.server.interfaces
-
An interface for querying the status of a persistent data store.
- DataStoreStatusProvider.CacheStats - Class in com.launchdarkly.sdk.server.interfaces
-
A snapshot of cache statistics.
- DataStoreStatusProvider.Status - Class in com.launchdarkly.sdk.server.interfaces
-
Information about a status change.
- DataStoreStatusProvider.StatusListener - Interface in com.launchdarkly.sdk.server.interfaces
-
Interface for receiving status change notifications.
- DataStoreTypes - Class in com.launchdarkly.sdk.server.subsystems
-
Types that are used by the
DataStore interface.
- DataStoreTypes.ChangeSet<TItemDescriptor> - Class in com.launchdarkly.sdk.server.subsystems
-
Represents a set of changes to apply to a store.
- DataStoreTypes.ChangeSetType - Enum in com.launchdarkly.sdk.server.subsystems
-
Enumeration that indicates if this change is a full or partial change.
- DataStoreTypes.DataKind - Class in com.launchdarkly.sdk.server.subsystems
-
Represents a separately namespaced collection of storable data items.
- DataStoreTypes.FullDataSet<TDescriptor> - Class in com.launchdarkly.sdk.server.subsystems
-
Wrapper for a set of storable items being passed to a data store.
- DataStoreTypes.ItemDescriptor - Class in com.launchdarkly.sdk.server.subsystems
-
A versioned item (or placeholder) storable in a
DataStore.
- DataStoreTypes.KeyedItems<TDescriptor> - Class in com.launchdarkly.sdk.server.subsystems
-
- DataStoreTypes.SerializedItemDescriptor - Class in com.launchdarkly.sdk.server.subsystems
-
- DataStoreUpdateSink - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface that a data store implementation can use to report information back to the SDK.
- dataSystem() - Static method in class com.launchdarkly.sdk.server.Components
-
This API is under active development.
- dataSystem(DataSystemBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the data system configuration.
- DataSystemBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Configuration builder for the SDK's data acquisition and storage strategy.
- DataSystemBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.DataSystemBuilder
-
- DataSystemComponents - Class in com.launchdarkly.sdk.server
-
Components for use with the data system.
- DataSystemConfiguration - Class in com.launchdarkly.sdk.server.subsystems
-
Configuration for the SDK's data acquisition and storage strategy.
- DataSystemConfiguration(ImmutableList<DataSourceBuilder<Initializer>>, ImmutableList<DataSourceBuilder<Synchronizer>>, ComponentConfigurer<DataSource>, ComponentConfigurer<DataStore>, DataSystemConfiguration.DataStoreMode) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
Creates an instance.
- DataSystemConfiguration.DataStoreMode - Enum in com.launchdarkly.sdk.server.subsystems
-
The persistent data store mode.
- DataSystemModes - Class in com.launchdarkly.sdk.server.integrations
-
A set of different data system modes which provide pre-configured
DataSystemBuilders.
- DataSystemModes() - Constructor for class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
- DEFAULT - Static variable in class com.launchdarkly.sdk.ContextKind
-
A constant for the default kind of "user".
- DEFAULT - Static variable in class com.launchdarkly.sdk.server.LDConfig
-
- DEFAULT_CACHE_TTL - Static variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
The default value for the cache TTL.
- DEFAULT_CAPACITY - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_CONNECT_TIMEOUT - Static variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- DEFAULT_DIAGNOSTIC_RECORDING_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_EVENTS_BASE_URI - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- DEFAULT_FLUSH_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- DEFAULT_LOG_DATA_SOURCE_OUTAGE_AS_ERROR_AFTER - Static variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
-
- DEFAULT_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- DEFAULT_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- DEFAULT_POLLING_BASE_URI - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- DEFAULT_SOCKET_TIMEOUT - Static variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- DEFAULT_STALE_AFTER - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_START_WAIT - Static variable in class com.launchdarkly.sdk.server.LDConfig
-
- DEFAULT_STATUS_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_STREAMING_BASE_URI - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- DEFAULT_USER_CACHE_SIZE - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_USER_CACHE_TIME - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_USER_KEYS_CAPACITY - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_USER_KEYS_FLUSH_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DefaultFDv2Requestor - Class in com.launchdarkly.sdk.server
-
Implementation of FDv2Requestor for polling feature flag data via FDv2 protocol.
- DefaultFDv2Requestor(HttpProperties, URI, String, String, LDLogger) - Constructor for class com.launchdarkly.sdk.server.DefaultFDv2Requestor
-
Creates a DefaultFDv2Requestor.
- defaultMode() - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
Configure's LaunchDarkly's recommended flag data acquisition strategy.
- defaultValue - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
-
The user-provided default value for the evaluation.
- delete(String) - Method in class com.launchdarkly.sdk.server.integrations.TestData
-
Deletes a specific flag from the test data by create a versioned tombstone.
- delete(String) - Method in class com.launchdarkly.sdk.server.integrations.TestDataV2
-
Deletes a specific flag from the test data by create a versioned tombstone.
- deletedItem(int) - Static method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Convenience method for constructing a deleted item placeholder.
- describeConfiguration(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
- describeConfiguration(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- describeConfiguration(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- describeConfiguration(ClientContext) - Method in interface com.launchdarkly.sdk.server.subsystems.DiagnosticDescription
-
Used internally by the SDK to inspect the configuration.
- deserialize(String, Class<T>) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Parses an object from its JSON representation.
- deserialize(String) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Creates an item of this kind from its serialized representation.
- DETAILS_ONLY_FOR_TRACKED_FLAGS - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
-
Specifies that any flag metadata that is normally only used for event generation - such as flag versions and
evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on.
- DiagnosticDescription - Interface in com.launchdarkly.sdk.server.subsystems
-
Optional interface for components to describe their own configuration.
- diagnosticOptOut(boolean) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Set to true to opt out of sending diagnostics data.
- diagnosticRecordingInterval - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- diagnosticRecordingInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Sets the interval at which periodic diagnostic data is sent.
- Double - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- doubleValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a double if it is numeric.
- doubleVariation(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- doubleVariation(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- doubleVariation(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the floating-point numeric value of a feature flag for a given context.
- doubleVariation(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.LDClient
-
- doubleVariationDetail(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- doubleVariationDetail(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- doubleVariationDetail(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the floating-point numeric value of a feature flag for a given context, and returns an
object that describes the way the value was determined.
- doubleVariationDetail(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.LDClient
-
- duplicateKeysHandling(FileData.DuplicateKeysHandling) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileInitializerBuilder
-
Specifies how to handle keys that are duplicated across files.
- duplicateKeysHandling(FileData.DuplicateKeysHandling) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Specifies how to handle keys that are duplicated across files.
- duplicateKeysHandling(FileData.DuplicateKeysHandling) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Specifies how to handle keys that are duplicated across files.
- Failure() - Static method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Construct a method result representing a failure.
- Failure(Exception) - Static method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Construct a method result representing a failure based on an Exception.
- fallthrough() - Static method in class com.launchdarkly.sdk.EvaluationReason
-
- fallthrough(boolean) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind is
EvaluationReason.Kind.FALLTHROUGH and
where the inExperiment parameter represents whether the evaluation was
part of an experiment.
- fallthroughVariation(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Specifies the fallthrough variation for a boolean flag.
- fallthroughVariation(int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Specifies the index of the fallthrough variation.
- fDv1FallbackSynchronizer(ComponentConfigurer<DataSource>) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemBuilder
-
Configure the FDv1 fallback synchronizer.
- fDv1Polling() - Static method in class com.launchdarkly.sdk.server.DataSystemComponents
-
Get a builder for a FDv1 compatible polling data source.
- FDV2_POLLING_REQUEST_PATH - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- FDV2_STREAMING_REQUEST_PATH - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- FDv2PollingInitializerBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the polling initializer.
- FDv2PollingInitializerBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
- FDv2PollingSynchronizerBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the polling synchronizer.
- FDv2PollingSynchronizerBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- FDv2SourceResult - Class in com.launchdarkly.sdk.server.datasources
-
This type is currently experimental and not subject to semantic versioning.
- FDv2SourceResult.ResultType - Enum in com.launchdarkly.sdk.server.datasources
-
- FDv2SourceResult.State - Enum in com.launchdarkly.sdk.server.datasources
-
- FDv2SourceResult.Status - Class in com.launchdarkly.sdk.server.datasources
-
Represents a change in the status of the source.
- FDv2StreamingSynchronizerBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the streaming synchronizer.
- FDv2StreamingSynchronizerBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- FeatureFlagsState - Class in com.launchdarkly.sdk.server
-
- FeatureFlagsState.Builder - Class in com.launchdarkly.sdk.server
-
- FEATURES - Static variable in class com.launchdarkly.sdk.server.DataModel
-
- FileData - Class in com.launchdarkly.sdk.server.integrations
-
Integration between the LaunchDarkly SDK and file data.
- FileData.DuplicateKeysHandling - Enum in com.launchdarkly.sdk.server.integrations
-
Determines how duplicate feature flag or segment keys are handled.
- FileData.FileInitializerBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Builder for creating an FDv2
Initializer that loads file data.
- FileData.FileSynchronizerBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Builder for creating an FDv2
Synchronizer that loads and watches file data.
- FileDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
-
- FileDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
- filePaths(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileInitializerBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a string.
- filePaths(Path...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileInitializerBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a Path.
- filePaths(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a string.
- filePaths(Path...) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a Path.
- filePaths(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a string.
- filePaths(Path...) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Adds any number of source files for loading flag data, specifying each file path as a Path.
- FIRST_NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the first name attribute.
- firstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's first name
- flag(String) - Method in class com.launchdarkly.sdk.server.integrations.TestData
-
- flag(String) - Method in class com.launchdarkly.sdk.server.integrations.TestDataV2
-
- flag - Variable in class com.launchdarkly.sdk.server.PrerequisiteEvalRecord
-
- FlagChangeEvent - Class in com.launchdarkly.sdk.server.interfaces
-
- FlagChangeEvent(String) - Constructor for class com.launchdarkly.sdk.server.interfaces.FlagChangeEvent
-
Constructs a new instance.
- FlagChangeListener - Interface in com.launchdarkly.sdk.server.interfaces
-
An event listener that is notified when a feature flag's configuration has changed.
- flagKey - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
-
The key of the feature flag being evaluated.
- FlagRuleBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
- FlagsStateOption - Class in com.launchdarkly.sdk.server
-
- FlagTracker - Interface in com.launchdarkly.sdk.server.interfaces
-
An interface for tracking changes in feature flag configurations.
- FlagValueChangeEvent - Class in com.launchdarkly.sdk.server.interfaces
-
- FlagValueChangeEvent(String, LDValue, LDValue) - Constructor for class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
-
Constructs a new instance.
- FlagValueChangeListener - Interface in com.launchdarkly.sdk.server.interfaces
-
An event listener that is notified when a feature flag's value has changed for a specific
evaluation context.
- Float - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- floatValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a float if it is numeric.
- flush() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- flush() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- flush() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Flushes all pending events.
- flush() - Method in class com.launchdarkly.sdk.server.LDClient
-
- flush() - Method in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
-
Specifies that any buffered events should be sent as soon as possible, rather than waiting
for the next flush interval.
- flushInterval - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- flushInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Sets the interval between flushes of the event buffer.
- forName(String) - Static method in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Returns a UserAttribute instance for the specified attribute name.
- fromApplicationInfo(ApplicationInfo) - Static method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
- fromConfig(LDConfig) - Static method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
- fromException(DataSourceStatusProvider.ErrorKind, Throwable) - Static method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Constructs an instance based on an exception.
- fromHttpError(int) - Static method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Constructs an instance based on an HTTP error status.
- fromLiteral(String) - Static method in class com.launchdarkly.sdk.AttributeRef
-
Similar to
AttributeRef.fromPath(String), except that it always interprets the string as a literal
attribute name, never as a slash-delimited path expression.
- fromPath(String) - Static method in class com.launchdarkly.sdk.AttributeRef
-
Creates an AttributeRef from a string.
- fromType(T) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Converts a value of the specified type to an
LDValue.
- fromUser(LDUser) - Static method in class com.launchdarkly.sdk.LDContext
-
- fromValue(T, int, EvaluationReason) - Static method in class com.launchdarkly.sdk.EvaluationDetail
-
Factory method for an arbitrary value.
- FullDataSet(Iterable<Map.Entry<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>>) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
-
Constructs a new instance.
- FullDataSet(Iterable<Map.Entry<DataStoreTypes.DataKind, DataStoreTypes.KeyedItems<TDescriptor>>>, boolean) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
-
Constructs a new instance.
- get(int) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an array element by index.
- get(String) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an object property by name.
- get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Retrieves an item from the specified collection, if available.
- get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Retrieves an item from the specified collection, if available.
- getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Retrieves all items from the specified collection.
- getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Retrieves all items from the specified collection.
- getApplicationId() - Method in class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
A unique identifier representing the application where the LaunchDarkly SDK is running.
- getApplicationInfo() - Method in class com.launchdarkly.sdk.server.integrations.EnvironmentMetadata
-
- getApplicationInfo() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
- getApplicationVersion() - Method in class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
A unique identifier representing the version of the application where the
LaunchDarkly SDK is running.
- getAttribute(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Gets the value of a user attribute, if present.
- getAuthoritative() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
-
Get the authoritative result of the write.
- getAvatar() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the avatar property for the user, if set.
- getBaseLogger() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The base logger for the SDK.
- getBaseLogger() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the base logger instance.
- getBaseLoggerName() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
Returns the configured base logger name.
- getBigSegmentsStatus() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Describes the validity of Big Segment information, if and only if the flag evaluation required
querying at least one Big Segment.
- getBigSegmentStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getBigSegmentStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getBigSegmentStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of the Big Segment store.
- getBigSegmentStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getCacheStats() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Queries the current cache statistics, if this is a persistent store with caching enabled.
- getCacheStats() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Returns statistics about cache usage, if this data store implementation supports caching.
- getChangeSet() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- getComponent(int) - Method in class com.launchdarkly.sdk.AttributeRef
-
Retrieves a single path component from the attribute reference.
- getConnectTimeout() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The connection timeout.
- getCountry() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the country property for the user, if set.
- getCustomAttributeNames() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the names of all non-built-in attributes that have been set in this context.
- getCustomAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns an enumeration of all custom attribute names that were set for this user.
- getData() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Returns a list of changes.
- getData() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
-
Returns the wrapped data set.
- getDataSourceStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getDataSourceStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getDataSourceStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of the data source.
- getDataSourceStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getDataSourceUpdates() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the data source update sink.
- getDataSourceUpdateSink() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the component that
DataSource implementations use to deliver data and status
updates to the SDK.
- getDataStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of a persistent data store.
- getDataStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
-
Returns an object that provides status tracking for the data store, if applicable.
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSinkV2
-
An object that provides status tracking for the data store, if applicable.
- getDataStoreUpdateSink() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the component that
DataStore implementations use to deliver data store status
updates to the SDK.
- getDefaultHeaders() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
Returns the basic headers that should be added to all HTTP requests from SDK components to
LaunchDarkly services, based on the current SDK configuration.
- getDepth() - Method in class com.launchdarkly.sdk.AttributeRef
-
The number of path components in the AttributeRef.
- getDiagnosticStore() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the diagnostic data accumulator.
- getEmail() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the email property for the user, if set.
- getEnvironmentId() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Returns the environment ID associated with the change.
- getError() - Method in class com.launchdarkly.sdk.AttributeRef
-
Null for a valid AttributeRef, or a non-null error message for an invalid AttributeRef.
- getError() - Method in class com.launchdarkly.sdk.LDContext
-
Returns null for a valid LDContext, or an error message for an invalid one.
- getErrorInfo() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
- getErrorKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getEventsBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the events service.
- getEvictionCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times cache entries have been evicted.
- getException() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getException() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Get the exception associated with the result or an empty optional if there
was no exception.
- getException() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Get the exception associated with the method or an empty optional if there
was no exception.
- getFDv1FallbackSynchronizer() - Method in class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
A synchronizer to fall back to when FDv1 fallback has been requested.
- getFirstName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the first name property for the user, if set.
- getFlagReason(String) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns the evaluation reason for an individual feature flag at the time the state was recorded.
- getFlagTracker() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getFlagTracker() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getFlagTracker() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking changes in feature flag configurations.
- getFlagTracker() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getFlagValue(String) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns the value of an individual feature flag at the time the state was recorded.
- getFullyQualifiedKey() - Method in class com.launchdarkly.sdk.LDContext
-
Returns a string that describes the LDContext uniquely based on kind and
key values.
- getHitCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of data queries that received cached data instead of going to the underlying data store.
- getHooks(EnvironmentMetadata) - Method in class com.launchdarkly.sdk.server.integrations.Plugin
-
Gets a list of hooks that the plugin wants to register.
- getHooks() - Method in class com.launchdarkly.sdk.server.subsystems.HookConfiguration
-
- getHttp() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The configured networking properties that apply to all components.
- getHttp() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the HTTP configuration properties.
- getIndividualContext(int) - Method in class com.launchdarkly.sdk.LDContext
-
Returns the single-kind LDContext corresponding to one of the kinds in this context.
- getIndividualContext(ContextKind) - Method in class com.launchdarkly.sdk.LDContext
-
Returns the single-kind LDContext corresponding to one of the kinds in this context.
- getIndividualContext(String) - Method in class com.launchdarkly.sdk.LDContext
-
- getIndividualContextCount() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the number of context kinds in this context.
- getInitializers() - Method in class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
A list of factories for creating initializers for initialization.
- getIp() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the IP property for the user, if set.
- getItem() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Returns the data item, or null if this is a placeholder for a deleted item.
- getItems() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems
-
Returns the wrapped data set.
- getKey() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's key attribute.
- getKey() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the user's unique key.
- getKey() - Method in class com.launchdarkly.sdk.server.interfaces.FlagChangeEvent
-
Returns the key of the feature flag whose configuration has changed.
- getKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an enum indicating the general category of the reason.
- getKind() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's kind attribute.
- getKind() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns an enumerated value representing the general category of the error.
- getLastError() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Returns information about the last error that the data source encountered, if any.
- getLastName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the last name property for the user, if set.
- getLastUpToDate() - Method in class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.StoreMetadata
-
- getLoadExceptionCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times that an error occurred while querying the underlying data store.
- getLoadSuccessCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times a cache miss resulted in successfully loading a data store item (or finding
that it did not exist in the store).
- getLogAdapter() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
Returns the configured logging adapter.
- getLogDataSourceOutageAsErrorAfter() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
The time threshold, if any, after which the SDK will log a data source outage at ERROR
level instead of WARN level.
- getLogger() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns the logger instance used by this SDK instance.
- getLogger() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getLogging() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The configured logging properties that apply to all components.
- getMembership(String) - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStore
-
Queries the store for a snapshot of the current segment state for a specific user.
- getMessage() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns any additional human-readable information relevant to the error.
- getMetadata() - Method in class com.launchdarkly.sdk.server.integrations.Hook
-
- getMetadata() - Method in class com.launchdarkly.sdk.server.integrations.Plugin
-
- getMetadata() - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStore
-
Returns information about the overall state of the store.
- getMissCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of data queries that did not find cached data and went to the underlying data store.
- getMode() - Method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Get the current execution mode.
- getName() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's name attribute.
- getName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the full name property for the user, if set.
- getName() - Method in class com.launchdarkly.sdk.server.integrations.HookMetadata
-
- getName() - Method in class com.launchdarkly.sdk.server.integrations.PluginMetadata
-
- getName() - Method in class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- getName() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
A case-sensitive alphabetic string that uniquely identifies this data kind.
- getName() - Method in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Returns the case-sensitive attribute name.
- getNewValue() - Method in class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
-
Returns the new value of the flag for the specified evaluation context.
- getNonAuthoritative() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
-
Get the non-authoritative result.
- getOldValue() - Method in class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
-
Returns the last known value of the flag for the specified evaluation context prior to the update.
- getOrder() - Method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
- getOrigin() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Get the origin associated with the result.
- getPersistentDataStoreMode() - Method in class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
The mode of operation for the persistent data store.
- getPersistentStore() - Method in class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
An optional factory for creating a persistent data store.
- getPlugins() - Method in class com.launchdarkly.sdk.server.subsystems.PluginsConfiguration
-
- getPollingBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the polling service.
- getPrerequisiteKey() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getPrivateAttribute(int) - Method in class com.launchdarkly.sdk.LDContext
-
Retrieves one of the private attribute references that were specified for this context.
- getPrivateAttributeCount() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the number of private attribute references that were specified for this context.
- getPrivateAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns an enumeration of all attributes that were marked private for this user.
- getProxy() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The proxy configuration, if any.
- getProxyAuthentication() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The authentication method to use for a proxy, if any.
- getRealm() - Method in class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
The authentication realm, if any.
- getReason() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
An object describing the main factor that influenced the flag evaluation value.
- getReason() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
If the state is GOODBYE, then this will be the reason.
- getResult() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
The result.
- getResult() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Get the result of the method.
- getResultType() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- getRuleId() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getRuleIndex() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getScheme() - Method in class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
The authentication scheme, such as "basic".
- getSdkKey() - Method in class com.launchdarkly.sdk.server.integrations.EnvironmentMetadata
-
- getSdkKey() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the configured SDK key.
- getSdkMetadata() - Method in class com.launchdarkly.sdk.server.integrations.EnvironmentMetadata
-
- getSelector() - Method in interface com.launchdarkly.sdk.server.datasources.SelectorSource
-
Get the current selector.
- getSelector() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Returns the selector for this change.
- getSelector() - Method in interface com.launchdarkly.sdk.server.subsystems.TransactionalDataStore
-
Returns the selector for the currently stored data.
- getSelectorSource() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the selector source.
- getSerializedItem() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns the data item's serialized representation.
- getServiceEndpoints() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the base service URIs used by SDK components.
- getServiceEndpoints() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the service endpoint URIs.
- getSharedExecutor() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the shared executor service for scheduling.
- getSocketFactory() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured socket factory for insecure connections.
- getSocketTimeout() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The socket timeout.
- getSslSocketFactory() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured socket factory for secure connections.
- getStage() - Method in class com.launchdarkly.sdk.server.MigrationVariation
-
The result of the flag evaluation.
- getStaleAfter() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getState() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
- getState() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Returns an enumerated value representing the overall current state of the data source.
- getStateSince() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
- getStatus() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider
-
Returns the current status of the store.
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
-
Returns the current status of the data source.
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Returns the current status of the store.
- getStatusCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
- getStatusPollInterval() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getStore() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
Gets the data store instance that is used for Big Segments data.
- getStreamingBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the streaming service.
- getSynchronizers() - Method in class com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration
-
A list of factories for creating synchronizers for synchronization.
- getThreadPriority() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
- getThreadPriority() - Method in class com.launchdarkly.sdk.server.subsystems.DataSourceBuildInputs
-
Returns the thread priority for worker threads.
- getTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns the date/time that the error occurred.
- getTotalLoadTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The total number of nanoseconds that the cache has spent loading new values.
- getTracker() - Method in class com.launchdarkly.sdk.server.MigrationVariation
-
A tracker which can be used to generate analytics for the migration.
- getTrustManager() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured trust manager for secure connections, if custom certificate verification is needed.
- getType() - Method in class com.launchdarkly.sdk.LDValue
-
Gets the JSON type for this value.
- getType() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Returns the type of the changeset.
- getUserCacheSize() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getUserCacheTime() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The result of the flag evaluation.
- getValue(String) - Method in class com.launchdarkly.sdk.LDContext
-
Looks up the value of any attribute of the context by name.
- getValue(AttributeRef) - Method in class com.launchdarkly.sdk.LDContext
-
Looks up the value of any attribute of the context, or a value contained within an
attribute, based on an
AttributeRef.
- getVariationIndex() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The index of the returned value within the flag's list of variations, e.g.
- getVersion() - Method in class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- getVersion() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Returns the version number of this data, provided by the SDK.
- getVersion() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns the version number of this data, provided by the SDK.
- getWrapperInfo() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the wrapper information.
- getWrapperName() - Method in class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- getWrapperName() - Method in class com.launchdarkly.sdk.server.interfaces.WrapperInfo
-
Get the name of the wrapper.
- getWrapperVersion() - Method in class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- getWrapperVersion() - Method in class com.launchdarkly.sdk.server.interfaces.WrapperInfo
-
Get the version of the wrapper.
- goodbye(String, boolean) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- goodbye(String, boolean, Function<Void, Void>) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- goodbye(String) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
- identify(LDContext) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- identify(LDContext) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- identify(LDContext) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Reports details about an evaluation context.
- identify(LDContext) - Method in class com.launchdarkly.sdk.server.LDClient
-
- ifMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is one of" operator.
- ifMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is one of" operator.
- ifNotMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is not one of" operator.
- ifNotMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is not one of" operator.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
-
Completely overwrites the current contents of the data store with a set of items for each collection.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Overwrites the store's contents with a set of items for each collection.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.SerializedItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Overwrites the store's contents with a set of items for each collection.
- Initializer - Interface in com.launchdarkly.sdk.server.datasources
-
This type is currently experimental and not subject to semantic versioning.
- initializer() - Static method in class com.launchdarkly.sdk.server.integrations.FileData
-
Creates a builder for an FDv2 Initializer that loads file data.
- initializers(DataSourceBuilder<Initializer>...) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemBuilder
-
Add one or more initializers to the builder.
- initialReconnectDelay - Variable in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- initialReconnectDelay(Duration) - Method in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
Sets the initial reconnect delay for the streaming connection.
- initialReconnectDelay - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- initialReconnectDelay(Duration) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
Sets the initial reconnect delay for the streaming connection.
- inMemoryDataStore() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration object for using the default in-memory implementation of a data store.
- Integer - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- interrupted(DataSourceStatusProvider.ErrorInfo, boolean) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- interrupted(DataSourceStatusProvider.ErrorInfo, boolean, Function<Void, Void>) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- interrupted(DataSourceStatusProvider.ErrorInfo) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
- intValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as an int if it is numeric.
- intVariation(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- intVariation(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- intVariation(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the integer value of a feature flag for a given context.
- intVariation(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.LDClient
-
- intVariationDetail(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- intVariationDetail(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- intVariationDetail(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the integer numeric value of a feature flag for a given context, and returns an object
that describes the way the value was determined.
- intVariationDetail(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.LDClient
-
- invoked(MigrationOrigin) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
-
Call this to report that an origin was invoked (executed).
- ip(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the IP for a user.
- IP - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the IP address attribute.
- isAnonymous() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true if this context is only intended for flag evaluations and will not be
indexed by LaunchDarkly.
- isAnonymous() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns true if this user was marked anonymous.
- isAttributePrivate(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Tests whether an attribute has been marked private for this user.
- isAvailable() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
True if the Big Segment store is able to respond to queries, so that the SDK can evaluate
whether a user is in a segment or not.
- isAvailable() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Returns true if the SDK believes the data store is now available.
- isBuiltIn() - Method in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Returns true for a built-in attribute or false for a custom attribute.
- isCustomBaseUri(URI, URI) - Static method in class com.launchdarkly.sdk.server.StandardEndpoints
-
Internal method to determine whether a given base URI was set to a custom value or not.
- isDefault() - Method in class com.launchdarkly.sdk.ContextKind
-
- isDefaultValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
Returns true if the flag evaluation returned the default value, rather than one of the flag's
variations.
- isDeleted() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns true if this is a placeholder (tombstone) for a deleted item.
- isFdv1Fallback() - Method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- isFlagKnown(String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isFlagKnown(String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isFlagKnown(String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns true if the specified feature flag currently exists.
- isFlagKnown(String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- isInExperiment() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Whether the evaluation was part of an experiment.
- isInitialized() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Tests whether the client is ready to be used.
- isInitialized() - Method in class com.launchdarkly.sdk.server.LDClient
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Returns true once the client has been initialized and will never return false again.
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Checks whether this store has been initialized with any data yet.
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Returns true if this store has been initialized.
- isInt() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number that is also an integer.
- isMultiple() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true if this is a multi-kind context.
- isNull() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a null.
- isNumber() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number (not a numeric string).
- isOffline() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isOffline() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isOffline() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns true if the client is in offline mode.
- isOffline() - Method in class com.launchdarkly.sdk.server.LDClient
-
- isOffline() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns true if the SDK was configured to be completely offline.
- isRefreshNeeded() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Returns true if the store may be out of date due to a previous outage, so the SDK should attempt to refresh
all feature flag data and rewrite it to the store.
- isStage(String) - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Check if the provided string is a migration stage.
- isStale() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
- isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Indicates whether the current data store implementation supports status monitoring.
- isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Returns true if this data store implementation supports status monitoring.
- isStoreAvailable() - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Tests whether the data store seems to be functioning normally.
- isString() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a string.
- isSuccess() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Check if the operation was a success.
- isSuccess() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Returns true if the method was successful.
- isValid() - Method in class com.launchdarkly.sdk.AttributeRef
-
True for a valid AttributeRef, false for an invalid AttributeRef.
- isValid() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true for a valid LDContext, false for an invalid one.
- isValid() - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns true if this object contains a valid snapshot of feature flag state, or false if the
state could not be computed (for instance, because the client was offline or there was no user).
- ItemDescriptor(int, Object) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Constructs a new instance.
- Parallel() - Static method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Constructs a parallel execution.
- parse(String) - Static method in class com.launchdarkly.sdk.LDValue
-
Parses an LDValue from a JSON representation.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this initializer.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this synchronizer.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this synchronizer.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this data source.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this data source.
- persistentDataStore(ComponentConfigurer<PersistentDataStore>) - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for some implementation of a persistent data store.
- PersistentDataStore - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for a data store that holds feature flags and related data in a serialized form.
- PersistentDataStoreBuilder - Class in com.launchdarkly.sdk.server.integrations
-
A configurable factory for a persistent data store.
- PersistentDataStoreBuilder(ComponentConfigurer<PersistentDataStore>) - Constructor for class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Creates a new builder.
- PersistentDataStoreBuilder.StaleValuesPolicy - Enum in com.launchdarkly.sdk.server.integrations
-
- persistentDataStoreConfigurer - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- persistentStore(ComponentConfigurer<DataStore>, DataSystemConfiguration.DataStoreMode) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemBuilder
-
Configures the persistent data store.
- persistentStore(ComponentConfigurer<DataStore>) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
PersistentStore is similar to Default, with the addition of a persistent store integration.
- Plugin - Class in com.launchdarkly.sdk.server.integrations
-
Abstract class that you can extend to create a plugin to the LaunchDarkly SDK.
- Plugin() - Constructor for class com.launchdarkly.sdk.server.integrations.Plugin
-
- PluginMetadata - Class in com.launchdarkly.sdk.server.integrations
-
PluginMetadata contains information about a specific plugin implementation
- PluginMetadata() - Constructor for class com.launchdarkly.sdk.server.integrations.PluginMetadata
-
- plugins() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a builder for configuring plugins.
- plugins - Variable in class com.launchdarkly.sdk.server.integrations.PluginsConfigurationBuilder
-
The current set of plugins the builder has.
- plugins(PluginsConfigurationBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the SDK's plugins configuration, using a builder.
- PluginsConfiguration - Class in com.launchdarkly.sdk.server.subsystems
-
Encapsulates the SDK's 'plugins' configuration.
- PluginsConfiguration(List<Plugin>) - Constructor for class com.launchdarkly.sdk.server.subsystems.PluginsConfiguration
-
- PluginsConfigurationBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the SDK's 'plugins'.
- PluginsConfigurationBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.PluginsConfigurationBuilder
-
- Poll(Selector) - Method in class com.launchdarkly.sdk.server.DefaultFDv2Requestor
-
- polling() - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
Configure the SDK to poll data instead of receiving real-time updates via a stream.
- polling(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Sets a custom base URI for the polling service.
- polling(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- POLLING_REQUEST_PATH - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- pollingBaseUri - Variable in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- pollingDataSource() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configurable factory for using polling mode to get feature flag data.
- PollingDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the polling data source.
- PollingDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- pollingInitializer() - Static method in class com.launchdarkly.sdk.server.DataSystemComponents
-
Get a builder for a polling initializer.
- pollingSynchronizer() - Static method in class com.launchdarkly.sdk.server.DataSystemComponents
-
Get a builder for a polling synchronizer.
- pollInterval - Variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- pollInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
Sets the interval at which the SDK will poll for feature flag updates.
- pollInterval - Variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- pollInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
Sets the interval at which the SDK will poll for feature flag updates.
- prereqOfFlag - Variable in class com.launchdarkly.sdk.server.PrerequisiteEvalRecord
-
- PrerequisiteEvalRecord - Class in com.launchdarkly.sdk.server
-
- PrerequisiteEvalRecord(DataModel.FeatureFlag, DataModel.FeatureFlag, EvalResult) - Constructor for class com.launchdarkly.sdk.server.PrerequisiteEvalRecord
-
- prerequisiteFailed(String) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
- privateAttributes(String...) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Designates any number of context attributes, or properties within them, as private:
that is, their values will not be recorded by LaunchDarkly.
- privateAttributes(AttributeRef...) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- privateAttributes - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- privateAttributes(String...) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Marks a set of attribute names or subproperties as private.
- privateAvatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's avatar, and ensures that the avatar attribute will not be sent back to LaunchDarkly.
- privateCountry(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Set the country for a user, and ensures that the country attribute will not be sent back to LaunchDarkly.
- privateCustom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a String-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add an int-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a double-precision numeric custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a boolean-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a custom attribute of any JSON type, that will not be sent back to LaunchDarkly.
- privateEmail(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's e-mail address, and ensures that the e-mail address attribute will not be sent back to LaunchDarkly.
- privateFirstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's first name, and ensures that the first name attribute will not be sent back to LaunchDarkly.
- privateIp(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the IP for a user, and ensures that the IP attribute is not sent back to LaunchDarkly.
- privateLastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's last name, and ensures that the last name attribute will not be sent back to LaunchDarkly.
- privateName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's full name, and ensures that the name attribute will not be sent back to LaunchDarkly.
- provideAuthorization(Iterable<HttpAuthentication.Challenge>) - Method in interface com.launchdarkly.sdk.server.interfaces.HttpAuthentication
-
Computes the Authorization or Proxy-Authorization header for an authentication challenge.
- proxyAuth - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- proxyAuth(HttpAuthentication) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets an authentication strategy for use with an HTTP proxy.
- proxyHost - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- proxyHostAndPort(String, int) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets an HTTP proxy for making connections to LaunchDarkly.
- proxyPort - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- put(String, LDValue) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, boolean) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, int) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, long) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, float) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, double) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, String) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- samplingRatio(long) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Set the samplingRatio, used for event generation, for this flag.
- SdkMetadata - Class in com.launchdarkly.sdk.server.integrations
-
Metadata about the LaunchDarkly SDK.
- SdkMetadata(String, String) - Constructor for class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- SdkMetadata(String, String, String, String) - Constructor for class com.launchdarkly.sdk.server.integrations.SdkMetadata
-
- secureModeHash(LDContext) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- secureModeHash(LDContext) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- secureModeHash(LDContext) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Creates a hash string that can be used by the JavaScript SDK to identify a context.
- secureModeHash(LDContext) - Method in class com.launchdarkly.sdk.server.LDClient
-
- SEGMENTS - Static variable in class com.launchdarkly.sdk.server.DataModel
-
- selectBaseUri(URI, URI, String, LDLogger) - Static method in class com.launchdarkly.sdk.server.StandardEndpoints
-
Internal method to decide which URI a given component should connect to.
- SelectorSource - Interface in com.launchdarkly.sdk.server.datasources
-
This type is currently experimental and not subject to semantic versioning.
- sendAnalyticsEvents(byte[], int, URI) - Method in interface com.launchdarkly.sdk.server.subsystems.EventSender
-
Attempt to deliver an analytics event data payload.
- sendDiagnosticEvent(byte[], URI) - Method in interface com.launchdarkly.sdk.server.subsystems.EventSender
-
Attempt to deliver a diagnostic event data payload.
- sendEvents() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for analytics event delivery.
- Serial(MigrationSerialOrder) - Static method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Construct a serial execution with the specified ordering.
- SerializationException - Exception in com.launchdarkly.sdk.json
-
General exception class for all errors in serializing or deserializing JSON.
- SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
-
Creates an instance.
- SerializationException(String) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
-
Creates an instance.
- SerializationException - Exception in com.launchdarkly.sdk.server.subsystems
-
General exception class for all errors in serializing or deserializing JSON.
- SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.server.subsystems.SerializationException
-
Creates an instance.
- serialize(T) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Converts an object to its JSON representation.
- serialize(DataStoreTypes.ItemDescriptor) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Returns a serialized representation of an item of this kind.
- SerializedItemDescriptor(int, boolean, String) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Constructs a new instance.
- serviceEndpoints() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a builder for configuring custom service URIs.
- ServiceEndpoints - Class in com.launchdarkly.sdk.server.interfaces
-
Specifies the base service URIs used by SDK components.
- ServiceEndpoints(URI, URI, URI) - Constructor for class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
Used internally by the SDK to store service endpoints.
- serviceEndpoints(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the base service URIs used by SDK components.
- ServiceEndpointsBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the SDK's service URIs.
- ServiceEndpointsBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- serviceEndpointsOverride - Variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
- serviceEndpointsOverride(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingInitializerBuilder
-
Sets overrides for the service endpoints.
- serviceEndpointsOverride - Variable in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
- serviceEndpointsOverride(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.integrations.FDv2PollingSynchronizerBuilder
-
Sets overrides for the service endpoints.
- serviceEndpointsOverride - Variable in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
- serviceEndpointsOverride(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.integrations.FDv2StreamingSynchronizerBuilder
-
Sets overrides for the service endpoints.
- set(String, LDValue) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Sets the value of any attribute for the context.
- set(String, boolean) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, int) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, double) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, String) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- setHooks(List<Hook>) - Method in class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
-
Adds the provided list of hooks to the configuration.
- setPlugins(List<Plugin>) - Method in class com.launchdarkly.sdk.server.integrations.PluginsConfigurationBuilder
-
Sets the provided list of plugins on the configuration.
- shouldPersist(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileInitializerBuilder
-
Configures whether file data should be persisted to persistent stores.
- shouldPersist(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileData.FileSynchronizerBuilder
-
Configures whether file data should be persisted to persistent stores.
- shouldPersist(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Configures whether file data should be persisted to persistent stores.
- shouldPersist(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData
-
Configures whether test data should be persisted to persistent stores.
- shouldPersist(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestDataV2
-
Configures whether test data should be persisted to persistent stores.
- shouldPersist() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSet
-
Returns whether this data should be persisted to persistent stores.
- shouldPersist() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
-
Returns whether this data should be persisted to persistent stores.
- shutdown() - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- shutdown(Function<Void, Void>) - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult
-
- shutdown() - Static method in class com.launchdarkly.sdk.server.datasources.FDv2SourceResult.Status
-
- size() - Method in class com.launchdarkly.sdk.LDValue
-
Returns the number of elements in an array or object.
- socketFactory - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- socketFactory(SocketFactory) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom socket configuration for HTTP connections to LaunchDarkly.
- socketTimeout - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- socketTimeout(Duration) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets the socket timeout.
- sslSocketFactory - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom security configuration for HTTPS connections to LaunchDarkly.
- staleAfter(Duration) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
Sets the maximum length of time between updates of the Big Segments data before the data is
considered out of date.
- staleValuesPolicy - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- staleValuesPolicy(PersistentDataStoreBuilder.StaleValuesPolicy) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies how the cache (if any) should deal with old values when the cache TTL expires.
- StandardEndpoints - Class in com.launchdarkly.sdk.server
-
Internal utility class for resolving service endpoint URIs.
- start() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Starts the client.
- startWait(Duration) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Set how long the constructor will block awaiting a successful connection to LaunchDarkly.
- Status(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
Constructor for a Big Segment status.
- Status(DataSourceStatusProvider.State, Instant, DataSourceStatusProvider.ErrorInfo) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Constructs a new instance.
- Status(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Creates an instance.
- statusPollInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
Sets the interval at which the SDK will poll the Big Segment store to make sure it is available
and to determine how long ago it was updated.
- StoreMetadata(long) - Constructor for class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.StoreMetadata
-
- streaming() - Method in class com.launchdarkly.sdk.server.integrations.DataSystemModes
-
Configures the SDK to stream data without polling for the initial payload.
- streaming(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Sets a custom base URI for the streaming service.
- streaming(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- STREAMING_REQUEST_PATH - Static variable in class com.launchdarkly.sdk.server.StandardEndpoints
-
- streamingBaseUri - Variable in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- streamingDataSource() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configurable factory for using streaming mode to get feature flag data.
- StreamingDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the streaming data source.
- StreamingDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- streamingSynchronizer() - Static method in class com.launchdarkly.sdk.server.DataSystemComponents
-
Get a builder for a streaming synchronizer.
- String - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- stringValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a String if it is a string.
- stringVariation(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- stringVariation(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- stringVariation(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the string value of a feature flag for a given context.
- stringVariation(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- stringVariationDetail(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- stringVariationDetail(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- stringVariationDetail(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the string value of a feature flag for a given context, and returns an object
that describes the way the value was determined.
- stringVariationDetail(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- Success(U) - Static method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Create a successful method result.
- Synchronizer - Interface in com.launchdarkly.sdk.server.datasources
-
This type is currently experimental and not subject to semantic versioning.
- synchronizer() - Static method in class com.launchdarkly.sdk.server.integrations.FileData
-
Creates a builder for an FDv2 Synchronizer that loads and watches file data.
- synchronizer() - Static method in class com.launchdarkly.sdk.server.integrations.TestDataV2
-
Creates a new instance of the test synchronizer.
- synchronizers(DataSourceBuilder<Synchronizer>...) - Method in class com.launchdarkly.sdk.server.integrations.DataSystemBuilder
-
Add one or more synchronizers to the builder.
- valid(boolean) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
- valueForAll(LDValue) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified variation value for all users.
- valueMapToJsonElementMap(Map<T, LDValue>) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Convenience method for converting a map of
LDValue values to a map of Gson
JsonElements.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.datasources.FDv2SourceResult.ResultType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.datasources.FDv2SourceResult.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationOrigin
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSetType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration.DataStoreMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.subsystems.EventSender.Result
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object.
- values() - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.datasources.FDv2SourceResult.ResultType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.datasources.FDv2SourceResult.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationOp
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationOrigin
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ChangeSetType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.subsystems.DataSystemConfiguration.DataStoreMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.subsystems.EventSender.Result
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesAs(LDValue.Converter<T>) - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object, converting them to a specific type.
- valueToJsonElement(LDValue) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Returns a Gson
JsonElement that is equivalent to the specified
LDValue.
- variationForAll(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified boolean variation for all contexts.
- variationForAll(int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified variation for all contexts.
- variationForKey(ContextKind, String, boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific context, identified
by context kind and key, when targeting is on.
- variationForKey(ContextKind, String, int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific context, identified
by context kind and key, when targeting is on.
- variationForUser(String, boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific user key (that is,
for a context with that key whose context kind is "user") when targeting is on.
- variationForUser(String, int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified variation for a specific user key (that is,
for a context with that key whose context kind is "user") when targeting is on.
- variations(LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Changes the allowable variation values for the flag.
- version() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- version() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- version() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
The current version string of the SDK.
- version() - Method in class com.launchdarkly.sdk.server.LDClient
-
Returns the current version string of the client library.