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.client.value.ArrayBuilder
Adds a new element to the builder.
add(boolean) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
add(int) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
add(long) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
add(float) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
add(double) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
add(String) - Method in class com.launchdarkly.client.value.ArrayBuilder
Adds a new element to the builder.
all(VersionedDataKind<T>) - Method in interface com.launchdarkly.client.FeatureStore
Returns a Map of all associated objects of a given kind.
all(VersionedDataKind<T>) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
all(VersionedDataKind<T>) - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
all(VersionedDataKind<T>) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
ALL - Static variable in class com.launchdarkly.client.VersionedDataKind
A list of all existing instances of VersionedDataKind.
allAttributesPrivate - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
allAttributesPrivate(boolean) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets whether or not all optional user attributes should be hidden from LaunchDarkly.
allAttributesPrivate(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
allFlags(LDUser) - Method in class com.launchdarkly.client.LDClient
 
allFlags(LDUser) - Method in interface com.launchdarkly.client.LDClientInterface
Deprecated.
Use LDClientInterface.allFlagsState(com.launchdarkly.client.LDUser, com.launchdarkly.client.FlagsStateOption...) instead. Current versions of the client-side SDK will not generate analytics events correctly if you pass the result of allFlags().
allFlagsState(LDUser, FlagsStateOption...) - Method in class com.launchdarkly.client.LDClient
 
allFlagsState(LDUser, FlagsStateOption...) - Method in interface com.launchdarkly.client.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.
anonymous(boolean) - Method in class com.launchdarkly.client.LDUser.Builder
Sets whether this user is anonymous.
ArrayBuilder - Class in com.launchdarkly.client.value
A builder created by LDValue.buildArray().
ArrayBuilder() - Constructor for class com.launchdarkly.client.value.ArrayBuilder
 
arrayFrom(Iterable<T>) - Method in class com.launchdarkly.client.value.LDValue.Converter
Initializes an LDValue as an array, from a sequence of this type.
arrayOf(T...) - Method in class com.launchdarkly.client.value.LDValue.Converter
Initializes an LDValue as an array, from a sequence of this type.
asJsonElement() - Method in class com.launchdarkly.client.value.LDValue
Deprecated.
The Gson types may be removed from the public API at some point; it is preferable to use getters like LDValue.booleanValue() and LDValue.getType().
asUnsafeJsonElement() - Method in class com.launchdarkly.client.value.LDValue
Deprecated.
This method will be removed in a future version. Application code should always use LDValue.asJsonElement().
asyncRefresh(boolean) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
autoUpdate(boolean) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
Deprecated.
Specifies whether the data source should watch for changes to the source file(s) and reload flags whenever there is a change.
autoUpdate(boolean) - Method in class com.launchdarkly.client.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.client.LDUser.Builder
Sets the user's avatar.

B

baseURI - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
baseURI(URI) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets a custom base URI for the events service.
baseURI - Variable in class com.launchdarkly.client.integrations.PollingDataSourceBuilder
 
baseURI(URI) - Method in class com.launchdarkly.client.integrations.PollingDataSourceBuilder
Sets a custom base URI for the polling service.
baseURI - Variable in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
 
baseURI(URI) - Method in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
Sets a custom base URI for the streaming service.
baseURI(URI) - Method in class com.launchdarkly.client.LDConfig.Builder
Boolean - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for booleans.
booleanValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as a boolean if it is explicitly a boolean.
boolVariation(String, LDUser, boolean) - Method in class com.launchdarkly.client.LDClient
 
boolVariation(String, LDUser, boolean) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the value of a feature flag for a given user.
boolVariationDetail(String, LDUser, boolean) - Method in class com.launchdarkly.client.LDClient
 
boolVariationDetail(String, LDUser, boolean) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
build() - Method in class com.launchdarkly.client.LDConfig.Builder
Builds the configured LDConfig object.
build() - Method in class com.launchdarkly.client.LDUser.Builder
Builds the configured LDUser object.
build() - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Build a RedisFeatureStore based on the currently configured builder object.
build() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper.Builder
Deprecated.
Creates and configures the wrapper object.
build() - Method in class com.launchdarkly.client.value.ArrayBuilder
Returns an array containing the builder's current elements.
build() - Method in class com.launchdarkly.client.value.ObjectBuilder
Returns an object containing the builder's current elements.
buildArray() - Static method in class com.launchdarkly.client.value.LDValue
Starts building an array value.
Builder() - Constructor for class com.launchdarkly.client.LDConfig.Builder
Creates a builder with all configuration parameters set to the default
Builder(String) - Constructor for class com.launchdarkly.client.LDUser.Builder
Creates a builder with the specified key.
Builder(LDUser) - Constructor for class com.launchdarkly.client.LDUser.Builder
Creates a builder based on an existing user.
builder(FeatureStoreCore) - Static method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
Creates a new builder.
buildObject() - Static method in class com.launchdarkly.client.value.LDValue
Starts building an object value.

C

cacheForever() - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Specifies that the in-memory cache should never expire.
cacheMillis(long) - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Shortcut for calling PersistentDataStoreBuilder.cacheTime(long, TimeUnit) with TimeUnit.MILLISECONDS.
CacheMonitor - Class in com.launchdarkly.client.integrations
A conduit that an application can use to monitor caching behavior of a persistent data store.
CacheMonitor() - Constructor for class com.launchdarkly.client.integrations.CacheMonitor
Constructs a new instance.
cacheMonitor - Variable in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
 
cacheMonitor(CacheMonitor) - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Provides a conduit for an application to monitor the effectiveness of the in-memory cache.
cacheMonitor(CacheMonitor) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper.Builder
Deprecated.
Sets the cache monitor instance.
CacheMonitor.CacheStats - Class in com.launchdarkly.client.integrations
A snapshot of cache statistics.
cacheSeconds(long) - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Shortcut for calling PersistentDataStoreBuilder.cacheTime(long, TimeUnit) with TimeUnit.SECONDS.
CacheStats(long, long, long, long, long, long) - Constructor for class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
Constructs a new instance.
cacheTime(long, TimeUnit) - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Specifies the cache TTL.
cacheTime(long, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
caching - Variable in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
 
caching(FeatureStoreCacheConfig) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Specifies whether local caching should be enabled and if so, sets the cache properties.
caching(FeatureStoreCacheConfig) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper.Builder
Deprecated.
Sets the local caching properties.
CachingStoreWrapper - Class in com.launchdarkly.client.utils
Deprecated.
Referencing this class directly is deprecated; it is now part of the implementation of PersistentDataStoreBuilder and will be made package-private starting in version 5.0.
CachingStoreWrapper(FeatureStoreCore, FeatureStoreCacheConfig, CacheMonitor) - Constructor for class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
CachingStoreWrapper.Builder - Class in com.launchdarkly.client.utils
Deprecated.
Builder for instances of CachingStoreWrapper.
capacity - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
capacity(int) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Set the capacity of the events buffer.
capacity(int) - Method in class com.launchdarkly.client.LDConfig.Builder
Challenge(String, String) - Constructor for class com.launchdarkly.client.interfaces.HttpAuthentication.Challenge
Constructs an instance.
CLIENT_SIDE_ONLY - Static variable in class com.launchdarkly.client.FlagsStateOption
Specifies that only flags marked for use with the client-side SDK should be included in the state object.
close() - Method in class com.launchdarkly.client.EventProcessor.NullEventProcessor
Deprecated.
 
close() - Method in class com.launchdarkly.client.InMemoryFeatureStore
Does nothing; this class does not have any resources to release
close() - Method in class com.launchdarkly.client.LDClient
 
close() - Method in interface com.launchdarkly.client.LDClientInterface
Closes the LaunchDarkly client event processing thread.
close() - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
close() - Method in interface com.launchdarkly.client.UpdateProcessor
Tells the component to shut down and release any resources it is using.
close() - Method in class com.launchdarkly.client.UpdateProcessor.NullUpdateProcessor
Deprecated.
 
close() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
com.launchdarkly.client - package com.launchdarkly.client
The main package for the LaunchDarkly Java SDK.
com.launchdarkly.client.files - package com.launchdarkly.client.files
Deprecated package replaced by FileData.
com.launchdarkly.client.integrations - package com.launchdarkly.client.integrations
This package contains integration tools for connecting the SDK to other software components, or configuring how it connects to LaunchDarkly.
com.launchdarkly.client.interfaces - package com.launchdarkly.client.interfaces
The package for interfaces that allow customization of LaunchDarkly components.
com.launchdarkly.client.utils - package com.launchdarkly.client.utils
Helper classes that may be useful in custom integrations.
com.launchdarkly.client.value - package com.launchdarkly.client.value
Provides the LDValue abstraction for supported data types.
Components - Class in com.launchdarkly.client
Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.
Components() - Constructor for class com.launchdarkly.client.Components
 
connectTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to Protocol.DEFAULT_TIMEOUT
connectTimeout(int) - Method in class com.launchdarkly.client.LDConfig.Builder
connectTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to Protocol.DEFAULT_TIMEOUT
connectTimeoutMillis - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
connectTimeoutMillis(int) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
Sets the connection timeout.
connectTimeoutMillis(int) - Method in class com.launchdarkly.client.LDConfig.Builder
Converter() - Constructor for class com.launchdarkly.client.value.LDValue.Converter
 
country(String) - Method in class com.launchdarkly.client.LDUser.Builder
Set the country for a user.
country(LDCountryCode) - Method in class com.launchdarkly.client.LDUser.Builder
Deprecated.
As of version 4.10.0. In the next major release the SDK will no longer include the LDCountryCode class. Applications should use LDUser.Builder.country(String) instead.
createEventProcessor(String, LDConfig) - Method in interface com.launchdarkly.client.EventProcessorFactory
Creates an implementation instance.
createEventSender(String, HttpConfiguration) - Method in interface com.launchdarkly.client.interfaces.EventSenderFactory
Called by the SDK to create the implementation object.
createFeatureStore() - Method in interface com.launchdarkly.client.FeatureStoreFactory
Creates an implementation instance.
createFeatureStore() - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
createHttpConfiguration() - Method in interface com.launchdarkly.client.interfaces.HttpConfigurationFactory
Creates the configuration object.
createPersistentDataStore() - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
 
createPersistentDataStore() - Method in interface com.launchdarkly.client.interfaces.PersistentDataStoreFactory
Deprecated.
Do not reference this method directly, as the FeatureStoreCore interface will be replaced in 5.0.
createUpdateProcessor(String, LDConfig, FeatureStore) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
Deprecated.
Used internally by the LaunchDarkly client.
createUpdateProcessor(String, LDConfig, FeatureStore) - Method in class com.launchdarkly.client.integrations.FileDataSourceBuilder
Used internally by the LaunchDarkly client.
createUpdateProcessor(String, LDConfig, FeatureStore) - Method in interface com.launchdarkly.client.UpdateProcessorFactory
Creates an implementation instance.
Custom(long, String, LDUser, LDValue, Double) - Constructor for class com.launchdarkly.client.Event.Custom
Constructs a custom event.
Custom(long, String, LDUser, JsonElement) - Constructor for class com.launchdarkly.client.Event.Custom
Deprecated. 
custom(String, String) - Method in class com.launchdarkly.client.LDUser.Builder
Adds a String-valued custom attribute.
custom(String, Number) - Method in class com.launchdarkly.client.LDUser.Builder
Adds a Number-valued custom attribute.
custom(String, Boolean) - Method in class com.launchdarkly.client.LDUser.Builder
Add a Boolean-valued custom attribute.
custom(String, LDValue) - Method in class com.launchdarkly.client.LDUser.Builder
Add a custom attribute whose value can be any JSON type, using LDValue.
custom(String, JsonElement) - Method in class com.launchdarkly.client.LDUser.Builder
customNumber(String, List<Number>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a list of Number-valued custom attributes.
customString(String, List<String>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a list of String-valued custom attributes.
customValues(String, List<JsonElement>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a custom attribute with a list of arbitrary JSON values.

D

database(Integer) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Specifies the database number to use.
database(Integer) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Specifies the database number to use.
dataSource() - Static method in class com.launchdarkly.client.integrations.FileData
Creates a FileDataSourceBuilder which you can use to configure the file data source.
dataSource(UpdateProcessorFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
Sets the implementation of the component that receives feature flag data from LaunchDarkly, using a factory object.
dataStore() - Static method in class com.launchdarkly.client.integrations.Redis
Returns a builder object for creating a Redis-backed data store.
dataStore(FeatureStoreFactory) - Method in class com.launchdarkly.client.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.
DEFAULT - Static variable in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
The caching parameters that feature store should use by default.
DEFAULT - Static variable in class com.launchdarkly.client.LDConfig
 
DEFAULT_CACHE_TIME_SECONDS - Static variable in class com.launchdarkly.client.RedisFeatureStoreBuilder
DEFAULT_CACHE_TTL_SECONDS - Static variable in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
The default value for the cache TTL.
DEFAULT_CAPACITY - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
DEFAULT_DIAGNOSTIC_RECORDING_INTERVAL_SECONDS - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
DEFAULT_FLUSH_INTERVAL_SECONDS - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
DEFAULT_INITIAL_RECONNECT_DELAY_MILLIS - Static variable in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
DEFAULT_POLL_INTERVAL_MILLIS - Static variable in class com.launchdarkly.client.integrations.PollingDataSourceBuilder
The default and minimum value for PollingDataSourceBuilder.pollIntervalMillis(long).
DEFAULT_PREFIX - Static variable in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
DEFAULT_PREFIX - Static variable in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
DEFAULT_TIME_SECONDS - Static variable in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
The default TTL, in seconds, used by FeatureStoreCacheConfig.DEFAULT.
DEFAULT_URI - Static variable in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
The default value for the Redis URI: redis://localhost:6379
DEFAULT_URI - Static variable in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
The default value for the Redis URI: redis://localhost:6379
DEFAULT_USER_KEYS_CAPACITY - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
DEFAULT_USER_KEYS_FLUSH_INTERVAL_SECONDS - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
defaultEventProcessor() - Static method in class com.launchdarkly.client.Components
defaultUpdateProcessor() - Static method in class com.launchdarkly.client.Components
delete(VersionedDataKind<T>, String, int) - Method in interface com.launchdarkly.client.FeatureStore
Deletes the object associated with the specified key, if it exists and its version is less than or equal to the specified version.
delete(VersionedDataKind<T>, String, int) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
delete(VersionedDataKind<T>, String, int) - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
delete(VersionedDataKind<T>, String, int) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
describeConfiguration(LDConfig) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
describeConfiguration(LDConfig) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
 
describeConfiguration(LDConfig) - Method in interface com.launchdarkly.client.interfaces.DiagnosticDescription
Used internally by the SDK to inspect the configuration.
describeConfiguration(LDConfig) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
 
DETAILS_ONLY_FOR_TRACKED_FLAGS - Static variable in class com.launchdarkly.client.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.client.interfaces
Optional interface for components to describe their own configuration.
diagnosticOptOut(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
Set to true to opt out of sending diagnostics data.
diagnosticRecordingIntervalSeconds - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
diagnosticRecordingIntervalSeconds(int) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets the interval at which periodic diagnostic data is sent.
disabled() - Static method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns a parameter object indicating that caching should be disabled.
Double - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for doubles.
doubleValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as a double if it is numeric.
doubleVariation(String, LDUser, Double) - Method in class com.launchdarkly.client.LDClient
 
doubleVariation(String, LDUser, Double) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the floating point numeric value of a feature flag for a given user.
doubleVariationDetail(String, LDUser, double) - Method in class com.launchdarkly.client.LDClient
 
doubleVariationDetail(String, LDUser, double) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.

E

email(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the user's e-mail address.
enabled() - Static method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns a parameter object indicating that caching should be enabled, using the default TTL of FeatureStoreCacheConfig.DEFAULT_TIME_SECONDS.
equals(Object) - Method in class com.launchdarkly.client.EvaluationDetail
 
equals(Object) - Method in class com.launchdarkly.client.EvaluationReason.Error
Deprecated.
 
equals(Object) - Method in class com.launchdarkly.client.EvaluationReason.PrerequisiteFailed
Deprecated.
 
equals(Object) - Method in class com.launchdarkly.client.EvaluationReason.RuleMatch
Deprecated.
 
equals(Object) - Method in class com.launchdarkly.client.FeatureFlagsState
 
equals(Object) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
 
equals(Object) - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
 
equals(Object) - Method in class com.launchdarkly.client.LDUser
 
equals(Object) - Method in class com.launchdarkly.client.value.LDValue
 
error(EvaluationReason.ErrorKind) - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.ERROR.
EvaluationDetail<T> - Class in com.launchdarkly.client
An object returned by the "variation detail" methods such as LDClientInterface.boolVariationDetail(String, LDUser, boolean), combining the result of a flag evaluation with an explanation of how it was calculated.
EvaluationDetail(EvaluationReason, Integer, T) - Constructor for class com.launchdarkly.client.EvaluationDetail
Constructs an instance with all properties specified.
EvaluationReason - Class in com.launchdarkly.client
Describes the reason that a flag evaluation produced a particular value.
EvaluationReason(EvaluationReason.Kind) - Constructor for class com.launchdarkly.client.EvaluationReason
 
EvaluationReason.Error - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.ERROR value.
EvaluationReason.ErrorKind - Enum in com.launchdarkly.client
Enumerated type defining the possible values of EvaluationReason.Error.getErrorKind().
EvaluationReason.Fallthrough - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.FALLTHROUGH value.
EvaluationReason.Kind - Enum in com.launchdarkly.client
Enumerated type defining the possible values of EvaluationReason.getKind().
EvaluationReason.Off - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.OFF value.
EvaluationReason.PrerequisiteFailed - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.PREREQUISITE_FAILED value.
EvaluationReason.RuleMatch - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.RULE_MATCH value.
EvaluationReason.TargetMatch - Class in com.launchdarkly.client
Deprecated.
This type will be removed in a future version. Use EvaluationReason.getKind() instead and check for the EvaluationReason.Kind.TARGET_MATCH value.
Event - Class in com.launchdarkly.client
Base class for all analytics events that are generated by the client.
Event(long, LDUser) - Constructor for class com.launchdarkly.client.Event
Base event constructor.
Event.Custom - Class in com.launchdarkly.client
A custom event created with LDClientInterface.track(String, LDUser) or one of its overloads.
Event.FeatureRequest - Class in com.launchdarkly.client
An event generated by a feature flag evaluation.
Event.Identify - Class in com.launchdarkly.client
An event created with LDClientInterface.identify(LDUser).
Event.Index - Class in com.launchdarkly.client
An event created internally by the SDK to hold user data that may be referenced by multiple events.
EventProcessor - Interface in com.launchdarkly.client
Interface for an object that can send or store analytics events.
EventProcessor.NullEventProcessor - Class in com.launchdarkly.client
Deprecated.
EventProcessorBuilder - Class in com.launchdarkly.client.integrations
Contains methods for configuring delivery of analytics events.
EventProcessorBuilder() - Constructor for class com.launchdarkly.client.integrations.EventProcessorBuilder
 
EventProcessorFactory - Interface in com.launchdarkly.client
Interface for a factory that creates some implementation of EventProcessor.
eventProcessorFactory(EventProcessorFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
events(EventProcessorFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
Sets the implementation of EventProcessor to be used for processing analytics events.
eventSender(EventSenderFactory) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Specifies a custom implementation for event delivery.
EventSender - Interface in com.launchdarkly.client.interfaces
Interface for a component that can deliver preformatted event data.
EventSender.EventDataKind - Enum in com.launchdarkly.client.interfaces
Enumerated values corresponding to different kinds of event data.
EventSender.Result - Class in com.launchdarkly.client.interfaces
Encapsulates the results of a call to EventSender.sendEventData(EventDataKind, String, int, URI).
eventSenderFactory - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
EventSenderFactory - Interface in com.launchdarkly.client.interfaces
Interface for a factory that creates some implementation of EventSender.
eventsURI(URI) - Method in class com.launchdarkly.client.LDConfig.Builder
exception(Exception) - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance of Error with the kind EvaluationReason.ErrorKind.EXCEPTION and an exception instance.
externalUpdatesOnly() - Static method in class com.launchdarkly.client.Components
Returns a configuration object that disables a direct connection with LaunchDarkly for feature flag updates.

F

fallthrough() - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.FALLTHROUGH.
FeatureFlagsState - Class in com.launchdarkly.client
A snapshot of the state of all feature flags with regard to a specific user, generated by calling LDClientInterface.allFlagsState(LDUser, FlagsStateOption...).
FeatureRequest(long, String, LDUser, Integer, Integer, LDValue, LDValue, EvaluationReason, String, boolean, Long, boolean) - Constructor for class com.launchdarkly.client.Event.FeatureRequest
Constructs a feature request event.
FeatureRequest(long, String, LDUser, Integer, Integer, JsonElement, JsonElement, String, boolean, Long, boolean) - Constructor for class com.launchdarkly.client.Event.FeatureRequest
Deprecated. 
FeatureRequest(long, String, LDUser, Integer, Integer, JsonElement, JsonElement, String, boolean, Long, EvaluationReason, boolean) - Constructor for class com.launchdarkly.client.Event.FeatureRequest
Deprecated. 
FEATURES - Static variable in class com.launchdarkly.client.VersionedDataKind
The VersionedDataKind instance that describes feature flag data.
FeatureStore - Interface in com.launchdarkly.client
A thread-safe, versioned store for feature flags and related objects received from the streaming API.
featureStore(FeatureStore) - Method in class com.launchdarkly.client.LDConfig.Builder
FeatureStoreCacheConfig - Class in com.launchdarkly.client
Deprecated.
This has been superseded by the PersistentDataStoreBuilder interface.
FeatureStoreCacheConfig.StaleValuesPolicy - Enum in com.launchdarkly.client
Deprecated.
FeatureStoreCore - Interface in com.launchdarkly.client.utils
FeatureStoreCore is an interface for a simplified subset of the functionality of FeatureStore, to be used in conjunction with CachingStoreWrapper.
FeatureStoreFactory - Interface in com.launchdarkly.client
Interface for a factory that creates some implementation of FeatureStore.
featureStoreFactory(FeatureStoreFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
FeatureStoreHelpers - Class in com.launchdarkly.client.utils
Helper methods that may be useful for implementing a FeatureStore or FeatureStoreCore.
FeatureStoreHelpers() - Constructor for class com.launchdarkly.client.utils.FeatureStoreHelpers
 
FeatureStoreHelpers.UnmarshalException - Exception in com.launchdarkly.client.utils
FileComponents - Class in com.launchdarkly.client.files
Deprecated.
FileComponents() - Constructor for class com.launchdarkly.client.files.FileComponents
Deprecated.
 
FileData - Class in com.launchdarkly.client.integrations
Integration between the LaunchDarkly SDK and file data.
fileDataSource() - Static method in class com.launchdarkly.client.files.FileComponents
Deprecated.
Creates a FileDataSourceFactory which you can use to configure the file data source.
FileDataSourceBuilder - Class in com.launchdarkly.client.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(UpdateProcessorFactory).
FileDataSourceBuilder() - Constructor for class com.launchdarkly.client.integrations.FileDataSourceBuilder
 
FileDataSourceFactory - Class in com.launchdarkly.client.files
Deprecated. 
FileDataSourceFactory() - Constructor for class com.launchdarkly.client.files.FileDataSourceFactory
Deprecated.
 
filePaths(String...) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
Deprecated.
Adds any number of source files for loading flag data, specifying each file path as a string.
filePaths(Path...) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
Deprecated.
Adds any number of source files for loading flag data, specifying each file path as a Path.
filePaths(String...) - Method in class com.launchdarkly.client.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.client.integrations.FileDataSourceBuilder
Adds any number of source files for loading flag data, specifying each file path as a Path.
findByName(String) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a list of CountryCode by a name regular expression.
findByName(Pattern) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a list of CountryCode by a name pattern.
firstName(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the user's first name
FlagsStateOption - Class in com.launchdarkly.client
Optional parameters that can be passed to LDClientInterface.allFlagsState(LDUser, FlagsStateOption...).
Float - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for floats.
floatValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as a float if it is numeric.
flush() - Method in interface com.launchdarkly.client.EventProcessor
Specifies that any buffered events should be sent as soon as possible, rather than waiting for the next flush interval.
flush() - Method in class com.launchdarkly.client.EventProcessor.NullEventProcessor
Deprecated.
 
flush() - Method in class com.launchdarkly.client.LDClient
 
flush() - Method in interface com.launchdarkly.client.LDClientInterface
Flushes all pending events.
flushInterval(int) - Method in class com.launchdarkly.client.LDConfig.Builder
flushIntervalSeconds - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
flushIntervalSeconds(int) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets the interval between flushes of the event buffer.
fromJsonElement(JsonElement) - Static method in class com.launchdarkly.client.value.LDValue
Deprecated.
The Gson types may be removed from the public API at some point; it is preferable to use factory methods like LDValue.of(boolean).
fromNewEnum(PersistentDataStoreBuilder.StaleValuesPolicy) - Static method in enum com.launchdarkly.client.FeatureStoreCacheConfig.StaleValuesPolicy
Deprecated.
Used internally for backward compatibility.
fromType(T) - Method in class com.launchdarkly.client.value.LDValue.Converter
Converts a value of the specified type to an LDValue.
fromValue(T, Integer, EvaluationReason) - Static method in class com.launchdarkly.client.EvaluationDetail
Factory method for an arbitrary value.

G

get(VersionedDataKind<T>, String) - Method in interface com.launchdarkly.client.FeatureStore
Returns the object to which the specified key is mapped, or null if the key is not associated or the associated object has been deleted.
get(VersionedDataKind<T>, String) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
get(VersionedDataKind<T>, String) - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
get(VersionedDataKind<T>, String) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
get(int) - Method in class com.launchdarkly.client.value.LDValue
Returns an array element by index.
get(String) - Method in class com.launchdarkly.client.value.LDValue
Returns an object property by name.
getAllInternal(VersionedDataKind<?>) - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
Returns a Map of all associated objects of a given kind.
getAlpha2() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the ISO 3166-1 alpha-2 code.
getAlpha3() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the ISO 3166-1 alpha-3 code.
getAssignment() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the assignment state of this country code in ISO 3166-1.
getByCode(String) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a CountryCode that corresponds to the given ISO 3166-1 alpha-2 or alpha-3 code.
getByCode(String, boolean) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a CountryCode that corresponds to the given ISO 3166-1 alpha-2 or alpha-3 code.
getByCode(int) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a CountryCode that corresponds to the given ISO 3166-1 numeric code.
getByCodeIgnoreCase(String) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a CountryCode that corresponds to the given ISO 3166-1 alpha-2 or alpha-3 code.
getByLocale(Locale) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get a CountryCode that corresponds to the country code of the given Locale instance.
getCacheStats() - Method in class com.launchdarkly.client.integrations.CacheMonitor
Queries the current cache statistics.
getCacheStats() - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
Return the underlying Guava cache stats object.
getCacheStats() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
Return the underlying Guava cache stats object.
getCacheTime() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns the cache TTL.
getCacheTimeMillis() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns the cache TTL converted to milliseconds.
getCacheTimeUnit() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns the time unit for the cache TTL.
getConnectTimeoutMillis() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The connection timeout.
getCore() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
Return the underlying implementation object.
getCurrency() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the currency.
getDependencyKeys(VersionedData) - Method in class com.launchdarkly.client.VersionedDataKind
Gets all keys of items that this one directly depends on, if this kind of item can have dependencies.
getErrorKind() - Method in class com.launchdarkly.client.EvaluationReason.Error
Deprecated.
An enumeration value indicating the general category of error.
getErrorKind() - Method in class com.launchdarkly.client.EvaluationReason
An enumeration value indicating the general category of error, if the kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
getEvictionCount() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
The number of times cache entries have been evicted.
getException() - Method in class com.launchdarkly.client.EvaluationReason.Error
Deprecated.
Returns the exception that caused the error condition, if applicable.
getException() - Method in class com.launchdarkly.client.EvaluationReason
The exception that caused the error condition, if the kind is EvaluationReason.Kind.ERROR and the errorKind is EvaluationReason.ErrorKind.EXCEPTION.
getFlagReason(String) - Method in class com.launchdarkly.client.FeatureFlagsState
Returns the evaluation reason for an individual feature flag at the time the state was recorded.
getFlagValue(String) - Method in class com.launchdarkly.client.FeatureFlagsState
Returns the value of an individual feature flag at the time the state was recorded.
getHitCount() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
The number of data queries that received cached data instead of going to the underlying data store.
getInternal(VersionedDataKind<?>, String) - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
Returns the object to which the specified key is mapped, or null if no such item exists.
getItemClass() - Method in class com.launchdarkly.client.VersionedDataKind
The Java class for objects of this type.
getKey() - Method in interface com.launchdarkly.client.VersionedData
The key for this item, unique within the namespace of each VersionedDataKind.
getKind() - Method in class com.launchdarkly.client.EvaluationReason
Returns an enum indicating the general category of the reason.
getLoadExceptionCount() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
The number of times that an error occurred while querying the underlying data store.
getLoadSuccessCount() - Method in class com.launchdarkly.client.integrations.CacheMonitor.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).
getMissCount() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
The number of data queries that did not find cached data and went to the underlying data store.
getName() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the country name.
getNamespace() - Method in class com.launchdarkly.client.VersionedDataKind
A short string that serves as the unique name for the collection of these objects, e.g.
getNumeric() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Get the ISO 3166-1 numeric code.
getPrerequisiteKey() - Method in class com.launchdarkly.client.EvaluationReason
The key of the prerequisite flag that did not return the desired variation, if the kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
getPrerequisiteKey() - Method in class com.launchdarkly.client.EvaluationReason.PrerequisiteFailed
Deprecated.
The key of the prerequisite flag that did not return the desired variation.
getPriority() - Method in class com.launchdarkly.client.VersionedDataKind
Used internally to determine the order in which collections are updated.
getProxy() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The proxy configuration, if any.
getProxyAuthentication() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The authentication method to use for a proxy, if any.
getRealm() - Method in class com.launchdarkly.client.interfaces.HttpAuthentication.Challenge
The authentication realm, if any.
getReason() - Method in class com.launchdarkly.client.EvaluationDetail
An object describing the main factor that influenced the flag evaluation value.
getRuleId() - Method in class com.launchdarkly.client.EvaluationReason
The unique identifier of the rule that was matched, if the kind is EvaluationReason.Kind.RULE_MATCH.
getRuleId() - Method in class com.launchdarkly.client.EvaluationReason.RuleMatch
Deprecated.
A unique string identifier for the matched rule, which will not change if other rules are added or deleted.
getRuleIndex() - Method in class com.launchdarkly.client.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.
getRuleIndex() - Method in class com.launchdarkly.client.EvaluationReason.RuleMatch
Deprecated.
The index of the rule that was matched (0 for the first rule in the feature flag).
getScheme() - Method in class com.launchdarkly.client.interfaces.HttpAuthentication.Challenge
The authentication scheme, such as "basic".
getSocketTimeoutMillis() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The socket timeout.
getSslSocketFactory() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The configured socket factory for secure connections.
getStaleValuesPolicy() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
getStreamApiPath() - Method in class com.launchdarkly.client.VersionedDataKind
The path prefix for objects of this type in events received from the streaming API.
getTimeFromServer() - Method in class com.launchdarkly.client.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.client.integrations.CacheMonitor.CacheStats
The total number of nanoseconds that the cache has spent loading new values.
getTrustManager() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
The configured trust manager for secure connections, if custom certificate verification is needed.
getType() - Method in class com.launchdarkly.client.value.LDValue
Gets the JSON type for this value.
getValue() - Method in class com.launchdarkly.client.EvaluationDetail
The result of the flag evaluation.
getValueForEvaluation(String) - Method in class com.launchdarkly.client.LDUser
 
getVariationIndex() - Method in class com.launchdarkly.client.EvaluationDetail
The index of the returned value within the flag's list of variations, e.g.
getVersion() - Method in interface com.launchdarkly.client.VersionedData
The version number for this item.
getWrapperIdentifier() - Method in interface com.launchdarkly.client.interfaces.HttpConfiguration
An optional identifier used by wrapper libraries to indicate what wrapper is being used.

H

hashCode() - Method in class com.launchdarkly.client.EvaluationDetail
 
hashCode() - Method in class com.launchdarkly.client.EvaluationReason.Error
Deprecated.
 
hashCode() - Method in class com.launchdarkly.client.EvaluationReason.PrerequisiteFailed
Deprecated.
 
hashCode() - Method in class com.launchdarkly.client.EvaluationReason.RuleMatch
Deprecated.
 
hashCode() - Method in class com.launchdarkly.client.FeatureFlagsState
 
hashCode() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
 
hashCode() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
 
hashCode() - Method in class com.launchdarkly.client.LDUser
 
hashCode() - Method in class com.launchdarkly.client.value.LDValue
 
http(HttpConfigurationFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
Sets the SDK's networking configuration, using a factory object.
HttpAuthentication - Interface in com.launchdarkly.client.interfaces
Represents a supported method of HTTP authentication, including proxy authentication.
HttpAuthentication.Challenge - Class in com.launchdarkly.client.interfaces
Properties of an HTTP authentication challenge.
httpBasicAuthentication(String, String) - Static method in class com.launchdarkly.client.Components
Configures HTTP basic authentication, for use with a proxy server.
httpConfiguration() - Static method in class com.launchdarkly.client.Components
Returns a configurable factory for the SDK's networking configuration.
HttpConfiguration - Interface in com.launchdarkly.client.interfaces
Encapsulates top-level HTTP configuration that applies to all SDK components.
HttpConfigurationBuilder - Class in com.launchdarkly.client.integrations
Contains methods for configuring the SDK's networking behavior.
HttpConfigurationBuilder() - Constructor for class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
HttpConfigurationFactory - Interface in com.launchdarkly.client.interfaces
Interface for a factory that creates an HttpConfiguration.

I

Identify(long, LDUser) - Constructor for class com.launchdarkly.client.Event.Identify
Constructs an identify event.
identify(LDUser) - Method in class com.launchdarkly.client.LDClient
 
identify(LDUser) - Method in interface com.launchdarkly.client.LDClientInterface
Registers the user.
Index(long, LDUser) - Constructor for class com.launchdarkly.client.Event.Index
Constructs an index event.
init(Map<VersionedDataKind<?>, Map<String, ? extends VersionedData>>) - Method in interface com.launchdarkly.client.FeatureStore
Initializes (or re-initializes) the store with the specified set of objects.
init(Map<VersionedDataKind<?>, Map<String, ? extends VersionedData>>) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
init(Map<VersionedDataKind<?>, Map<String, ? extends VersionedData>>) - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
init(Map<VersionedDataKind<?>, Map<String, ? extends VersionedData>>) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
 
init(Map<VersionedDataKind<?>, Map<String, ? extends VersionedData>>) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
initialized() - Method in interface com.launchdarkly.client.FeatureStore
Returns true if this store has been initialized.
initialized() - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
initialized() - Method in class com.launchdarkly.client.LDClient
 
initialized() - Method in interface com.launchdarkly.client.LDClientInterface
Tests whether the client is ready to be used.
initialized() - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
initialized() - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
 
initialized() - Method in interface com.launchdarkly.client.UpdateProcessor
Returns true once the client has been initialized and will never return false again.
initialized() - Method in class com.launchdarkly.client.UpdateProcessor.NullUpdateProcessor
Deprecated.
 
initialized() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
initializedInternal() - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
Returns true if this store has been initialized.
initialReconnectDelayMillis - Variable in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
 
initialReconnectDelayMillis(long) - Method in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
Sets the initial reconnect delay for the streaming connection.
initInternal(Map<VersionedDataKind<?>, Map<String, VersionedData>>) - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
Initializes (or re-initializes) the store with the specified set of objects.
inlineUsersInEvents - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
inlineUsersInEvents(boolean) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets whether to include full user details in every analytics event.
inlineUsersInEvents(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
inMemoryDataStore() - Static method in class com.launchdarkly.client.Components
Returns a configuration object for using the default in-memory implementation of a data store.
inMemoryFeatureStore() - Static method in class com.launchdarkly.client.Components
InMemoryFeatureStore - Class in com.launchdarkly.client
A thread-safe, versioned store for feature flags and related data based on a HashMap.
InMemoryFeatureStore() - Constructor for class com.launchdarkly.client.InMemoryFeatureStore
 
Integer - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for integers.
intValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as an int if it is numeric.
intVariation(String, LDUser, int) - Method in class com.launchdarkly.client.LDClient
 
intVariation(String, LDUser, int) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the integer value of a feature flag for a given user.
intVariationDetail(String, LDUser, int) - Method in class com.launchdarkly.client.LDClient
 
intVariationDetail(String, LDUser, int) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.
ip(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the IP for a user.
isDefaultValue() - Method in class com.launchdarkly.client.EvaluationDetail
Returns true if the flag evaluation returned the default value, rather than one of the flag's variations.
isDeleted() - Method in interface com.launchdarkly.client.VersionedData
True if this is a placeholder for a deleted item.
isDependencyOrdered() - Method in class com.launchdarkly.client.VersionedDataKind
Returns true if the SDK needs to store items of this kind in an order that is based on VersionedDataKind.getDependencyKeys(VersionedData).
isEnabled() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns true if caching will be enabled.
isFlagKnown(String) - Method in class com.launchdarkly.client.LDClient
 
isFlagKnown(String) - Method in interface com.launchdarkly.client.LDClientInterface
Returns true if the specified feature flag currently exists.
isInfiniteTtl() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Returns true if caching is enabled and does not have a finite TTL.
isInt() - Method in class com.launchdarkly.client.value.LDValue
Tests whether this value is a number that is also an integer.
isMustShutDown() - Method in class com.launchdarkly.client.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.client.value.LDValue
Tests whether this value is a null.
isNumber() - Method in class com.launchdarkly.client.value.LDValue
Tests whether this value is a number (not a numeric string).
isOffline() - Method in class com.launchdarkly.client.LDClient
 
isOffline() - Method in interface com.launchdarkly.client.LDClientInterface
Returns true if the client is in offline mode.
isString() - Method in class com.launchdarkly.client.value.LDValue
Tests whether this value is a string.
isSuccess() - Method in class com.launchdarkly.client.interfaces.EventSender.Result
Returns true if the events were delivered.
isValid() - Method in class com.launchdarkly.client.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).

J

jsonValueVariation(String, LDUser, LDValue) - Method in class com.launchdarkly.client.LDClient
 
jsonValueVariation(String, LDUser, LDValue) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the LDValue value of a feature flag for a given user.
jsonValueVariationDetail(String, LDUser, LDValue) - Method in class com.launchdarkly.client.LDClient
 
jsonValueVariationDetail(String, LDUser, LDValue) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the LDValue value of a feature flag for a given user.
jsonVariation(String, LDUser, JsonElement) - Method in class com.launchdarkly.client.LDClient
 
jsonVariation(String, LDUser, JsonElement) - Method in interface com.launchdarkly.client.LDClientInterface
Deprecated.
Use LDClientInterface.jsonValueVariation(String, LDUser, LDValue). Gson types may be removed from the public API in the future.
jsonVariationDetail(String, LDUser, JsonElement) - Method in class com.launchdarkly.client.LDClient
 
jsonVariationDetail(String, LDUser, JsonElement) - Method in interface com.launchdarkly.client.LDClientInterface
Deprecated.
Use LDClientInterface.jsonValueVariationDetail(String, LDUser, LDValue). Gson types may be removed from the public API in the future.

K

keys() - Method in class com.launchdarkly.client.value.LDValue
Enumerates the property names in an object.

L

lastName(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the user's last name.
LDClient - Class in com.launchdarkly.client
A client for the LaunchDarkly API.
LDClient(String) - Constructor for class com.launchdarkly.client.LDClient
Creates a new client instance that connects to LaunchDarkly with the default configuration.
LDClient(String, LDConfig) - Constructor for class com.launchdarkly.client.LDClient
Creates a new client to connect to LaunchDarkly with a custom configuration.
LDClientInterface - Interface in com.launchdarkly.client
This interface defines the public methods of LDClient.
LDConfig - Class in com.launchdarkly.client
This class exposes advanced configuration options for the LDClient.
LDConfig(LDConfig.Builder) - Constructor for class com.launchdarkly.client.LDConfig
 
LDConfig.Builder - Class in com.launchdarkly.client
A builder that helps construct LDConfig objects.
LDCountryCode - Enum in com.launchdarkly.client
Deprecated.
LDUser - Class in com.launchdarkly.client
A LDUser object contains specific attributes of a user browsing your site.
LDUser(LDUser.Builder) - Constructor for class com.launchdarkly.client.LDUser
 
LDUser(String) - Constructor for class com.launchdarkly.client.LDUser
Create a user with the given key
LDUser.Builder - Class in com.launchdarkly.client
A builder that helps construct LDUser objects.
LDValue - Class in com.launchdarkly.client.value
An immutable instance of any data type that is allowed in JSON.
LDValue() - Constructor for class com.launchdarkly.client.value.LDValue
 
LDValue.Convert - Class in com.launchdarkly.client.value
Predefined instances of LDValue.Converter for commonly used types.
LDValue.Converter<T> - Class in com.launchdarkly.client.value
Defines a conversion between LDValue and some other type.
LDValueType - Enum in com.launchdarkly.client.value
Describes the type of an LDValue.
Long - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for long integers.
longValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as a long if it is numeric.

M

makeDeletedItem(String, int) - Method in class com.launchdarkly.client.VersionedDataKind
Return an instance of this type with the specified key and version, and deleted=true.
marshalJson(VersionedData) - Static method in class com.launchdarkly.client.utils.FeatureStoreHelpers
Marshals a feature store item into a JSON string.
matchUser(LDUser, String, String) - Method in class com.launchdarkly.client.SegmentRule
Deprecated.
Used internally to match a user against a segment.
MIN_DIAGNOSTIC_RECORDING_INTERVAL_SECONDS - Static variable in class com.launchdarkly.client.integrations.EventProcessorBuilder

N

name(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the user's full name.
noCaching() - Method in class com.launchdarkly.client.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.client.Components
Returns a configuration object that disables analytics events.
normalize(LDValue) - Static method in class com.launchdarkly.client.value.LDValue
Returns the same value if non-null, or LDValue.ofNull() if null.
nullEventProcessor() - Static method in class com.launchdarkly.client.Components
Deprecated.
NullEventProcessor() - Constructor for class com.launchdarkly.client.EventProcessor.NullEventProcessor
Deprecated.
 
nullUpdateProcessor() - Static method in class com.launchdarkly.client.Components
NullUpdateProcessor() - Constructor for class com.launchdarkly.client.UpdateProcessor.NullUpdateProcessor
Deprecated.
 

O

ObjectBuilder - Class in com.launchdarkly.client.value
A builder created by LDValue.buildObject().
ObjectBuilder() - Constructor for class com.launchdarkly.client.value.ObjectBuilder
 
objectFrom(Map<String, T>) - Method in class com.launchdarkly.client.value.LDValue.Converter
Initializes an LDValue as an object, from a map containing this type.
of(boolean) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a boolean value.
of(int) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a numeric value.
of(long) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a numeric value.
of(float) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a numeric value.
of(double) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a numeric value.
of(String) - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a string value (or a null).
off() - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.OFF.
offline(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
Set whether this client is offline.
ofNull() - Static method in class com.launchdarkly.client.value.LDValue
Returns an instance for a null value.

P

password(String) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Specifies a password that will be sent to Redis in an AUTH command.
password(String) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Specifies a password that will be sent to Redis in an AUTH command.
persistentDataStore(PersistentDataStoreFactory) - Static method in class com.launchdarkly.client.Components
Returns a configuration builder for some implementation of a persistent data store.
PersistentDataStoreBuilder - Class in com.launchdarkly.client.integrations
A configurable factory for a persistent data store.
PersistentDataStoreBuilder(PersistentDataStoreFactory) - Constructor for class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Creates a new builder.
PersistentDataStoreBuilder.StaleValuesPolicy - Enum in com.launchdarkly.client.integrations
persistentDataStoreFactory - Variable in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
 
PersistentDataStoreFactory - Interface in com.launchdarkly.client.interfaces
Interface for a factory that creates some implementation of a persistent data store.
pollingBaseURI - Variable in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
 
pollingBaseURI(URI) - Method in class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
Sets a custom base URI for special polling requests.
pollingDataSource() - Static method in class com.launchdarkly.client.Components
Returns a configurable factory for using polling mode to get feature flag data.
PollingDataSourceBuilder - Class in com.launchdarkly.client.integrations
Contains methods for configuring the polling data source.
PollingDataSourceBuilder() - Constructor for class com.launchdarkly.client.integrations.PollingDataSourceBuilder
 
pollingIntervalMillis(long) - Method in class com.launchdarkly.client.LDConfig.Builder
pollIntervalMillis - Variable in class com.launchdarkly.client.integrations.PollingDataSourceBuilder
 
pollIntervalMillis(long) - Method in class com.launchdarkly.client.integrations.PollingDataSourceBuilder
Sets the interval at which the SDK will poll for feature flag updates.
poolConfig(JedisPoolConfig) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Optional override if you wish to specify your own configuration to the underlying Jedis pool.
poolConfig(JedisPoolConfig) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Optional override if you wish to specify your own configuration to the underlying Jedis pool.
prefix(String) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Optionally configures the namespace prefix for all keys stored in Redis.
prefix(String) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Optionally configures the namespace prefix for all keys stored in Redis.
prerequisiteFailed(String) - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.PREREQUISITE_FAILED.
privateAttributeNames(String...) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Marks a set of attribute names as private.
privateAttributeNames(String...) - Method in class com.launchdarkly.client.LDConfig.Builder
privateAttrNames - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
privateAvatar(String) - Method in class com.launchdarkly.client.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.client.LDUser.Builder
Set the country for a user, and ensures that the country attribute will not be sent back to LaunchDarkly.
privateCountry(LDCountryCode) - Method in class com.launchdarkly.client.LDUser.Builder
Deprecated.
As of version 4.10.0. In the next major release the SDK will no longer include the LDCountryCode class. Applications should use LDUser.Builder.privateCountry(String) instead.
privateCustom(String, String) - Method in class com.launchdarkly.client.LDUser.Builder
Add a String-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, Number) - Method in class com.launchdarkly.client.LDUser.Builder
Add a Number-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, Boolean) - Method in class com.launchdarkly.client.LDUser.Builder
Add a Boolean-valued custom attribute that will not be sent back to LaunchDarkly.
privateCustom(String, LDValue) - Method in class com.launchdarkly.client.LDUser.Builder
Add a custom attribute of any JSON type, that will not be sent back to LaunchDarkly.
privateCustom(String, JsonElement) - Method in class com.launchdarkly.client.LDUser.Builder
privateCustomNumber(String, List<Number>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a list of Integer-valued custom attributes.
privateCustomString(String, List<String>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a list of String-valued custom attributes.
privateCustomValues(String, List<JsonElement>) - Method in class com.launchdarkly.client.LDUser.Builder
Add a custom attribute with a list of arbitrary JSON values.
privateEmail(String) - Method in class com.launchdarkly.client.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.client.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.client.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.client.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.client.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.client.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.client.interfaces.HttpAuthentication
Computes the Authorization or Proxy-Authorization header for an authentication challenge.
proxyAuth - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
proxyAuth(HttpAuthentication) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
Sets an authentication strategy for use with an HTTP proxy.
proxyHost - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
proxyHost(String) - Method in class com.launchdarkly.client.LDConfig.Builder
proxyHostAndPort(String, int) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
Sets an HTTP proxy for making connections to LaunchDarkly.
proxyPassword(String) - Method in class com.launchdarkly.client.LDConfig.Builder
proxyPort - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
proxyPort(int) - Method in class com.launchdarkly.client.LDConfig.Builder
proxyUsername(String) - Method in class com.launchdarkly.client.LDConfig.Builder
put(String, LDValue) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, boolean) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, int) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, long) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, float) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, double) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.
put(String, String) - Method in class com.launchdarkly.client.value.ObjectBuilder
Sets a key-value pair in the builder, overwriting any previous value for that key.

R

reconnectTimeMs(long) - Method in class com.launchdarkly.client.LDConfig.Builder
Redis - Class in com.launchdarkly.client.integrations
Integration between the LaunchDarkly SDK and Redis.
RedisDataStoreBuilder - Class in com.launchdarkly.client.integrations
A builder for configuring the Redis-based persistent data store.
redisFeatureStore() - Static method in class com.launchdarkly.client.Components
redisFeatureStore(URI) - Static method in class com.launchdarkly.client.Components
RedisFeatureStore - Class in com.launchdarkly.client
Deprecated.
RedisFeatureStore(RedisFeatureStoreBuilder) - Constructor for class com.launchdarkly.client.RedisFeatureStore
Deprecated.
Creates a new store instance that connects to Redis based on the provided RedisFeatureStoreBuilder.
RedisFeatureStore() - Constructor for class com.launchdarkly.client.RedisFeatureStore
Deprecated.
Please use Components.redisFeatureStore() instead.
RedisFeatureStoreBuilder - Class in com.launchdarkly.client
Deprecated.
RedisFeatureStoreBuilder(URI, long) - Constructor for class com.launchdarkly.client.RedisFeatureStoreBuilder
RedisFeatureStoreBuilder(String, String, int, long) - Constructor for class com.launchdarkly.client.RedisFeatureStoreBuilder
refreshStaleValues(boolean) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Result(boolean, boolean, Date) - Constructor for class com.launchdarkly.client.interfaces.EventSender.Result
Constructs an instance.
ruleMatch(int, String) - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.RULE_MATCH.

S

samplingInterval(int) - Method in class com.launchdarkly.client.LDConfig.Builder
Deprecated.
This feature will be removed in a future version of the SDK.
secondary(String) - Method in class com.launchdarkly.client.LDUser.Builder
Sets the secondary key for a user.
secureModeHash(LDUser) - Method in class com.launchdarkly.client.LDClient
 
secureModeHash(LDUser) - Method in interface com.launchdarkly.client.LDClientInterface
SegmentRule - Class in com.launchdarkly.client
Deprecated.
This class was made public in error and will be removed in a future release. It is used internally by the SDK.
SegmentRule(List<Clause>, Integer, String) - Constructor for class com.launchdarkly.client.SegmentRule
Deprecated.
Used internally to construct an instance.
SEGMENTS - Static variable in class com.launchdarkly.client.VersionedDataKind
The VersionedDataKind instance that describes user segment data.
sendEvent(Event) - Method in class com.launchdarkly.client.EventProcessor.NullEventProcessor
Deprecated.
 
sendEvent(Event) - Method in interface com.launchdarkly.client.EventProcessor
Records an event asynchronously.
sendEventData(EventSender.EventDataKind, String, int, URI) - Method in interface com.launchdarkly.client.interfaces.EventSender
Attempt to deliver an event data payload.
sendEvents() - Static method in class com.launchdarkly.client.Components
Returns a configuration builder for analytics event delivery.
sendEvents(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
Deprecated.
SerializationException - Exception in com.launchdarkly.client.interfaces
General exception class for all errors in serializing or deserializing JSON.
SerializationException(Throwable) - Constructor for exception com.launchdarkly.client.interfaces.SerializationException
Creates an instance.
setBooleanValue(String, Boolean) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the value of a boolean feature flag for all users.
setDoubleValue(String, Double) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the value of a double multivariate feature flag, for all users.
setFeatureFalse(String) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Turns a feature, identified by key, to evaluate to false for every user.
setFeatureTrue(String) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Turns a feature, identified by key, to evaluate to true for every user.
setInitialized(boolean) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the initialization status that the feature store will report to the SDK
setIntegerValue(String, Integer) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the value of an integer multivariate feature flag, for all users.
setJsonValue(String, JsonElement) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the value of a JsonElement multivariate feature flag, for all users.
setSource(Callable<CacheMonitor.CacheStats>) - Method in class com.launchdarkly.client.integrations.CacheMonitor
Deprecated.
Referencing this method directly is deprecated. In a future version, it will only be visible to SDK implementation code.
setStringValue(String, String) - Method in class com.launchdarkly.client.TestFeatureStore
Deprecated.
Sets the value of a string multivariate feature flag, for all users.
size() - Method in class com.launchdarkly.client.value.LDValue
Returns the number of elements in an array or object.
socketTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to Protocol.DEFAULT_TIMEOUT
socketTimeout(int) - Method in class com.launchdarkly.client.LDConfig.Builder
socketTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to Protocol.DEFAULT_TIMEOUT
socketTimeoutMillis - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
socketTimeoutMillis(int) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
Sets the socket timeout.
socketTimeoutMillis(int) - Method in class com.launchdarkly.client.LDConfig.Builder
sslSocketFactory - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
Specifies a custom security configuration for HTTPS connections to LaunchDarkly.
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.launchdarkly.client.LDConfig.Builder
staleValuesPolicy(FeatureStoreCacheConfig.StaleValuesPolicy) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Specifies how the cache (if any) should deal with old values when the cache TTL expires.
staleValuesPolicy(PersistentDataStoreBuilder.StaleValuesPolicy) - Method in class com.launchdarkly.client.integrations.PersistentDataStoreBuilder
Specifies how the cache (if any) should deal with old values when the cache TTL expires.
start() - Method in class com.launchdarkly.client.UpdateProcessor.NullUpdateProcessor
Deprecated.
 
start() - Method in interface com.launchdarkly.client.UpdateProcessor
Starts the client.
startWaitMillis(long) - Method in class com.launchdarkly.client.LDConfig.Builder
Set how long the constructor will block awaiting a successful connection to LaunchDarkly.
stream(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
streamingDataSource() - Static method in class com.launchdarkly.client.Components
Returns a configurable factory for using streaming mode to get feature flag data.
StreamingDataSourceBuilder - Class in com.launchdarkly.client.integrations
Contains methods for configuring the streaming data source.
StreamingDataSourceBuilder() - Constructor for class com.launchdarkly.client.integrations.StreamingDataSourceBuilder
 
streamURI(URI) - Method in class com.launchdarkly.client.LDConfig.Builder
String - Static variable in class com.launchdarkly.client.value.LDValue.Convert
A LDValue.Converter for strings.
stringValue() - Method in class com.launchdarkly.client.value.LDValue
Returns this value as a String if it is a string.
stringVariation(String, LDUser, String) - Method in class com.launchdarkly.client.LDClient
 
stringVariation(String, LDUser, String) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the String value of a feature flag for a given user.
stringVariationDetail(String, LDUser, String) - Method in class com.launchdarkly.client.LDClient
 
stringVariationDetail(String, LDUser, String) - Method in interface com.launchdarkly.client.LDClientInterface
Calculates the value of a feature flag for a given user, and returns an object that describes the way the value was determined.

T

targetMatch() - Static method in class com.launchdarkly.client.EvaluationReason
Returns an instance whose kind is EvaluationReason.Kind.TARGET_MATCH.
TestFeatureStore - Class in com.launchdarkly.client
Deprecated.
Will be replaced by a file-based test fixture.
TestFeatureStore() - Constructor for class com.launchdarkly.client.TestFeatureStore
Deprecated.
 
tls(boolean) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Optionally enables TLS for secure connections to Redis.
tls(boolean) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
Deprecated.
Optionally enables TLS for secure connections to Redis.
toJsonString() - Method in class com.launchdarkly.client.value.LDValue
Converts this value to its JSON serialization.
toLocale() - Method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Convert this CountryCode instance to a Locale instance.
toNewEnum() - Method in enum com.launchdarkly.client.FeatureStoreCacheConfig.StaleValuesPolicy
Deprecated.
Used internally for backward compatibility.
toString() - Method in class com.launchdarkly.client.EvaluationDetail
 
toString() - Method in class com.launchdarkly.client.EvaluationReason.Error
Deprecated.
 
toString() - Method in class com.launchdarkly.client.EvaluationReason.PrerequisiteFailed
Deprecated.
 
toString() - Method in class com.launchdarkly.client.EvaluationReason.RuleMatch
Deprecated.
 
toString() - Method in class com.launchdarkly.client.EvaluationReason
 
toString() - Method in class com.launchdarkly.client.FlagsStateOption
 
toString() - Method in class com.launchdarkly.client.integrations.CacheMonitor.CacheStats
 
toString() - Method in class com.launchdarkly.client.value.LDValue
 
toString() - Method in class com.launchdarkly.client.VersionedDataKind
 
toType(LDValue) - Method in class com.launchdarkly.client.value.LDValue.Converter
Converts an LDValue to a value of the specified type.
toValuesMap() - Method in class com.launchdarkly.client.FeatureFlagsState
Returns a map of flag keys to flag values.
track(String, LDUser) - Method in class com.launchdarkly.client.LDClient
 
track(String, LDUser, JsonElement) - Method in class com.launchdarkly.client.LDClient
 
track(String, LDUser, JsonElement, double) - Method in class com.launchdarkly.client.LDClient
 
track(String, LDUser) - Method in interface com.launchdarkly.client.LDClientInterface
Tracks that a user performed an event.
track(String, LDUser, JsonElement) - Method in interface com.launchdarkly.client.LDClientInterface
track(String, LDUser, JsonElement, double) - Method in interface com.launchdarkly.client.LDClientInterface
trackData(String, LDUser, LDValue) - Method in class com.launchdarkly.client.LDClient
 
trackData(String, LDUser, LDValue) - Method in interface com.launchdarkly.client.LDClientInterface
Tracks that a user performed an event, and provides additional custom data.
trackMetric(String, LDUser, LDValue, double) - Method in class com.launchdarkly.client.LDClient
 
trackMetric(String, LDUser, LDValue, double) - Method in interface com.launchdarkly.client.LDClientInterface
Tracks that a user performed an event, and provides an additional numeric value for custom metrics.
trustManager - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
ttl(long, TimeUnit) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Specifies the cache TTL.
ttlMillis(long) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Shortcut for calling FeatureStoreCacheConfig.ttl(long, TimeUnit) with TimeUnit.MILLISECONDS.
ttlSeconds(long) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
Deprecated.
Shortcut for calling FeatureStoreCacheConfig.ttl(long, TimeUnit) with TimeUnit.SECONDS.

U

UnmarshalException(Throwable) - Constructor for exception com.launchdarkly.client.utils.FeatureStoreHelpers.UnmarshalException
Constructs an instance.
unmarshalJson(VersionedDataKind<T>, String) - Static method in class com.launchdarkly.client.utils.FeatureStoreHelpers
Unmarshals a feature store item from a JSON string.
unsafeFromJsonElement(JsonElement) - Static method in class com.launchdarkly.client.value.LDValue
Deprecated.
This method will be removed in a future version. Application code should use LDValue.fromJsonElement(JsonElement) or, preferably, factory methods like LDValue.of(boolean).
UpdateProcessor - Interface in com.launchdarkly.client
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 FeatureStore.
UpdateProcessor.NullUpdateProcessor - Class in com.launchdarkly.client
Deprecated.
Use Components.externalUpdatesOnly() instead of referring to this implementation class directly.
updateProcessorFactory(UpdateProcessorFactory) - Method in class com.launchdarkly.client.LDConfig.Builder
UpdateProcessorFactory - Interface in com.launchdarkly.client
Interface for a factory that creates some implementation of UpdateProcessor.
upsert(VersionedDataKind<T>, T) - Method in interface com.launchdarkly.client.FeatureStore
Update or insert the object associated with the specified key, if its version is less than or equal to the version specified in the argument object.
upsert(VersionedDataKind<T>, T) - Method in class com.launchdarkly.client.InMemoryFeatureStore
 
upsert(VersionedDataKind<T>, T) - Method in class com.launchdarkly.client.RedisFeatureStore
Deprecated.
 
upsert(VersionedDataKind<T>, T) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
Deprecated.
 
upsertInternal(VersionedDataKind<?>, VersionedData) - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
Updates or inserts the object associated with the specified key.
uri(URI) - Method in class com.launchdarkly.client.integrations.RedisDataStoreBuilder
Specifies a Redis host URI other than RedisDataStoreBuilder.DEFAULT_URI.
useLdd(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
userKeysCapacity - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
userKeysCapacity(int) - Method in class com.launchdarkly.client.integrations.EventProcessorBuilder
Sets the number of user keys that the event processor can remember at any one time.
userKeysCapacity(int) - Method in class com.launchdarkly.client.LDConfig.Builder
userKeysFlushInterval(int) - Method in class com.launchdarkly.client.LDConfig.Builder
userKeysFlushIntervalSeconds - Variable in class com.launchdarkly.client.integrations.EventProcessorBuilder
 
userKeysFlushIntervalSeconds(int) - Method in class com.launchdarkly.client.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.client.EvaluationReason.ErrorKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.EvaluationReason.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.FeatureStoreCacheConfig.StaleValuesPolicy
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.interfaces.EventSender.EventDataKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.client.value.LDValueType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.launchdarkly.client.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.client.EvaluationReason.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.launchdarkly.client.FeatureStoreCacheConfig.StaleValuesPolicy
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.launchdarkly.client.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.client.interfaces.EventSender.EventDataKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.launchdarkly.client.LDCountryCode
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.launchdarkly.client.value.LDValue
Enumerates the values in an array or object.
values() - Static method in enum com.launchdarkly.client.value.LDValueType
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.client.value.LDValue
Enumerates the values in an array or object, converting them to a specific type.
version() - Method in class com.launchdarkly.client.LDClient
Returns the current version string of the client library.
version() - Method in interface com.launchdarkly.client.LDClientInterface
The current version string of the SDK.
VersionedData - Interface in com.launchdarkly.client
Common interface for string-keyed, versioned objects that can be kept in a FeatureStore.
VersionedDataKind<T extends VersionedData> - Class in com.launchdarkly.client
The descriptor for a specific kind of VersionedData objects that may exist in a FeatureStore.
VersionedDataKind() - Constructor for class com.launchdarkly.client.VersionedDataKind
 

W

WITH_REASONS - Static variable in class com.launchdarkly.client.FlagsStateOption
Specifies that EvaluationReason data should be captured in the state object.
wrapper(String, String) - Method in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
For use by wrapper libraries to set an identifying name for the wrapper being used.
wrapperName - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
wrapperName(String) - Method in class com.launchdarkly.client.LDConfig.Builder
wrapperVersion - Variable in class com.launchdarkly.client.integrations.HttpConfigurationBuilder
 
wrapperVersion(String) - Method in class com.launchdarkly.client.LDConfig.Builder
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