Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

add(LDValue) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(boolean) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(int) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(long) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(float) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(double) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
add(String) - Method in class com.launchdarkly.sdk.ArrayBuilder
Adds a new element to the builder.
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, LDUser, 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 set of user properties.
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.
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(LDUser, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Returns an object that encapsulates the state of all feature flags for a given user, including the flag values and also metadata that can be used on the front end.
allFlagsState(LDUser, FlagsStateOption...) - Method in class com.launchdarkly.sdk.server.LDClient
 
anonymous(boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets whether this user is anonymous.
ANONYMOUS - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the anonymous attribute.
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(T...) - Method in class com.launchdarkly.sdk.LDValue.Converter
Initializes an LDValue as an array, from a sequence of this type.
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
Sets the user's avatar.
AVATAR - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the avatar URL attribute.

B

baseURI - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
baseURI(URI) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Sets a custom base URI for the events service.
baseURI - Variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
 
baseURI(URI) - Method in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
Sets a custom base URI for the polling service.
baseURI - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
 
baseURI(URI) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
Sets a custom base URI for the streaming service.
BasicConfiguration - Class in com.launchdarkly.sdk.server.interfaces
The most basic properties of the SDK client that are available to all SDK component factories.
BasicConfiguration(String, boolean, int) - Constructor for class com.launchdarkly.sdk.server.interfaces.BasicConfiguration
Constructs an instance.
Boolean - Static variable in class com.launchdarkly.sdk.LDValue.Convert
A LDValue.Converter for booleans.
booleanValue() - Method in class com.launchdarkly.sdk.LDValue
Returns this value as a boolean if it is explicitly a boolean.
boolVariation(String, LDUser, boolean) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given user.
boolVariation(String, LDUser, boolean) - Method in class com.launchdarkly.sdk.server.LDClient
 
boolVariationDetail(String, LDUser, boolean) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
boolVariationDetail(String, LDUser, 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.LDUser.Builder
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.LDConfig.Builder
Builds the configured LDConfig object.
buildArray() - Static method in class com.launchdarkly.sdk.LDValue
Starts building an array value.
Builder(String) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
Creates a builder with the specified key.
Builder(LDUser) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
Creates a builder based on an existing user.
Builder() - Constructor for class com.launchdarkly.sdk.server.LDConfig.Builder
Creates a builder with all configuration parameters set to the default
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.
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 - Interface in com.launchdarkly.sdk.server.interfaces
Context information provided by the LDClient when creating components.
close() - Method in interface com.launchdarkly.sdk.server.interfaces.DataSource
Tells the component to shut down and release any resources it is using.
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
 
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.interfaces - package com.launchdarkly.sdk.server.interfaces
The package for interfaces that allow customization of LaunchDarkly components, and interfaces to other advanced SDK features.
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.
Converter() - Constructor for class com.launchdarkly.sdk.LDValue.Converter
 
country(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Set the country for a user.
COUNTRY - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the country attribute.
createDataSource(ClientContext, DataSourceUpdates) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
Used internally by the LaunchDarkly client.
createDataSource(ClientContext, DataSourceUpdates) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceFactory
Creates an implementation instance.
createDataStore(ClientContext, DataStoreUpdates) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreFactory
Creates an implementation instance.
createEventProcessor(ClientContext) - Method in interface com.launchdarkly.sdk.server.interfaces.EventProcessorFactory
Creates an implementation instance.
createEventSender(BasicConfiguration, HttpConfiguration) - Method in interface com.launchdarkly.sdk.server.interfaces.EventSenderFactory
Called by the SDK to create the implementation object.
createHttpConfiguration(BasicConfiguration) - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfigurationFactory
Creates the configuration object.
createLoggingConfiguration(BasicConfiguration) - Method in interface com.launchdarkly.sdk.server.interfaces.LoggingConfigurationFactory
Creates the configuration object.
createPersistentDataStore(ClientContext) - Method in interface com.launchdarkly.sdk.server.interfaces.PersistentDataStoreFactory
Called internally from PersistentDataStoreBuilder to create the implementation object for the specific type of data store.
custom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Adds a String-valued custom attribute.
custom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
Adds an integer-valued custom attribute.
custom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
Adds a double-precision numeric custom attribute.
custom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a boolean-valued custom attribute.
custom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a custom attribute whose value can be any JSON type, using LDValue.
Custom(long, String, LDUser, LDValue, Double) - Constructor for class com.launchdarkly.sdk.server.interfaces.Event.Custom
Constructs a custom event.

D

DataKind(String, Function<DataStoreTypes.ItemDescriptor, String>, Function<String, DataStoreTypes.ItemDescriptor>) - Constructor for class com.launchdarkly.sdk.server.interfaces.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 - Interface in com.launchdarkly.sdk.server.interfaces
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.
dataSource(DataSourceFactory) - 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.
DataSourceFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates some implementation of DataSource.
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 a DataSource.
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.
DataSourceUpdates - Interface in com.launchdarkly.sdk.server.interfaces
Interface that a data source implementation will use to push data into the SDK.
DataStore - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a data store that holds feature flags and related data received by the SDK.
dataStore(DataStoreFactory) - 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.
DataStoreFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates some implementation of DataStore.
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.interfaces
Types that are used by the DataStore interface.
DataStoreTypes.DataKind - Class in com.launchdarkly.sdk.server.interfaces
Represents a separately namespaced collection of storable data items.
DataStoreTypes.FullDataSet<TDescriptor> - Class in com.launchdarkly.sdk.server.interfaces
Wrapper for a set of storable items being passed to a data store.
DataStoreTypes.ItemDescriptor - Class in com.launchdarkly.sdk.server.interfaces
A versioned item (or placeholder) storable in a DataStore.
DataStoreTypes.KeyedItems<TDescriptor> - Class in com.launchdarkly.sdk.server.interfaces
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.interfaces
A versioned item (or placeholder) storable in a PersistentDataStore.
DataStoreUpdates - Interface in com.launchdarkly.sdk.server.interfaces
Interface that a data store implementation can use to report information back to the SDK.
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 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_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
deletedItem(int) - Static method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.ItemDescriptor
Convenience method for constructing a deleted item placeholder.
describeConfiguration(BasicConfiguration) - Method in interface com.launchdarkly.sdk.server.interfaces.DiagnosticDescription
Used internally by the SDK to inspect the configuration.
deserialize(String, Class<T>) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
Parses an object from its JSON representation.
deserialize(String) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.DataKind
Creates an item of this kind from its serialized representation.
DETAILS_ONLY_FOR_TRACKED_FLAGS - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
Specifies that any flag metadata that is normally only used for event generation - such as flag versions and evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on.
DiagnosticDescription - Interface in com.launchdarkly.sdk.server.interfaces
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, LDUser, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the floating point numeric value of a feature flag for a given user.
doubleVariation(String, LDUser, double) - Method in class com.launchdarkly.sdk.server.LDClient
 
doubleVariationDetail(String, LDUser, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
doubleVariationDetail(String, LDUser, double) - Method in class com.launchdarkly.sdk.server.LDClient
 

E

email(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the user's e-mail address.
EMAIL - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the user key attribute.
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.LDUser
 
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.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.interfaces.DataStoreTypes.FullDataSet
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.ItemDescriptor
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.KeyedItems
 
equals(Object) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
 
equals(Object) - Method in class com.launchdarkly.sdk.UserAttribute
 
error(EvaluationReason.ErrorKind, LDValue) - Static method in class com.launchdarkly.sdk.EvaluationDetail
Shortcut for creating an instance with an error result.
error(EvaluationReason.ErrorKind) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.ERROR.
ErrorInfo(DataSourceStatusProvider.ErrorKind, int, String, Instant) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
Constructs an instance.
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.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().
Event - Class in com.launchdarkly.sdk.server.interfaces
Base class for all analytics events that are generated by the client.
Event(long, LDUser) - Constructor for class com.launchdarkly.sdk.server.interfaces.Event
Base event constructor.
Event.Custom - Class in com.launchdarkly.sdk.server.interfaces
A custom event created with LDClientInterface.track(String, LDUser) or one of its overloads.
Event.FeatureRequest - Class in com.launchdarkly.sdk.server.interfaces
An event generated by a feature flag evaluation.
Event.Identify - Class in com.launchdarkly.sdk.server.interfaces
An event created with LDClientInterface.identify(LDUser).
Event.Index - Class in com.launchdarkly.sdk.server.interfaces
An event created internally by the SDK to hold user data that may be referenced by multiple events.
EventProcessor - Interface in com.launchdarkly.sdk.server.interfaces
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
 
EventProcessorFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates some implementation of EventProcessor.
events(EventProcessorFactory) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the implementation of EventProcessor to be used for processing analytics events.
eventSender(EventSenderFactory) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Specifies a custom implementation for event delivery.
EventSender - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a component that can deliver preformatted event data.
EventSender.EventDataKind - Enum in com.launchdarkly.sdk.server.interfaces
Enumerated values corresponding to different kinds of event data.
EventSender.Result - Class in com.launchdarkly.sdk.server.interfaces
Encapsulates the results of a call to EventSender.sendEventData(EventDataKind, String, int, URI).
eventSenderFactory - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
EventSenderFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates some implementation of EventSender.
exception(Exception) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.ERROR, with an exception instance.
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

fallthrough() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.FALLTHROUGH.
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.LDUser, FlagsStateOption...).
FeatureRequest(long, String, LDUser, int, int, LDValue, LDValue, EvaluationReason, String, boolean, long, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
Constructs a feature request event.
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.
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), then pass the resulting object to LDConfig.Builder.dataSource(DataSourceFactory).
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
Represents the first name attribute.
firstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the user's first name
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.
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 user.
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 interface com.launchdarkly.sdk.server.interfaces.EventProcessor
Specifies that any buffered events should be sent as soon as possible, rather than waiting for the next flush interval.
flush() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Flushes all pending events.
flush() - Method in class com.launchdarkly.sdk.server.LDClient
 
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
Returns a UserAttribute instance for the specified attribute name.
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.
fromType(T) - Method in class com.launchdarkly.sdk.LDValue.Converter
Converts a value of the specified type to an LDValue.
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.interfaces.DataStoreTypes.FullDataSet
Constructs a new instance.

G

get(int) - Method in class com.launchdarkly.sdk.LDValue
Returns an array element by index.
get(String) - Method in class com.launchdarkly.sdk.LDValue
Returns an object property by name.
get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Retrieves an item from the specified collection, if available.
get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.interfaces.PersistentDataStore
Retrieves an item from the specified collection, if available.
getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Retrieves all items from the specified collection.
getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.interfaces.PersistentDataStore
Retrieves all items from the specified collection.
getAttribute(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
Gets the value of a user attribute, if present.
getAvatar() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the avatar property for the user, if set.
getBasic() - Method in interface com.launchdarkly.sdk.server.interfaces.ClientContext
The SDK's basic global properties.
getCacheStats() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Returns statistics about cache usage, if this data store implementation supports caching.
getCacheStats() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
Queries the current cache statistics, if this is a persistent store with caching enabled.
getConnectTimeout() - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfiguration
The connection timeout.
getCountry() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the country property for the user, if set.
getCreationDate() - Method in class com.launchdarkly.sdk.server.interfaces.Event
The event timestamp.
getCustomAttributes() - Method in class com.launchdarkly.sdk.LDUser
Returns an enumeration of all custom attribute names that were set for this user.
getData() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.FullDataSet
Returns the wrapped data set.
getData() - Method in class com.launchdarkly.sdk.server.interfaces.Event.Custom
The custom data associated with the event, if any.
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
 
getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceUpdates
Returns an object that provides status tracking for the data store, if applicable.
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
 
getDebugEventsUntilDate() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
If debugging is enabled for this flag, the Unix millisecond time at which to stop debugging.
getDefaultHeaders() - Method in interface com.launchdarkly.sdk.server.interfaces.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.
getDefaultVal() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The application default value used in the evaluation.
getEmail() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the email property for the user, if set.
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.
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.
getFirstName() - Method in class com.launchdarkly.sdk.LDUser
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 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.
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.
getHttp() - Method in interface com.launchdarkly.sdk.server.interfaces.ClientContext
The configured networking properties that apply to all components.
getIp() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the IP property for the user, if set.
getItem() - Method in class com.launchdarkly.sdk.server.interfaces.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.interfaces.DataStoreTypes.KeyedItems
Returns the wrapped data set.
getKey() - Method in class com.launchdarkly.sdk.LDUser
Returns the user's unique key.
getKey() - Method in class com.launchdarkly.sdk.server.interfaces.Event.Custom
The custom event key.
getKey() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The key of the feature flag that was evaluated.
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.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
Returns the value of the last name property for the user, if set.
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).
getLogDataSourceOutageAsErrorAfter() - Method in interface com.launchdarkly.sdk.server.interfaces.LoggingConfiguration
The time threshold, if any, after which the SDK will log a data source outage at ERROR level instead of WARN level.
getLogging() - Method in interface com.launchdarkly.sdk.server.interfaces.ClientContext
The configured logging properties that apply to all components.
getMessage() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
Returns any additional human-readable information relevant to the error.
getMetricValue() - Method in class com.launchdarkly.sdk.server.interfaces.Event.Custom
The numeric metric value associated with the event, if any.
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.
getName() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the full name property for the user, if set.
getName() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.DataKind
A case-sensitive alphabetic string that uniquely identifies this data kind.
getName() - Method in class com.launchdarkly.sdk.UserAttribute
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 user.
getOldValue() - Method in class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
Returns the last known value of the flag for the specified user prior to the update.
getPrereqOf() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
If this flag was evaluated as a prerequisite for another flag, the key of the other flag.
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.
getPrivateAttributes() - Method in class com.launchdarkly.sdk.LDUser
Returns an enumeration of all attributes that were marked private for this user.
getProxy() - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfiguration
The proxy configuration, if any.
getProxyAuthentication() - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfiguration
The authentication method to use for a proxy, if any.
getRealm() - Method in class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
The authentication realm, if any.
getReason() - Method in class com.launchdarkly.sdk.EvaluationDetail
An object describing the main factor that influenced the flag evaluation value.
getReason() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The EvaluationReason for this evaluation, or null if the reason was not requested for this evaluation.
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.interfaces.BasicConfiguration
Returns the configured SDK key.
getSecondary() - Method in class com.launchdarkly.sdk.LDUser
Returns the value of the secondary key property for the user, if set.
getSerializedItem() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
Returns the data item's serialized representation.
getSocketTimeout() - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfiguration
The socket timeout.
getSslSocketFactory() - Method in interface com.launchdarkly.sdk.server.interfaces.HttpConfiguration
The configured socket factory for secure connections.
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.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.
getThreadPriority() - Method in class com.launchdarkly.sdk.server.interfaces.BasicConfiguration
The thread priority that should be used for any worker threads created by SDK components.
getTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
Returns the date/time that the error occurred.
getTimeFromServer() - Method in class com.launchdarkly.sdk.server.interfaces.EventSender.Result
Returns the parsed value of an HTTP Date header received from the remote server, if any.
getTotalLoadTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
The total number of nanoseconds that the cache has spent loading new values.
getTrustManager() - Method in interface com.launchdarkly.sdk.server.interfaces.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.
getUser() - Method in class com.launchdarkly.sdk.server.interfaces.Event
The user associated with the event.
getValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
The result of the flag evaluation.
getValue() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The value of the selected flag variation.
getVariation() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The index of the selected flag variation, or -1 if the application default value was used.
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.interfaces.DataStoreTypes.ItemDescriptor
Returns the version number of this data, provided by the SDK.
getVersion() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
Returns the version number of this data, provided by the SDK.
getVersion() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
The version of the feature flag that was evaluated, or -1 if the flag was not found.

H

hashCode() - Method in class com.launchdarkly.sdk.EvaluationDetail
 
hashCode() - Method in class com.launchdarkly.sdk.EvaluationReason
 
hashCode() - Method in class com.launchdarkly.sdk.LDUser
 
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.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.interfaces.DataStoreTypes.FullDataSet
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.ItemDescriptor
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.KeyedItems
 
hashCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
 
hashCode() - Method in class com.launchdarkly.sdk.UserAttribute
 
http(HttpConfigurationFactory) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the SDK's networking configuration, using a factory object.
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 - Interface in com.launchdarkly.sdk.server.interfaces
Encapsulates top-level HTTP configuration that applies to all SDK components.
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
 
HttpConfigurationFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates an HttpConfiguration.

I

Identify(long, LDUser) - Constructor for class com.launchdarkly.sdk.server.interfaces.Event.Identify
Constructs an identify event.
identify(LDUser) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Registers the user.
identify(LDUser) - Method in class com.launchdarkly.sdk.server.LDClient
 
Index(long, LDUser) - Constructor for class com.launchdarkly.sdk.server.interfaces.Event.Index
Constructs an index event.
init(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceUpdates
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.interfaces.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.interfaces.PersistentDataStore
Overwrites the store's contents with a set of items for each collection.
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.
inlineUsersInEvents - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
inlineUsersInEvents(boolean) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Sets whether to include full user details in every analytics event.
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.
intValue() - Method in class com.launchdarkly.sdk.LDValue
Returns this value as an int if it is numeric.
intVariation(String, LDUser, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the integer value of a feature flag for a given user.
intVariation(String, LDUser, int) - Method in class com.launchdarkly.sdk.server.LDClient
 
intVariationDetail(String, LDUser, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
intVariationDetail(String, LDUser, int) - Method in class com.launchdarkly.sdk.server.LDClient
 
ip(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the IP for a user.
IP - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the IP address attribute.
isAnonymous() - Method in class com.launchdarkly.sdk.LDUser
Returns true if this user was marked anonymous.
isAttributePrivate(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
Tests whether an attribute has been marked private for this user.
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
Returns true for a built-in attribute or false for a custom attribute.
isDebug() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
True if this event was generated due to debugging being enabled.
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.interfaces.DataStoreTypes.SerializedItemDescriptor
Returns true if this is a placeholder (tombstone) for a deleted item.
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
 
isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.DataSource
Returns true once the client has been initialized and will never return false again.
isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Checks whether this store has been initialized with any data yet.
isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tests whether the client is ready to be used.
isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.PersistentDataStore
Returns true if this store has been initialized.
isInitialized() - Method in class com.launchdarkly.sdk.server.LDClient
 
isInt() - Method in class com.launchdarkly.sdk.LDValue
Tests whether this value is a number that is also an integer.
isMustShutDown() - Method in class com.launchdarkly.sdk.server.interfaces.EventSender.Result
Returns true if an unrecoverable error (such as an HTTP 401 error, implying that the SDK key is invalid) means the SDK should permanently stop trying to send events
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.interfaces.BasicConfiguration
Returns true if the client was configured to be completely offline.
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
 
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.
isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Returns true if this data store implementation supports status monitoring.
isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
Indicates whether the current data store implementation supports status monitoring.
isStoreAvailable() - Method in interface com.launchdarkly.sdk.server.interfaces.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.interfaces.EventSender.Result
Returns true if the events were delivered.
isTrackEvents() - Method in class com.launchdarkly.sdk.server.interfaces.Event.FeatureRequest
True if full event tracking is enabled for this flag.
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.interfaces.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, LDUser, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the LDValue value of a feature flag for a given user.
jsonValueVariation(String, LDUser, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 
jsonValueVariationDetail(String, LDUser, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the LDValue value of a feature flag for a given user.
jsonValueVariationDetail(String, LDUser, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 

K

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

L

LAST_NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the last name attribute.
lastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the user's last name.
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.
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.
LDUser - Class in com.launchdarkly.sdk
A collection of attributes that can affect flag evaluation, usually corresponding to a user of your application.
LDUser(LDUser.Builder) - Constructor for class com.launchdarkly.sdk.LDUser
 
LDUser(String) - Constructor for class com.launchdarkly.sdk.LDUser
Create a user with the given key
LDUser.Builder - Class in com.launchdarkly.sdk
A builder that helps construct LDUser objects.
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.
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(LoggingConfigurationFactory) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Sets the SDK's logging configuration, using a factory object.
LoggingConfiguration - Interface in com.launchdarkly.sdk.server.interfaces
Encapsulates the SDK's general logging configuration.
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
 
LoggingConfigurationFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates a LoggingConfiguration.
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

MIN_DIAGNOSTIC_RECORDING_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
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.

N

name(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the user's full name.
NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the full name attribute.
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).
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.
normalize(LDValue) - Static method in class com.launchdarkly.sdk.LDValue
Returns the same value if non-null, or LDValue.ofNull() if null.

O

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(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(float) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(double) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a numeric value.
of(String) - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a string value (or a null).
off() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.OFF.
offline(boolean) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
Set whether this client is offline.
ofNull() - Static method in class com.launchdarkly.sdk.LDValue
Returns an instance for a null value.
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 user.

P

parse(String) - Static method in class com.launchdarkly.sdk.LDValue
Parses an LDValue from a JSON representation.
persistentDataStore(PersistentDataStoreFactory) - 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.interfaces
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(PersistentDataStoreFactory) - Constructor for class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
Creates a new builder.
PersistentDataStoreBuilder.StaleValuesPolicy - Enum in com.launchdarkly.sdk.server.integrations
persistentDataStoreFactory - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
 
PersistentDataStoreFactory - Interface in com.launchdarkly.sdk.server.interfaces
Interface for a factory that creates some implementation of a persistent data store.
pollingBaseURI - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
 
pollingBaseURI(URI) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
Sets a custom base URI for special polling requests.
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.
prerequisiteFailed(String) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
privateAttributeNames(String...) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Marks a set of attribute names as private.
privateAttributes - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
 
privateAttributes(UserAttribute...) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
Marks a set of attribute names as private.
privateAvatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
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
Set the country for a user, and ensures that the country attribute will not be sent back to LaunchDarkly.
privateCustom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a String-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add an int-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a double-precision numeric custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a boolean-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
Add a custom attribute of any JSON type, that will not be sent back to LaunchDarkly.
privateEmail(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
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
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
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
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
Sets the user's full name, and ensures that the name attribute will not be sent back to LaunchDarkly.
privateSecondary(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the secondary key for a user, and ensures that the secondary key attribute is not sent back to LaunchDarkly.
provideAuthorization(Iterable<HttpAuthentication.Challenge>) - Method in interface com.launchdarkly.sdk.server.interfaces.HttpAuthentication
Computes the Authorization or Proxy-Authorization header for an authentication challenge.
proxyAuth - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
proxyAuth(HttpAuthentication) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
Sets an authentication strategy for use with an HTTP proxy.
proxyHost - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
proxyHostAndPort(String, int) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
Sets an HTTP proxy for making connections to LaunchDarkly.
proxyPort - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
put(String, LDValue) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, boolean) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, int) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, long) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, float) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, double) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, String) - Method in class com.launchdarkly.sdk.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.

R

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.
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(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.
Result(boolean, boolean, Date) - Constructor for class com.launchdarkly.sdk.server.interfaces.EventSender.Result
Constructs an instance.
ruleMatch(int, String) - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.RULE_MATCH.

S

secondary(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
Sets the secondary key for a user.
SECONDARY_KEY - Static variable in class com.launchdarkly.sdk.UserAttribute
Represents the secondary key attribute.
secureModeHash(LDUser) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
secureModeHash(LDUser) - 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.
sendEvent(Event) - Method in interface com.launchdarkly.sdk.server.interfaces.EventProcessor
Records an event asynchronously.
sendEventData(EventSender.EventDataKind, String, int, URI) - Method in interface com.launchdarkly.sdk.server.interfaces.EventSender
Attempt to deliver an event data payload.
sendEvents() - Static method in class com.launchdarkly.sdk.server.Components
Returns a configuration builder for analytics event delivery.
SerializationException - Exception in com.launchdarkly.sdk.json
General exception class for all errors in serializing or deserializing JSON.
SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
Creates an instance.
SerializationException - Exception in com.launchdarkly.sdk.server.interfaces
General exception class for all errors in serializing or deserializing JSON.
SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.server.interfaces.SerializationException
Creates an instance.
serialize(T) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
Converts an object to its JSON representation.
serialize(DataStoreTypes.ItemDescriptor) - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.DataKind
Returns a serialized representation of an item of this kind.
SerializedItemDescriptor(int, boolean, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
Constructs a new instance.
size() - Method in class com.launchdarkly.sdk.LDValue
Returns the number of elements in an array or object.
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.
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.interfaces.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(DataSourceStatusProvider.State, Instant, DataSourceStatusProvider.ErrorInfo) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
Constructs a new instance.
Status(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
Creates an instance.
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.
stringValue() - Method in class com.launchdarkly.sdk.LDValue
Returns this value as a String if it is a string.
stringVariation(String, LDUser, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the String value of a feature flag for a given user.
stringVariation(String, LDUser, String) - Method in class com.launchdarkly.sdk.server.LDClient
 
stringVariationDetail(String, LDUser, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
stringVariationDetail(String, LDUser, String) - Method in class com.launchdarkly.sdk.server.LDClient
 

T

targetMatch() - Static method in class com.launchdarkly.sdk.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.TARGET_MATCH.
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.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.LDUser
 
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.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 class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.DataKind
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.ItemDescriptor
 
toString() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreTypes.SerializedItemDescriptor
 
toString() - Method in class com.launchdarkly.sdk.UserAttribute
 
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, LDUser) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that a user performed an event.
track(String, LDUser) - Method in class com.launchdarkly.sdk.server.LDClient
 
trackData(String, LDUser, LDValue) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that a user performed an event, and provides additional custom data.
trackData(String, LDUser, LDValue) - Method in class com.launchdarkly.sdk.server.LDClient
 
trackMetric(String, LDUser, LDValue, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
Tracks that a user performed an event, and provides an additional numeric value for custom metrics.
trackMetric(String, LDUser, LDValue, double) - Method in class com.launchdarkly.sdk.server.LDClient
 
trustManager - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
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

updateStatus(DataSourceStatusProvider.State, DataSourceStatusProvider.ErrorInfo) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceUpdates
Informs the SDK of a change in the data source's status.
updateStatus(DataStoreStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreUpdates
Reports a change in the data store's operational status.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.ItemDescriptor) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceUpdates
Updates or inserts an item in the specified collection.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.ItemDescriptor) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStore
Updates or inserts an item in the specified collection.
upsert(DataStoreTypes.DataKind, String, DataStoreTypes.SerializedItemDescriptor) - Method in interface com.launchdarkly.sdk.server.interfaces.PersistentDataStore
Updates or inserts an item in the specified collection.
UserAttribute - Class in com.launchdarkly.sdk
Represents a built-in or custom attribute name supported by LDUser.
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

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.PersistentDataStoreBuilder.StaleValuesPolicy
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.interfaces.EventSender.EventDataKind
Returns the enum constant of this type with the specified name.
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.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.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.interfaces.EventSender.EventDataKind
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.
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.
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.
wrapperName - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
wrapperVersion - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links