- cacheTime(long, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
- caching(FeatureStoreCacheConfig) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
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
-
Sets the local caching properties.
- CachingStoreWrapper - Class in com.launchdarkly.client.utils
-
- CachingStoreWrapper(FeatureStoreCore, FeatureStoreCacheConfig) - Constructor for class com.launchdarkly.client.utils.CachingStoreWrapper
-
- CachingStoreWrapper.Builder - Class in com.launchdarkly.client.utils
-
- capacity(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the capacity of the events buffer.
- 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
-
- 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
-
- 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
-
- com.launchdarkly.client - package com.launchdarkly.client
-
The main package for the LaunchDarkly Java SDK.
- com.launchdarkly.client.files - package com.launchdarkly.client.files
-
Package for the file data source component, which may be useful in tests.
- 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 factories for the standard implementations of LaunchDarkly component interfaces.
- Components() - Constructor for class com.launchdarkly.client.Components
-
- connectTimeout(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the connection timeout in seconds for the configuration.
- connectTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to
Protocol.DEFAULT_TIMEOUT
- connectTimeoutMillis(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the connection timeout in milliseconds for the configuration.
- 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.
- createFeatureStore() - Method in interface com.launchdarkly.client.FeatureStoreFactory
-
Creates an implementation instance.
- createFeatureStore() - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
- createUpdateProcessor(String, LDConfig, FeatureStore) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
-
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.
- 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
-
Parameters that can be used for
FeatureStore
implementations that support local caching.
- FeatureStoreCacheConfig.StaleValuesPolicy - Enum in com.launchdarkly.client
-
- 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
-
Sets the implementation of
FeatureStore
to be used for holding feature flags and
related data received from LaunchDarkly, using a factory object.
- 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
-
The entry point for the file data source, which allows you to use local files as a source of
feature flag state.
- FileComponents() - Constructor for class com.launchdarkly.client.files.FileComponents
-
- fileDataSource() - Static method in class com.launchdarkly.client.files.FileComponents
-
- FileDataSourceFactory - Class in com.launchdarkly.client.files
-
- FileDataSourceFactory() - Constructor for class com.launchdarkly.client.files.FileDataSourceFactory
-
- filePaths(String...) - Method in class com.launchdarkly.client.files.FileDataSourceFactory
-
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
-
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
-
- 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
-
Set the number of seconds between flushes of the event buffer.
- fromJsonElement(JsonElement) - Static method in class com.launchdarkly.client.value.LDValue
-
- 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
-
- get(VersionedDataKind<T>, String) - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
-
- 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.RedisFeatureStore
-
Return the underlying Guava cache stats object.
- getCacheStats() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
-
Return the underlying Guava cache stats object.
- getCacheTime() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
-
Returns the cache TTL.
- getCacheTimeMillis() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
-
Returns the cache TTL converted to milliseconds.
- getCacheTimeUnit() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
-
Returns the time unit for the cache TTL.
- getCore() - Method in class com.launchdarkly.client.utils.CachingStoreWrapper
-
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
-
An enumeration value indicating the general category of error.
- getException() - Method in class com.launchdarkly.client.EvaluationReason.Error
-
Returns the exception that caused the error condition, if applicable.
- 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.
- 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.
- 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.PrerequisiteFailed
-
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.
- 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.RuleMatch
-
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.RuleMatch
-
The index of the rule that was matched (0 for the first rule in the feature flag).
- getStaleValuesPolicy() - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
-
- getStreamApiPath() - Method in class com.launchdarkly.client.VersionedDataKind
-
The path prefix for objects of this type in events received from the streaming API.
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- initializedInternal() - Method in interface com.launchdarkly.client.utils.FeatureStoreCore
-
Returns true if this store has been initialized.
- 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(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Sets whether to include full user details in every analytics event.
- inMemoryFeatureStore() - Static method in class com.launchdarkly.client.Components
-
Returns a factory for the default in-memory implementation of
FeatureStore
.
- InMemoryFeatureStore - Class in com.launchdarkly.client
-
A thread-safe, versioned store for FeatureFlag
objects 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
-
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.
- isInt() - Method in class com.launchdarkly.client.value.LDValue
-
Tests whether this value is a number that is also an integer.
- 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.
- 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.RedisFeatureStoreBuilder
-
Specifies a password that will be sent to Redis in an AUTH command.
- pollingIntervalMillis(long) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the polling interval (when streaming is disabled).
- poolConfig(JedisPoolConfig) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
Optional override if you wish to specify your own configuration to the underlying Jedis pool.
- prefix(String) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
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.LDConfig.Builder
-
Marks a set of attribute names private.
- 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.
- proxyHost(String) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the host to use as an HTTP proxy for making connections to LaunchDarkly.
- proxyPassword(String) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Sets the password for the optional HTTP proxy.
- proxyPort(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the port to use for an HTTP proxy for making connections to LaunchDarkly.
- proxyUsername(String) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Sets the username for the optional HTTP proxy.
- 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
-
- sendEvent(Event) - Method in interface com.launchdarkly.client.EventProcessor
-
Records an event asynchronously.
- sendEvents(boolean) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set whether to send events back to LaunchDarkly.
- 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.
- 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) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the socket timeout in seconds for the configuration.
- socketTimeout(int, TimeUnit) - Method in class com.launchdarkly.client.RedisFeatureStoreBuilder
-
Optional override which sets the connection timeout for the underlying Jedis pool which otherwise defaults to
Protocol.DEFAULT_TIMEOUT
- socketTimeoutMillis(int) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the socket timeout in milliseconds for the configuration.
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Sets the SSLSocketFactory
used to secure HTTPS connections to LaunchDarkly.
- staleValuesPolicy(FeatureStoreCacheConfig.StaleValuesPolicy) - Method in class com.launchdarkly.client.FeatureStoreCacheConfig
-
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
-
Set whether streaming mode should be enabled.
- streamURI(URI) - Method in class com.launchdarkly.client.LDConfig.Builder
-
Set the base URL of the LaunchDarkly streaming server for this configuration.
- 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
-
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
-
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
-