A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

adapter(LDLogAdapter) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
Specifies the implementation of logging to use.
add(boolean) - 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(float) - 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(LDContext) - Method in class com.launchdarkly.sdk.ContextMultiBuilder
Adds an individual LDContext for a specific kind to the builer.
add(LDValue) - 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(String, LDValue, Integer, EvaluationReason, int, boolean, boolean, Long) - 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, Long) - 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
Hook.afterEvaluation(EvaluationSeriesContext, Map, EvaluationDetail) is executed by the SDK at the after the evaluation of a feature flag.
ALL_DATA_KINDS - Static variable in class com.launchdarkly.sdk.server.DataModel
An enumeration of all supported DataStoreTypes.DataKind types.
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(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.
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.
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.
ARRAY - com.launchdarkly.sdk.LDValueType
The value is an array.
ArrayBuilder - Class in com.launchdarkly.sdk
A builder created by LDValue.buildArray().
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.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.

B

baseLoggerName(String) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
Specifies a custom base logger name.
baseName - Variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
 
beforeEvaluation(EvaluationSeriesContext, Map<String, Object>) - Method in class com.launchdarkly.sdk.server.integrations.Hook
Hook.beforeEvaluation(EvaluationSeriesContext, Map) is executed by the SDK at the start of the evaluation of a feature flag.
bigSegments(ComponentConfigurer<BigSegmentsConfiguration>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the configuration of the SDK's Big Segments feature.
bigSegments(ComponentConfigurer<BigSegmentStore>) - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder for the SDK's Big Segments feature.
BigSegmentsConfiguration - Class in com.launchdarkly.sdk.server.interfaces
Encapsulates the SDK's configuration with regard to Big Segments.
BigSegmentsConfiguration(BigSegmentStore, int, Duration, Duration, Duration) - Constructor for class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
Creates a new BigSegmentsConfiguration instance with the specified values.
BigSegmentsConfigurationBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring the SDK's Big Segments behavior.
BigSegmentsConfigurationBuilder(ComponentConfigurer<BigSegmentStore>) - Constructor for class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
Creates a new builder for Big Segments configuration.
BigSegmentStore - Interface in com.launchdarkly.sdk.server.subsystems
Interface for a read-only data store that allows querying of user membership in Big Segments.
bigSegmentStoreStatusChanged(BigSegmentStoreStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.StatusListener
Called when any property of the Big Segment store status has changed.
BigSegmentStoreStatusProvider - Interface in com.launchdarkly.sdk.server.interfaces
An interface for querying the status of a Big Segment store.
BigSegmentStoreStatusProvider.Status - Class in com.launchdarkly.sdk.server.interfaces
Information about the status of a Big Segment store, provided by BigSegmentStoreStatusProvider
BigSegmentStoreStatusProvider.StatusListener - Interface in com.launchdarkly.sdk.server.interfaces
Interface for receiving Big Segment status change notifications.
BigSegmentStoreTypes - Class in com.launchdarkly.sdk.server.subsystems
Types that are used by the BigSegmentStore interface.
BigSegmentStoreTypes.Membership - Interface in com.launchdarkly.sdk.server.subsystems
A query interface returned by BigSegmentStore.getMembership(String).
BigSegmentStoreTypes.StoreMetadata - Class in com.launchdarkly.sdk.server.subsystems
Values returned by BigSegmentStore.getMetadata().
Boolean - Static variable in class com.launchdarkly.sdk.LDValue.Convert
A LDValue.Converter for booleans.
BOOLEAN - com.launchdarkly.sdk.LDValueType
The value is a boolean.
booleanFlag() - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
A shortcut for setting the flag to use the standard boolean configuration.
booleanValue() - Method in class com.launchdarkly.sdk.LDValue
Returns this value as a boolean if it is explicitly a boolean.
boolVariation(String, LDContext, boolean) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
boolVariation(String, LDContext, boolean) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
boolVariation(String, LDContext, boolean) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the boolean value of a feature flag for a given context.
boolVariation(String, LDContext, boolean) - Method in class com.launchdarkly.sdk.server.LDClient
 
boolVariationDetail(String, LDContext, boolean) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
boolVariationDetail(String, LDContext, boolean) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
boolVariationDetail(String, LDContext, boolean) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the boolean value of a feature flag for a given context, and returns an object that describes the way the value was determined.
boolVariationDetail(String, LDContext, boolean) - Method in class com.launchdarkly.sdk.server.LDClient
 
build() - Method in class com.launchdarkly.sdk.ArrayBuilder
Returns an array containing the builder's current elements.
build() - Method in class com.launchdarkly.sdk.ContextBuilder
Creates an LDContext from the current builder properties.
build() - Method in class com.launchdarkly.sdk.ContextMultiBuilder
Creates an LDContext from the current builder properties.
build() - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Builds the configured LDUser object.
build() - Method in class com.launchdarkly.sdk.ObjectBuilder
Returns an object containing the builder's current elements.
build() - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
Returns an object created from the builder state.
build() - Method in class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
 
build() - Method in class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
 
build() - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Builds the configured LDConfig object.
build() - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Build a Migration.
build(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
 
build(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
 
build(ClientContext) - Method in class com.launchdarkly.sdk.server.integrations.TestData
 
build(ClientContext) - Method in interface com.launchdarkly.sdk.server.subsystems.ComponentConfigurer
Called internally by the SDK to create an implementation instance.
buildArray() - Static method in class com.launchdarkly.sdk.LDValue
Starts building an array value.
builder(ContextKind, String) - Static method in class com.launchdarkly.sdk.LDContext
Creates a ContextBuilder for building an LDContext, initializing its key and kind.
builder(FlagsStateOption...) - Static method in class com.launchdarkly.sdk.server.FeatureFlagsState
Returns a FeatureFlagsState.Builder for creating instances.
builder(String) - Static method in class com.launchdarkly.sdk.LDContext
Creates a ContextBuilder for building an LDContext, initializing its key and setting kind to ContextKind.DEFAULT.
Builder() - Constructor for class com.launchdarkly.sdk.server.LDConfig.Builder
Creates a builder with all configuration parameters set to the default
Builder(LDUser) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Creates a builder based on an existing user.
Builder(String) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Creates a builder with the specified key.
builderFromContext(LDContext) - Static method in class com.launchdarkly.sdk.LDContext
Creates a builder whose properties are the same as an existing single-kind LDContext.
buildObject() - Static method in class com.launchdarkly.sdk.LDValue
Starts building an object value.

C

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
Shortcut for calling PersistentDataStoreBuilder.cacheTime(Duration) with a duration in milliseconds.
cacheSeconds(long) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
Shortcut for calling PersistentDataStoreBuilder.cacheTime(Duration) with a duration in seconds.
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.
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.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_NOT_READY - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that the caller tried to evaluate a flag before the client had successfully initialized.
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(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.
ClientContext(String, ApplicationInfo, HttpConfiguration, LoggingConfiguration, boolean, ServiceEndpoints, int, WrapperInfo) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
Constructor that sets all properties.
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.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
 
COMPLETE - com.launchdarkly.sdk.server.MigrationStage
Complete - migration is done
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.
CONSISTENT - com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
Consistency was checked and found to be consistent.
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(ContextKind, String) - Static method in class com.launchdarkly.sdk.LDContext
Creates a single-kind LDContext with only the kind and keys specified.
create(String) - Static method in class com.launchdarkly.sdk.LDContext
Creates a single-kind LDContext with a kind of ContextKind.DEFAULT} and the specified key.
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
Convenience method for creating an implementation of BigSegmentStoreTypes.Membership.
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, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Add a boolean-valued custom attribute.
custom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Adds a double-precision numeric custom attribute.
custom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Adds an integer-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(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Adds a String-valued custom attribute.
customHeaders - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 

D

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
Creates a FileDataSourceBuilder which you can use to configure the file data source.
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.
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
An enumeration describing the general type of an error reported in DataSourceStatusProvider.ErrorInfo.
DataSourceStatusProvider.State - Enum in com.launchdarkly.sdk.server.interfaces
An enumeration of possible values for DataSourceStatusProvider.Status.getState().
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.
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.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
Wrapper for a set of storable items being passed to a data store, within a single DataStoreTypes.DataKind.
DataStoreTypes.SerializedItemDescriptor - Class in com.launchdarkly.sdk.server.subsystems
A versioned item (or placeholder) storable in a PersistentDataStore.
DataStoreUpdateSink - Interface in com.launchdarkly.sdk.server.subsystems
Interface that a data store implementation can use to report information back to the SDK.
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
The default value for HttpConfigurationBuilder.connectTimeout(Duration): two seconds.
DEFAULT_DIAGNOSTIC_RECORDING_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
DEFAULT_FLUSH_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
The default value for EventProcessorBuilder.flushInterval(Duration): 5 seconds.
DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
The default value for StreamingDataSourceBuilder.initialReconnectDelay(Duration): 1000 milliseconds.
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.PollingDataSourceBuilder
The default and minimum value for PollingDataSourceBuilder.pollInterval(Duration): 30 seconds.
DEFAULT_SOCKET_TIMEOUT - Static variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
The default value for HttpConfigurationBuilder.socketTimeout(Duration): 10 seconds.
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
The default value for LDConfig.Builder.startWait(Duration): 5 seconds.
DEFAULT_STATUS_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
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
defaultValue - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
The user-provided default value for the evaluation.
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 interface com.launchdarkly.sdk.server.subsystems.DiagnosticDescription
Used internally by the SDK to inspect the configuration.
deserialize(String) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
Creates an item of this kind from its serialized representation.
deserialize(String, Class<T>) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
Parses an object from its JSON 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
A LDValue.Converter for doubles.
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
 
DUAL_WRITE - com.launchdarkly.sdk.server.MigrationStage
DualWrite - write to both "old" and "new", "old" is authoritative for reads
duplicateKeysHandling(FileData.DuplicateKeysHandling) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
Specifies how to handle keys that are duplicated across files.

E

email(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Sets the user's e-mail address.
EMAIL - Static variable in class com.launchdarkly.sdk.UserAttribute
Deprecated.
Represents the user key attribute.
equals(Object) - Method in class com.launchdarkly.sdk.AttributeRef
 
equals(Object) - Method in class com.launchdarkly.sdk.ContextKind
 
equals(Object) - Method in class com.launchdarkly.sdk.EvaluationDetail
 
equals(Object) - Method in class com.launchdarkly.sdk.EvaluationReason
 
equals(Object) - Method in class com.launchdarkly.sdk.LDContext
 
equals(Object) - Method in class com.launchdarkly.sdk.LDUser
Deprecated.
 
equals(Object) - Method in class com.launchdarkly.sdk.LDValue
Returns true if the other object is an LDValue that is logically equal.
equals(Object) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
 
equals(Object) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
 
equals(Object) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
 
equals(Object) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems
 
equals(Object) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
 
equals(Object) - Method in class com.launchdarkly.sdk.UserAttribute
Deprecated.
 
error(EvaluationReason.ErrorKind) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.ERROR.
error(EvaluationReason.ErrorKind, LDValue) - Static method in class com.launchdarkly.sdk.EvaluationDetail
Shortcut for creating an instance with an error result.
error(MigrationOrigin) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
Report that an error has occurred for the specified origin.
ERROR - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the flag could not be evaluated, e.g.
ERROR_RESPONSE - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
The LaunchDarkly service returned an HTTP response with an error status, available with DataSourceStatusProvider.ErrorInfo.getStatusCode().
ErrorInfo(DataSourceStatusProvider.ErrorKind, int, String, Instant) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
Constructs an instance.
evalAndFlag(String, String, LDContext, LDValue, LDValueType, EvaluationOptions) - Method in interface com.launchdarkly.sdk.server.EvaluatorInterface
Evaluates the provided flag.
EvaluationDetail<T> - Class in com.launchdarkly.sdk
An object returned by the SDK's "variation detail" methods such as boolVariationDetail, combining the result of a flag evaluation with an explanation of how it was calculated.
EvaluationReason - Class in com.launchdarkly.sdk
Describes the reason that a flag evaluation produced a particular value.
EvaluationReason.BigSegmentsStatus - Enum in com.launchdarkly.sdk
Enumerated type defining the possible values of EvaluationReason.getBigSegmentsStatus().
EvaluationReason.ErrorKind - Enum in com.launchdarkly.sdk
Enumerated type defining the possible values of EvaluationReason.getErrorKind().
EvaluationReason.Kind - Enum in com.launchdarkly.sdk
Enumerated type defining the possible values of EvaluationReason.getKind().
EvaluationSeriesContext - Class in com.launchdarkly.sdk.server.integrations
Represents parameters associated with a feature flag evaluation.
EvaluationSeriesContext(String, String, LDContext, LDValue) - Constructor for class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
 
EvaluatorInterface - Interface in com.launchdarkly.sdk.server
An Evaluator is able to calculate evaluation results for flags against the provided context.
EventProcessor - Interface in com.launchdarkly.sdk.server.subsystems
Interface for an object that can send or store analytics events.
EventProcessorBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring delivery of analytics events.
EventProcessorBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
events(ComponentConfigurer<EventProcessor>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the implementation of EventProcessor to be used for processing analytics events.
events(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Equivalent to ServiceEndpointsBuilder.events(URI), specifying the URI as a string.
events(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Sets a custom base URI for the events service.
eventsBaseUri - Variable in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
 
eventSender(ComponentConfigurer<EventSender>) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Specifies a custom implementation for event delivery.
EventSender - Interface in com.launchdarkly.sdk.server.subsystems
Interface for a component that can deliver preformatted event data.
EventSender.Result - Enum in com.launchdarkly.sdk.server.subsystems
Result type for event sending methods.
eventSenderConfigurer - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
EVICT - com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
Indicates that when the cache TTL expires for an item, it is evicted from the cache.
exception(Exception) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.ERROR, with an exception instance.
EXCEPTION - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that an unexpected exception stopped flag evaluation.
execute(UInput) - Method in interface com.launchdarkly.sdk.server.migrations.Migration.Method
 
externalUpdatesOnly() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration object that disables a direct connection with LaunchDarkly for feature flag updates.

F

FAIL - com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
Data loading will fail if keys 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.
FAILURE - com.launchdarkly.sdk.server.subsystems.EventSender.Result
The EventSender was not able to deliver the events.
fallthrough() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.FALLTHROUGH.
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.
FALLTHROUGH - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the flag was on but the user did not match any targets or rules.
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.
FeatureFlagsState - Class in com.launchdarkly.sdk.server
A snapshot of the state of all feature flags with regard to a specific user, generated by calling LDClientInterface.allFlagsState(com.launchdarkly.sdk.LDContext, FlagsStateOption...).
FeatureFlagsState.Builder - Class in com.launchdarkly.sdk.server
A builder for a FeatureFlagsState instance.
FEATURES - Static variable in class com.launchdarkly.sdk.server.DataModel
The DataStoreTypes.DataKind instance that describes feature flag data.
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.
FileDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
To use the file data source, obtain a new instance of this class with FileData.dataSource(); call the builder method FileDataSourceBuilder.filePaths(String...) to specify file path(s), and/or FileDataSourceBuilder.classpathResources(String...) to specify classpath data resources; then pass the resulting object to LDConfig.Builder.dataSource(ComponentConfigurer).
FileDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
 
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
FIXED - com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
Always execute reads in the same order.
flag(String) - Method in class com.launchdarkly.sdk.server.integrations.TestData
Creates or copies a TestData.FlagBuilder for building a test flag configuration.
FLAG_NOT_FOUND - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that the caller provided a flag key that did not match any known flag.
FlagChangeEvent - Class in com.launchdarkly.sdk.server.interfaces
Parameter class used with FlagChangeListener.
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
Parameter class used with FlagValueChangeListener.
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
A LDValue.Converter for floats.
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
Creates a LDConfig.Builder from the provided LDConfig
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
Deprecated.
use LDContext directly instead.
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.

G

get(int) - Method in class com.launchdarkly.sdk.LDValue
Returns an array element by index.
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.
get(String) - Method in class com.launchdarkly.sdk.LDValue
Returns an object property by name.
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.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.
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.
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.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
 
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.
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.
getEmail() - Method in class com.launchdarkly.sdk.LDUser
Deprecated.
Returns the value of the email property for the user, if set.
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.
getErrorKind() - Method in class com.launchdarkly.sdk.EvaluationReason
An enumeration value indicating the general category of error, if the kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
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
The exception that caused the error condition, if the kind is EvaluationReason.Kind.ERROR and the errorKind is EvaluationReason.ErrorKind.EXCEPTION.
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.
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() - 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.
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
Same as LDContext.getIndividualContext(ContextKind), but specifies the kind as a plain string.
getIndividualContextCount() - Method in class com.launchdarkly.sdk.LDContext
Returns the number of context kinds in this context.
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
The timestamp of the last update to the BigSegmentStore.
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 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.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
If the execution mode is MigrationExecutionMode.SERIAL, then this will contain an execution order.
getOrigin() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
Get the origin associated with the result.
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
The key of the prerequisite flag that did not return the desired variation, if the kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
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.
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.
getRuleId() - Method in class com.launchdarkly.sdk.EvaluationReason
The unique identifier of the rule that was matched, if the kind is EvaluationReason.Kind.RULE_MATCH.
getRuleIndex() - Method in class com.launchdarkly.sdk.EvaluationReason
The index of the rule that was matched (0 for the first rule in the feature flag), if the kind is EvaluationReason.Kind.RULE_MATCH.
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.subsystems.ClientContext
Returns the configured SDK key.
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.
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.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
Returns the date/time that the value of DataSourceStatusProvider.Status.getState() most recently changed.
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
Returns the HTTP status code if the error was DataSourceStatusProvider.ErrorKind.ERROR_RESPONSE, or zero otherwise.
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.
getThreadPriority() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
Returns the worker thread priority that is set by LDConfig.Builder.threadPriority(int).
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.
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(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.
getValue(String) - Method in class com.launchdarkly.sdk.LDContext
Looks up the value of any attribute of the context by name.
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.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.interfaces.WrapperInfo
Get the name of the wrapper.
getWrapperVersion() - Method in class com.launchdarkly.sdk.server.interfaces.WrapperInfo
Get the version of the wrapper.

H

hashCode() - Method in class com.launchdarkly.sdk.AttributeRef
 
hashCode() - Method in class com.launchdarkly.sdk.ContextKind
 
hashCode() - Method in class com.launchdarkly.sdk.EvaluationDetail
 
hashCode() - Method in class com.launchdarkly.sdk.EvaluationReason
 
hashCode() - Method in class com.launchdarkly.sdk.LDContext
 
hashCode() - Method in class com.launchdarkly.sdk.LDUser
Deprecated.
 
hashCode() - Method in class com.launchdarkly.sdk.LDValue
 
hashCode() - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
 
hashCode() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
 
hashCode() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
 
hashCode() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems
 
hashCode() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
 
hashCode() - Method in class com.launchdarkly.sdk.UserAttribute
Deprecated.
 
HEALTHY - com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
Indicates that the Big Segment query involved in the flag evaluation was successful, and that the segment state is considered up to date.
Hook - Class in com.launchdarkly.sdk.server.integrations
A Hook is a set of user-defined callbacks that are executed by the SDK at various points of interest.
Hook(String) - Constructor for class com.launchdarkly.sdk.server.integrations.Hook
Creates an instance of Hook with the given name which will be put into its metadata.
HookConfiguration - Class in com.launchdarkly.sdk.server.subsystems
Encapsulates the SDK's 'hooks' configuration.
HookConfiguration(List<Hook>) - Constructor for class com.launchdarkly.sdk.server.subsystems.HookConfiguration
 
HookMetadata - Class in com.launchdarkly.sdk.server.integrations
Metadata about the Hook implementation.
HookMetadata(String) - Constructor for class com.launchdarkly.sdk.server.integrations.HookMetadata
 
hooks - Variable in class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
The current set of hooks the builder has.
hooks() - Static method in class com.launchdarkly.sdk.server.Components
Returns a builder for configuring hooks.
hooks(HooksConfigurationBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the SDK's hooks configuration, using a builder.
HooksConfigurationBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring the SDK's 'hooks'.
HooksConfigurationBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
 
http(ComponentConfigurer<HttpConfiguration>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the SDK's networking configuration, using a configuration builder.
HttpAuthentication - Interface in com.launchdarkly.sdk.server.interfaces
Represents a supported method of HTTP authentication, including proxy authentication.
HttpAuthentication.Challenge - Class in com.launchdarkly.sdk.server.interfaces
Properties of an HTTP authentication challenge.
httpBasicAuthentication(String, String) - Static method in class com.launchdarkly.sdk.server.Components
Configures HTTP basic authentication, for use with a proxy server.
httpConfiguration() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder for the SDK's networking configuration.
HttpConfiguration - Class in com.launchdarkly.sdk.server.subsystems
Encapsulates top-level HTTP configuration that applies to all SDK components.
HttpConfiguration(Duration, Map<String, String>, Proxy, HttpAuthentication, SocketFactory, Duration, SSLSocketFactory, X509TrustManager) - Constructor for class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
Creates an instance.
HttpConfigurationBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring the SDK's networking behavior.
HttpConfigurationBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 

I

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.
IGNORE - com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
Keys that are duplicated across files will be ignored, and the first occurrence will be used.
INCONSISTENT - com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
Consistency was checked and found to be inconsistent.
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.
INITIALIZING - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
The initial state of the data source when the SDK is being initialized.
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
A LDValue.Converter for integers.
INTERRUPTED - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
Indicates that the data source encountered an error that it will attempt to recover from.
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
 
INVALID_DATA - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
The SDK received malformed data from the LaunchDarkly service.
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.
isDefault() - Method in class com.launchdarkly.sdk.ContextKind
True if this is equal to ContextKind.DEFAULT ("user").
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.
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
True if the Big Segment store is available, but has not been updated within the amount of time specified by BigSegmentsConfigurationBuilder.staleAfter(Duration).
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.

J

JsonSerializable - Interface in com.launchdarkly.sdk.json
Marker interface for SDK classes that have a custom JSON serialization.
JsonSerialization - Class in com.launchdarkly.sdk.json
Helper methods for JSON serialization of SDK classes.
jsonValueVariation(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
jsonValueVariation(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
jsonValueVariation(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given context as any JSON value type.
jsonValueVariation(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 
jsonValueVariationDetail(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
jsonValueVariationDetail(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
jsonValueVariationDetail(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given context as any JSON value type, and returns an object that describes the way the value was determined.
jsonValueVariationDetail(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 

K

key(String) - Method in class com.launchdarkly.sdk.ContextBuilder
Sets the context's key attribute.
key(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Changes the user's key.
KEY - Static variable in class com.launchdarkly.sdk.UserAttribute
Deprecated.
Represents the user key attribute.
KeyedItems(Iterable<Map.Entry<String, TDescriptor>>) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems
Constructs a new instance.
keys() - Method in class com.launchdarkly.sdk.LDValue
Enumerates the property names in an object.
kind(ContextKind) - Method in class com.launchdarkly.sdk.ContextBuilder
Sets the context's kind attribute.
kind(String) - Method in class com.launchdarkly.sdk.ContextBuilder
Sets the context's kind attribute, as a string.

L

LAST_NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
Deprecated.
Represents the last name attribute.
lastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Sets the user's last name.
latency(MigrationOrigin, Duration) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
Report the latency of an operation.
LDClient - Class in com.launchdarkly.sdk.server
A client for the LaunchDarkly API.
LDClient(String) - Constructor for class com.launchdarkly.sdk.server.LDClient
Creates a new client instance that connects to LaunchDarkly with the default configuration.
LDClient(String, LDConfig) - Constructor for class com.launchdarkly.sdk.server.LDClient
Creates a new client to connect to LaunchDarkly with a custom configuration.
LDClientInterface - Interface in com.launchdarkly.sdk.server.interfaces
This interface defines the public methods of LDClient.
LDConfig - Class in com.launchdarkly.sdk.server
This class exposes advanced configuration options for the LDClient.
LDConfig(LDConfig.Builder) - Constructor for class com.launchdarkly.sdk.server.LDConfig
 
LDConfig.Builder - Class in com.launchdarkly.sdk.server
A builder that helps construct LDConfig objects.
LDContext - Class in com.launchdarkly.sdk
A collection of attributes that can be referenced in flag evaluations and analytics events.
LDGson - Class in com.launchdarkly.sdk.json
A helper class for interoperability with application code that uses Gson.
LDJackson - Class in com.launchdarkly.sdk.json
A helper class for interoperability with application code that uses Jackson.
LDReactorClient - Class in com.launchdarkly.sdk.server.integrations.reactor
A thin wrapper of the LDClient that aims to adapt it to reactive stream programming.
LDReactorClient(String, LDConfig, Scheduler) - Constructor for class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
Creates a client that uses the provided scheduler to execute functionality in a non-blocking manner.
LDReactorClient(String, Scheduler) - Constructor for class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
Creates a client that uses the provided scheduler to execute functionality in a non-blocking manner.
LDReactorClientInterface - Interface in com.launchdarkly.sdk.server.integrations.reactor
A version of LDClient that is adapted to support reactive stream programming.
LDUser - Class in com.launchdarkly.sdk
Deprecated.
use LDContext instead.
LDUser(LDUser.Builder) - Constructor for class com.launchdarkly.sdk.LDUser
Deprecated.
 
LDUser(String) - Constructor for class com.launchdarkly.sdk.LDUser
Deprecated.
Create a user with the given key
LDUser.Builder - Class in com.launchdarkly.sdk
LDValue - Class in com.launchdarkly.sdk
An immutable instance of any data type that is allowed in JSON.
LDValue() - Constructor for class com.launchdarkly.sdk.LDValue
 
LDValue.Convert - Class in com.launchdarkly.sdk
Predefined instances of LDValue.Converter for commonly used types.
LDValue.Converter<T> - Class in com.launchdarkly.sdk
Defines a conversion between LDValue and some other type.
LDValueType - Enum in com.launchdarkly.sdk
Describes the type of an LDValue.
level(LDLogLevel) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
Specifies the lowest level of logging to enable.
LIVE - com.launchdarkly.sdk.server.MigrationStage
Live - both "new" and "old" versions run with a preference for "new"
logAdapter - Variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
 
logDataSourceOutageAsErrorAfter - Variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
 
logDataSourceOutageAsErrorAfter(Duration) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
Sets the time threshold, if any, after which the SDK will log a data source outage at ERROR level instead of WARN level.
logging() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder for the SDK's logging configuration.
logging(LDLogAdapter) - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder for the SDK's logging configuration, specifying the implementation of logging to use.
logging(ComponentConfigurer<LoggingConfiguration>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the SDK's logging configuration, using a factory object.
LoggingConfiguration - Class in com.launchdarkly.sdk.server.subsystems
Encapsulates the SDK's general logging configuration.
LoggingConfiguration(String, LDLogAdapter, Duration) - Constructor for class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
Creates an instance.
LoggingConfigurationBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring the SDK's logging behavior.
LoggingConfigurationBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
 
Long - Static variable in class com.launchdarkly.sdk.LDValue.Convert
A LDValue.Converter for long integers.
longValue() - Method in class com.launchdarkly.sdk.LDValue
Returns this value as a long if it is numeric.

M

MALFORMED_FLAG - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that there was an internal inconsistency in the flag data, e.g.
method - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
The variation method that was used to invoke the evaluation.
Migration<TReadResult,​TWriteResult,​TReadInput,​TWriteInput> - Class in com.launchdarkly.sdk.server.migrations
Class for performing a technology migration.
Migration.Method<UInput,​UOutput> - Interface in com.launchdarkly.sdk.server.migrations
 
Migration.MigrationResult<TResult> - Class in com.launchdarkly.sdk.server.migrations
This class represents the result of a migration operation.
Migration.MigrationWriteResult<TWriteResult> - Class in com.launchdarkly.sdk.server.migrations
The result of a migration write.
Migration.ReadConsistencyChecker<TReadResult> - Interface in com.launchdarkly.sdk.server.migrations
This interface defines a method for checking the consistency of two reads.
Migration.Reader<TReadInput,​TReadResult> - Interface in com.launchdarkly.sdk.server.migrations
This interface defines a read method.
Migration.Writer<TWriteInput,​TWriteResult> - Interface in com.launchdarkly.sdk.server.migrations
This interfaces defines a write method.
MigrationBuilder<TReadResult,​TWriteResult,​TReadInput,​TWriteInput> - Class in com.launchdarkly.sdk.server.migrations
This builder is used to construct Migration instances.
MigrationBuilder(LDClientInterface) - Constructor for class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Construct a new builder.
migrationCheckRatio(long) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
Turn this flag into a migration flag and set the check ratio.
MigrationExecution - Class in com.launchdarkly.sdk.server.migrations
This class is used to control the execution mechanism for migrations.
MigrationExecutionMode - Enum in com.launchdarkly.sdk.server.migrations
Execution mode for a migration.
MigrationMethodResult<T> - Class in com.launchdarkly.sdk.server.migrations
Results of a method associated with a migration origin.
MigrationOp - Enum in com.launchdarkly.sdk.server
The type of migration operation.
MigrationOpTracker - Class in com.launchdarkly.sdk.server
Used to track information related to a migration operation.
MigrationOpTracker.Checker - Interface in com.launchdarkly.sdk.server
Interface for specifying the callback function for the consistency check.
MigrationOrigin - Enum in com.launchdarkly.sdk.server
The origin/source for a migration step.
MigrationResult(boolean, MigrationOrigin, TResult, Exception) - Constructor for class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
 
MigrationSerialOrder - Enum in com.launchdarkly.sdk.server.migrations
When using serial execution controls the order reads are executed.
MigrationStage - Enum in com.launchdarkly.sdk.server
Stage denotes one of six possible stages a technology migration could be a part of, progressing through the following order.
migrationVariation(String, LDContext, MigrationStage) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Returns the migration stage of the migration feature flag for the given evaluation context.
migrationVariation(String, LDContext, MigrationStage) - Method in class com.launchdarkly.sdk.server.LDClient
 
MigrationVariation - Class in com.launchdarkly.sdk.server
MigrationVariation(MigrationStage, MigrationOpTracker) - Constructor for class com.launchdarkly.sdk.server.MigrationVariation
 
MigrationWriteResult(Migration.MigrationResult<TWriteResult>) - Constructor for class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
 
MigrationWriteResult(Migration.MigrationResult<TWriteResult>, Migration.MigrationResult<TWriteResult>) - Constructor for class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
 
MIN_DIAGNOSTIC_RECORDING_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
minimumLevel - Variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
 
module() - Static method in class com.launchdarkly.sdk.json.LDJackson
Returns a Jackson Module that defines the correct serialization and deserialization behavior for all LaunchDarkly SDK objects that implement JsonSerializable.
MULTI - Static variable in class com.launchdarkly.sdk.ContextKind
A constant for the kind that all multi-kind contexts have.
multiBuilder() - Static method in class com.launchdarkly.sdk.LDContext
Creates a ContextMultiBuilder for building a multi-kind context.

N

name(String) - Method in class com.launchdarkly.sdk.ContextBuilder
Sets the context's name attribute.
name(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Deprecated.
Sets the user's full name.
NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
Deprecated.
Represents the full name attribute.
NETWORK_ERROR - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
An I/O error such as a dropped connection.
NEW - com.launchdarkly.sdk.server.MigrationOrigin
The "new" implementation.
NO_VARIATION - Static variable in class com.launchdarkly.sdk.EvaluationDetail
If EvaluationDetail.getVariationIndex() is equal to this constant, it means no variation was chosen (evaluation failed and returned a default value).
NO_VERSION - Static variable in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
noCaching() - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
Specifies that the SDK should not use an in-memory cache for the persistent data store.
noEvents() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration object that disables analytics events.
noLogging() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder that turns off SDK logging.
normalize(LDValue) - Static method in class com.launchdarkly.sdk.LDValue
Returns the same value if non-null, or LDValue.ofNull() if null.
NOT_CHECKED - com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
Consistency check was not performed.
NOT_CONFIGURED - com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
Indicates that Big Segments could not be queried for the flag evaluation because the SDK configuration did not include a Big Segment store.
NULL - com.launchdarkly.sdk.LDValueType
The value is null.
NUMBER - com.launchdarkly.sdk.LDValueType
The value is numeric.

O

OBJECT - com.launchdarkly.sdk.LDValueType
The value is an object (map).
ObjectBuilder - Class in com.launchdarkly.sdk
A builder created by LDValue.buildObject().
ObjectBuilder() - Constructor for class com.launchdarkly.sdk.ObjectBuilder
 
objectFrom(Map<String, T>) - Method in class com.launchdarkly.sdk.LDValue.Converter
Initializes an LDValue as an object, from a map containing this type.
of(boolean) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a boolean value.
of(double) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(float) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(int) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(long) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(String) - Static method in class com.launchdarkly.sdk.ContextKind
Constructor from a string value.
of(String) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a string value (or a null).
of(String, MigrationStage) - Static method in enum com.launchdarkly.sdk.server.MigrationStage
Convert a string into a migration stage.
off() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.OFF.
OFF - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the flag was off and therefore returned its configured off value.
OFF - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
Indicates that the data source has been permanently shut down.
OFF - com.launchdarkly.sdk.server.MigrationStage
Off - migration hasn't started, "old" is authoritative for reads and writes
offline(boolean) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Set whether this client is offline.
offVariation(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
Specifies the off variation for a boolean flag.
offVariation(int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
Specifies the index of the off variation.
ofNull() - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a null value.
OLD - com.launchdarkly.sdk.server.MigrationOrigin
The "old" implementation.
on(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
Sets targeting to be on or off for this flag.
onFlagChange(FlagChangeEvent) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagChangeListener
The SDK calls this method when a feature flag's configuration has changed in some way.
onFlagValueChange(FlagValueChangeEvent) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagValueChangeListener
The SDK calls this method when a feature flag's value has changed with regard to the specified evaluation context.
op(MigrationOp) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
Sets the migration related operation associated with these tracking measurements.

P

Parallel() - Static method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
Constructs a parallel execution.
PARALLEL - com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
Start reads in parallel and wait for them to both finish.
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.PollingDataSourceBuilder
 
payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
 
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(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
 
polling(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Equivalent to ServiceEndpointsBuilder.polling(URI), specifying the URI as a string.
polling(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Sets a custom base URI for the polling service.
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
 
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.
PREREQUISITE_FAILED - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the flag was considered off because it had at least one prerequisite flag that either was off or did not return the desired variation.
prerequisiteFailed(String) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
privateAttributes - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
privateAttributes(AttributeRef...) - Method in class com.launchdarkly.sdk.ContextBuilder
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(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, 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, 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, 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, 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.
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.
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, 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, 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, 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, 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, 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, String) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.

R

RAMP_DOWN - com.launchdarkly.sdk.server.MigrationStage
RampDown - only read from "new", write to "old" and "new"
RANDOM - com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
Each time a read is performed randomize the order.
read(Migration.Reader<TReadInput, TReadResult>, Migration.Reader<TReadInput, TReadResult>) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Configure the read methods of the migration.
read(Migration.Reader<TReadInput, TReadResult>, Migration.Reader<TReadInput, TReadResult>, Migration.ReadConsistencyChecker<TReadResult>) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Configure the read methods of the migration.
read(String, LDContext, MigrationStage) - Method in class com.launchdarkly.sdk.server.migrations.Migration
Execute a migration based read.
read(String, LDContext, MigrationStage, TReadInput) - Method in class com.launchdarkly.sdk.server.migrations.Migration
Execute a migration based read with a payload.
READ - com.launchdarkly.sdk.server.MigrationOp
 
readExecution(MigrationExecution) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Influences the level of concurrency when the migration stage calls for multiple execution reads.
recordCacheStats - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
 
recordCacheStats(boolean) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
Enables monitoring of the in-memory cache.
recordCustomEvent(LDContext, String, LDValue, Double) - Method in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
Creates a custom event, as when the SDK's track method is called.
recordEvaluationEvent(LDContext, String, int, int, LDValue, EvaluationReason, LDValue, String, boolean, Long, boolean, Long) - Method in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
Records the action of evaluating a feature flag.
recordIdentifyEvent(LDContext) - Method in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
Registers an evaluation context, as when the SDK's identify method is called.
recordMigrationEvent(MigrationOpTracker) - Method in interface com.launchdarkly.sdk.server.subsystems.EventProcessor
Creates a migration event when the SDK's trackMigration method is called.
REFRESH - com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
Indicates that the cache should refresh stale values instead of evicting them.
REFRESH_ASYNC - com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
Indicates that the cache should refresh stale values asynchronously instead of evicting them.
relayProxy(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Equivalent to ServiceEndpointsBuilder.relayProxy(URI), specifying the URI as a string.
relayProxy(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Specifies a single base URI for a Relay Proxy instance.
removeFlagChangeListener(FlagChangeListener) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagTracker
Unregisters a listener so that it will no longer be notified of feature flag changes.
removeStatusListener(BigSegmentStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider
Unsubscribes from notifications of status changes.
removeStatusListener(DataSourceStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
Unsubscribes from notifications of status changes.
removeStatusListener(DataStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
Unsubscribes from notifications of status changes.
RULE_MATCH - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the context matched one of the flag's rules.
ruleMatch(int, String) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.RULE_MATCH.
ruleMatch(int, String, boolean) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.RULE_MATCH and where the inExperiment parameter represents whether the evaluation was part of an experiment.

S

samplingRatio(long) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
Set the samplingRatio, used for event generation, for this flag.
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
The DataStoreTypes.DataKind instance that describes user segment data.
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.
SERIAL - com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
Execute one read fully before executing another read.
SerializationException - Exception in com.launchdarkly.sdk.json
General exception class for all errors in serializing or deserializing JSON.
SerializationException - Exception in com.launchdarkly.sdk.server.subsystems
General exception class for all errors in serializing or deserializing JSON.
SerializationException(String) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
Creates an instance.
SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
Creates an instance.
SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.server.subsystems.SerializationException
Creates an instance.
serialize(DataStoreTypes.ItemDescriptor) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
Returns a serialized representation of an item of this kind.
serialize(T) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
Converts an object to its JSON representation.
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(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the base service URIs used by SDK components.
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.
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
 
set(String, boolean) - Method in class com.launchdarkly.sdk.ContextBuilder
Same as ContextBuilder.set(String, LDValue) for a boolean value.
set(String, double) - Method in class com.launchdarkly.sdk.ContextBuilder
Same as ContextBuilder.set(String, LDValue) for a double-precision numeric value.
set(String, int) - Method in class com.launchdarkly.sdk.ContextBuilder
Same as ContextBuilder.set(String, LDValue) for an integer numeric value.
set(String, LDValue) - Method in class com.launchdarkly.sdk.ContextBuilder
Sets the value of any attribute for the context.
set(String, String) - Method in class com.launchdarkly.sdk.ContextBuilder
Same as ContextBuilder.set(String, LDValue) for a string value.
setHooks(List<Hook>) - Method in class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
Adds the provided list of hooks to the configuration.
SHADOW - com.launchdarkly.sdk.server.MigrationStage
Shadow - both "new" and "old" versions run with a preference for "old"
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.
STALE - com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
Indicates that the Big Segment query involved in the flag evaluation was successful, but that the segment state may not be up to date.
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.
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(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
Creates an instance.
Status(DataSourceStatusProvider.State, Instant, DataSourceStatusProvider.ErrorInfo) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
Constructs a new 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.
STOP - com.launchdarkly.sdk.server.subsystems.EventSender.Result
The EventSender was not able to deliver the events, and the nature of the error indicates that the SDK should not attempt to send any more events.
STORE_ERROR - com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
Indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error.
STORE_ERROR - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
The data source itself is working, but when it tried to put an update into the data store, the data store failed (so the SDK may not have the latest data).
StoreMetadata(long) - Constructor for class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.StoreMetadata
streaming(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Equivalent to ServiceEndpointsBuilder.streaming(URI), specifying the URI as a string.
streaming(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
Sets a custom base URI for the streaming service.
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
 
String - Static variable in class com.launchdarkly.sdk.LDValue.Convert
A LDValue.Converter for strings.
STRING - com.launchdarkly.sdk.LDValueType
The value is a string.
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.
SUCCESS - com.launchdarkly.sdk.server.subsystems.EventSender.Result
The EventSender successfully delivered the event(s).

T

TARGET_MATCH - com.launchdarkly.sdk.EvaluationReason.Kind
Indicates that the context key was specifically targeted for this flag.
targetMatch() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.TARGET_MATCH.
TestData - Class in com.launchdarkly.sdk.server.integrations
A mechanism for providing dynamically updatable feature flag state in a simplified form to an SDK client in test scenarios.
TestData.FlagBuilder - Class in com.launchdarkly.sdk.server.integrations
A builder for feature flag configurations to be used with TestData.
TestData.FlagBuilder.FlagRuleBuilder - Class in com.launchdarkly.sdk.server.integrations
A builder for feature flag rules to be used with TestData.FlagBuilder.
thenReturn(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
Finishes defining the rule, specifying the result value as a boolean.
thenReturn(int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
Finishes defining the rule, specifying the result as a variation index.
threadPriority(int) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Set the priority to use for all threads created by the SDK.
toJsonString() - Method in class com.launchdarkly.sdk.LDValue
Converts this value to its JSON serialization.
toString() - Method in class com.launchdarkly.sdk.AttributeRef
Returns the attribute reference as a string, in the same format used by AttributeRef.fromPath(String).
toString() - Method in class com.launchdarkly.sdk.ContextKind
Returns the string value of the context kind.
toString() - Method in class com.launchdarkly.sdk.EvaluationDetail
Returns a simple string representation of this instance.
toString() - Method in class com.launchdarkly.sdk.EvaluationReason
Returns a simple string representation of the reason.
toString() - Method in class com.launchdarkly.sdk.LDContext
Returns a string representation of the context.
toString() - Method in class com.launchdarkly.sdk.LDUser
Deprecated.
 
toString() - Method in class com.launchdarkly.sdk.LDValue
Returns a string representation of this value.
toString() - Method in class com.launchdarkly.sdk.server.FlagsStateOption
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
 
toString() - Method in enum com.launchdarkly.sdk.server.MigrationOp
 
toString() - Method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
A string representation of the migration execution.
toString() - Method in enum com.launchdarkly.sdk.server.MigrationStage
 
toString() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
 
toString() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
 
toString() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
 
toString() - Method in class com.launchdarkly.sdk.UserAttribute
Deprecated.
 
toType(LDValue) - Method in class com.launchdarkly.sdk.LDValue.Converter
Converts an LDValue to a value of the specified type.
toValuesMap() - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
Returns a map of flag keys to flag values.
track(String, LDContext) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
track(String, LDContext) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
track(String, LDContext) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that an application-defined event occurred.
track(String, LDContext) - Method in class com.launchdarkly.sdk.server.LDClient
 
trackData(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
trackData(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
trackData(String, LDContext, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that an application-defined event occurred.
trackData(String, LDContext, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 
trackErrors(boolean) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Enable or disable error tracking.
trackLatency(boolean) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Enable or disable latency tracking.
trackMetric(String, LDContext, LDValue, double) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
 
trackMetric(String, LDContext, LDValue, double) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
trackMetric(String, LDContext, LDValue, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that an application-defined event occurred, and provides an additional numeric value for custom metrics.
trackMetric(String, LDContext, LDValue, double) - Method in class com.launchdarkly.sdk.server.LDClient
 
trackMigration(MigrationOpTracker) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Track the details of a migration.
trackMigration(MigrationOpTracker) - Method in class com.launchdarkly.sdk.server.LDClient
 
trustManager - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
trySet(String, LDValue) - Method in class com.launchdarkly.sdk.ContextBuilder
Same as ContextBuilder.set(String, LDValue), but returns a boolean indicating whether the attribute was successfully set.
typeAdapters() - Static method in class com.launchdarkly.sdk.json.LDGson
Returns a Gson TypeAdapterFactory that defines the correct serialization and deserialization behavior for all LaunchDarkly SDK objects that implement JsonSerializable.

U

UNKNOWN - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
An unexpected error, such as an uncaught exception, further described by DataSourceStatusProvider.ErrorInfo.getMessage().
update(TestData.FlagBuilder) - Method in class com.launchdarkly.sdk.server.integrations.TestData
Updates the test data with the specified flag configuration.
updateStatus(DataSourceStatusProvider.State, DataSourceStatusProvider.ErrorInfo) - Method in class com.launchdarkly.sdk.server.integrations.TestData
Simulates a change in the data source status.
updateStatus(DataSourceStatusProvider.State, DataSourceStatusProvider.ErrorInfo) - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
Informs the SDK of a change in the data source's status.
updateStatus(DataStoreStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStoreUpdateSink
Reports a change in the data store's operational status.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.ItemDescriptor) - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
Updates or inserts an item in the specified collection.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.ItemDescriptor) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
Updates or inserts an item in the specified collection.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.SerializedItemDescriptor) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
Updates or inserts an item in the specified collection.
USER_NOT_SPECIFIED - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that the caller passed null for the user parameter, or the user lacked a key.
UserAttribute - Class in com.launchdarkly.sdk
Deprecated.
LDUser replaced by LDContext
userCacheSize(int) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
Sets the maximum number of users whose Big Segment state will be cached by the SDK at any given time.
userCacheTime(Duration) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
Sets the maximum length of time that the Big Segment state for a user will be cached by the SDK.
userKeysCapacity - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
userKeysCapacity(int) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Sets the number of user keys that the event processor can remember at any one time.
userKeysFlushInterval - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
userKeysFlushInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Sets the interval at which the event processor will reset its cache of known user keys.

V

valid(boolean) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
Sets the FeatureFlagsState.isValid() property.
VALID - com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
Indicates that the data source is currently operational and has not had any problems since the last time it received data.
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.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.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.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.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.

W

waitFor(DataSourceStatusProvider.State, Duration) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
A synchronous method for waiting for a desired connection state.
WITH_REASONS - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
Specifies that EvaluationReason data should be captured in the state object.
withBigSegmentsStatus(EvaluationReason.BigSegmentsStatus) - Method in class com.launchdarkly.sdk.EvaluationReason
Returns a copy of this EvaluationReason with a specific EvaluationReason.BigSegmentsStatus value.
wrapper(WrapperInfoBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Set the wrapper information.
wrapper(String, String) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
For use by wrapper libraries to set an identifying name for the wrapper being used.
wrapperInfo() - Static method in class com.launchdarkly.sdk.server.Components
Returns a wrapper information builder.
WrapperInfo - Class in com.launchdarkly.sdk.server.interfaces
Contains wrapper SDK information.
WrapperInfo(String, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.WrapperInfo
Used internally by the SDK to track wrapper information.
WrapperInfoBuilder - Class in com.launchdarkly.sdk.server.integrations
Contains methods for configuring wrapper information.
WrapperInfoBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
 
wrapperName - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
wrapperName - Variable in class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
 
wrapperName(String) - Method in class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
Set the name of the wrapper.
wrapperVersion - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
wrapperVersion - Variable in class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
 
wrapperVersion(String) - Method in class com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder
Set the version of the wrapper.
write(Migration.Writer<TWriteInput, TWriteResult>, Migration.Writer<TWriteInput, TWriteResult>) - Method in class com.launchdarkly.sdk.server.migrations.MigrationBuilder
Configure the write methods of the migration.
write(String, LDContext, MigrationStage) - Method in class com.launchdarkly.sdk.server.migrations.Migration
Execute a migration based write.
write(String, LDContext, MigrationStage, TWriteInput) - Method in class com.launchdarkly.sdk.server.migrations.Migration
Execute a migration based write with a payload.
WRITE - com.launchdarkly.sdk.server.MigrationOp
 
WRONG_TYPE - com.launchdarkly.sdk.EvaluationReason.ErrorKind
Indicates that the result value was not of the requested type, e.g.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages