- 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
-
- 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
-
- 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
-
- 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
-
- asUnsafeJsonElement() - Method in class com.launchdarkly.client.value.LDValue
-
- 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.
- 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
-
- 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
-
- build() - Method in class com.launchdarkly.client.LDUser.Builder
-
Builds the configured
LDUser
object.
- build() - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
Deprecated.
- 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.
- 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
-
- 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
-
- 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
-
- CachingStoreWrapper(FeatureStoreCore, FeatureStoreCacheConfig, CacheMonitor) - Constructor for class com.launchdarkly.client.utils.CachingStoreWrapper
-
Deprecated.
- CachingStoreWrapper.Builder - Class in com.launchdarkly.client.utils
-
Deprecated.
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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
-
- 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.
- fallthrough() - Static method in class com.launchdarkly.client.EvaluationReason
-
- FeatureFlagsState - Class in com.launchdarkly.client
-
- 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
-
- 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
-
- FeatureStoreCacheConfig.StaleValuesPolicy - Enum in com.launchdarkly.client
-
Deprecated.
- FeatureStoreCore - Interface in com.launchdarkly.client.utils
-
- 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
-
- FeatureStoreHelpers() - Constructor for class com.launchdarkly.client.utils.FeatureStoreHelpers
-
- FeatureStoreHelpers.UnmarshalException - Exception in com.launchdarkly.client.utils
-
- FileComponents - Class in com.launchdarkly.client.files
-
- 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.
- FileDataSourceBuilder - Class in com.launchdarkly.client.integrations
-
- 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
-
- Float - Static variable in class com.launchdarkly.client.value.LDValue.Convert
-
- 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
-
- 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.
- 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.
- getAlpha3() - Method in enum com.launchdarkly.client.LDCountryCode
-
Deprecated.
- 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.
- 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
-
- 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
-
- 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
-
- 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.
- getPrerequisiteKey() - Method in class com.launchdarkly.client.EvaluationReason
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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).
- 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
-
- 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
-
- 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.
- samplingInterval(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- VersionedDataKind() - Constructor for class com.launchdarkly.client.VersionedDataKind
-