- adapter(LDLogAdapter) - Method in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
-
Specifies the implementation of logging to use.
- add(LDValue) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(boolean) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(int) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(long) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(float) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(double) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(String) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(LDContext) - Method in class com.launchdarkly.sdk.ContextMultiBuilder
-
Adds an individual LDContext for a specific kind to the builer.
- add(String, LDValue, Integer, EvaluationReason, int, boolean, Long, List<String>) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
Adds data to the builder representing the result of a feature flag evaluation.
- add(String, LDValue, Integer, EvaluationReason, int, boolean, boolean, Long, List<String>) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
Adds data to the builder representing the result of a feature flag evaluation.
- addCustomHeader(String, String) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom HTTP header that should be added to all SDK requests.
- addFlagChangeListener(FlagChangeListener) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagTracker
-
Registers a listener to be notified of feature flag changes in general.
- addFlagValueChangeListener(String, LDContext, FlagValueChangeListener) - Method in interface com.launchdarkly.sdk.server.interfaces.FlagTracker
-
Registers a listener to be notified of a change in a specific feature flag's value for a specific
evaluation context.
- addStatusListener(BigSegmentStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider
-
Subscribes for notifications of status changes.
- addStatusListener(DataSourceStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
-
Subscribes for notifications of status changes.
- addStatusListener(DataStoreStatusProvider.StatusListener) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Subscribes for notifications of status changes.
- afterEvaluation(EvaluationSeriesContext, Map<String, Object>, EvaluationDetail<LDValue>) - Method in class com.launchdarkly.sdk.server.integrations.Hook
-
- ALL_DATA_KINDS - Static variable in class com.launchdarkly.sdk.server.DataModel
-
- allAttributesPrivate - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- allAttributesPrivate(boolean) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Sets whether or not all optional user attributes should be hidden from LaunchDarkly.
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.EvaluatorInterface
-
Evaluates all flags.
- allFlagsState(LDContext, FlagsStateOption...) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- allFlagsState(LDContext, FlagsStateOption...) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an object that encapsulates the state of all feature flags for a given context, which can be
passed to front-end code.
- allFlagsState(LDContext, FlagsStateOption...) - Method in class com.launchdarkly.sdk.server.LDClient
-
- andMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is one of" operator.
- andMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is one of" operator.
- andNotMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is not one of" operator.
- andNotMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder.FlagRuleBuilder
-
Adds another clause, using the "is not one of" operator.
- anonymous(boolean) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Sets whether the context is only intended for flag evaluations and should not be
indexed by LaunchDarkly.
- anonymous(boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets whether this user is anonymous.
- ANONYMOUS - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the anonymous attribute.
- applicationId(String) - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Sets a unique identifier representing the application where the LaunchDarkly SDK is running.
- applicationInfo() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for the SDK's application metadata.
- ApplicationInfo - Class in com.launchdarkly.sdk.server.interfaces
-
Encapsulates the SDK's application metadata.
- ApplicationInfo(String, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
Used internally by the SDK to store application metadata.
- applicationInfo(ApplicationInfoBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the SDK's application metadata, which may be used in LaunchDarkly analytics or other product features,
but does not affect feature flag evaluations.
- ApplicationInfoBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the SDK's application metadata.
- ApplicationInfoBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Create an empty ApplicationInfoBuilder.
- applicationVersion(String) - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Sets a unique identifier representing the version of the application where the LaunchDarkly SDK
is running.
- ArrayBuilder - Class in com.launchdarkly.sdk
-
- ArrayBuilder() - Constructor for class com.launchdarkly.sdk.ArrayBuilder
-
- arrayFrom(Iterable<T>) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue
as an array, from a sequence of this type.
- arrayOf(LDValue...) - Static method in class com.launchdarkly.sdk.LDValue
-
Creates an array value from the specified values.
- arrayOf(T...) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue
as an array, from a sequence of this type.
- AttributeRef - Class in com.launchdarkly.sdk
-
An attribute name or path expression identifying a value within an
LDContext
.
- autoUpdate(boolean) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Specifies whether the data source should watch for changes to the source file(s) and reload flags
whenever there is a change.
- avatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's avatar.
- AVATAR - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the avatar URL attribute.
- cacheForever() - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies that the in-memory cache should never expire.
- cacheMillis(long) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- cacheSeconds(long) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- CacheStats(long, long, long, long, long, long) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
Constructs a new instance.
- cacheTime - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- cacheTime(Duration) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies the cache TTL.
- capacity - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- capacity(int) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Set the capacity of the events buffer.
- Challenge(String, String) - Constructor for class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
Constructs an instance.
- check() - Method in interface com.launchdarkly.sdk.server.MigrationOpTracker.Checker
-
- check(TReadResult, TReadResult) - Method in interface com.launchdarkly.sdk.server.migrations.Migration.ReadConsistencyChecker
-
- checkMembership(String) - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.Membership
-
Tests whether the user is explicitly included or explicitly excluded in the specified
segment, or neither.
- classpathResources(String...) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Adds any number of classpath resources for loading flag data.
- clearRules() - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Removes any existing rules from the flag.
- clearTargets() - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Removes any existing user/context targets from the flag.
- CLIENT_SIDE_ONLY - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
-
Specifies that only flags marked for use with the client-side SDK should be included in the state object.
- ClientContext - Class in com.launchdarkly.sdk.server.subsystems
-
Context information provided by the
LDClient
when creating components.
- ClientContext(String, ApplicationInfo, HttpConfiguration, LoggingConfiguration, boolean, ServiceEndpoints, int, WrapperInfo) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Constructor that sets all properties.
- ClientContext(ClientContext) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Copy constructor.
- ClientContext(String) - Constructor for class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Basic constructor for convenience in testing, using defaults for most properties.
- close() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- close() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- close() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Closes the LaunchDarkly client event processing thread.
- close() - Method in class com.launchdarkly.sdk.server.LDClient
-
Shuts down the client and releases any resources it is using.
- close() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Tells the component to shut down and release any resources it is using.
- com.launchdarkly.sdk - package com.launchdarkly.sdk
-
Base namespace for LaunchDarkly Java-based SDKs, containing common types.
- com.launchdarkly.sdk.json - package com.launchdarkly.sdk.json
-
Helper classes and methods for interoperability with JSON.
- com.launchdarkly.sdk.server - package com.launchdarkly.sdk.server
-
Main package for the LaunchDarkly Server-Side Java SDK, containing the client and configuration classes.
- com.launchdarkly.sdk.server.integrations - package com.launchdarkly.sdk.server.integrations
-
This package contains integration tools for connecting the SDK to other software components, or
configuring how it connects to LaunchDarkly.
- com.launchdarkly.sdk.server.integrations.reactor - package com.launchdarkly.sdk.server.integrations.reactor
-
This package contains components for using the SDK in reactive stream programming.
- com.launchdarkly.sdk.server.interfaces - package com.launchdarkly.sdk.server.interfaces
-
Types that are part of the public API, but are not needed for basic use of the SDK.
- com.launchdarkly.sdk.server.migrations - package com.launchdarkly.sdk.server.migrations
-
Implementations related to technology migrations.
- com.launchdarkly.sdk.server.subsystems - package com.launchdarkly.sdk.server.subsystems
-
Interfaces for implementation of LaunchDarkly SDK components.
- compareTo(AttributeRef) - Method in class com.launchdarkly.sdk.AttributeRef
-
- compareTo(ContextKind) - Method in class com.launchdarkly.sdk.ContextKind
-
- ComponentConfigurer<T> - Interface in com.launchdarkly.sdk.server.subsystems
-
The common interface for SDK component factories and configuration builders.
- Components - Class in com.launchdarkly.sdk.server
-
Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.
- connectTimeout - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- connectTimeout(Duration) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets the connection timeout.
- consistency(MigrationOpTracker.Checker) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
-
Check the consistency of a read result.
- ConsistencyCheck - Enum in com.launchdarkly.sdk.server.interfaces
-
Consistency check result.
- context - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
-
The context the evaluation was for.
- ContextBuilder - Class in com.launchdarkly.sdk
-
A mutable object that uses the builder pattern to specify properties for
LDContext
.
- ContextKind - Class in com.launchdarkly.sdk
-
A string identifier provided by the application to describe what kind of entity an
LDContext
represents.
- ContextMultiBuilder - Class in com.launchdarkly.sdk
-
A mutable object that uses the builder pattern to specify properties for a multi-kind
LDContext
.
- Converter() - Constructor for class com.launchdarkly.sdk.LDValue.Converter
-
- country(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Set the country for a user.
- COUNTRY - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the country attribute.
- create(String) - Static method in class com.launchdarkly.sdk.LDContext
-
- create(ContextKind, String) - Static method in class com.launchdarkly.sdk.LDContext
-
Creates a single-kind LDContext with only the kind and keys specified.
- createApplicationInfo() - Method in class com.launchdarkly.sdk.server.integrations.ApplicationInfoBuilder
-
Called internally by the SDK to create the configuration object.
- createMembershipFromSegmentRefs(Iterable<String>, Iterable<String>) - Static method in class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes
-
- createMulti(LDContext...) - Static method in class com.launchdarkly.sdk.LDContext
-
Creates a multi-kind LDContext out of the specified single-kind LDContexts.
- createServiceEndpoints() - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Called internally by the SDK to create a configuration instance.
- custom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds a String
-valued custom attribute.
- custom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds an integer-valued custom attribute.
- custom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Adds a double-precision numeric custom attribute.
- custom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a boolean-valued custom attribute.
- custom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a custom attribute whose value can be any JSON type, using
LDValue
.
- customHeaders - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- DataKind(String, Function<DataStoreTypes.ItemDescriptor, String>, Function<String, DataStoreTypes.ItemDescriptor>) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Constructs a DataKind instance.
- DataModel - Class in com.launchdarkly.sdk.server
-
Contains information about the internal data model for feature flags and user segments.
- dataSource() - Static method in class com.launchdarkly.sdk.server.integrations.FileData
-
- dataSource() - Static method in class com.launchdarkly.sdk.server.integrations.TestData
-
Creates a new instance of the test data source.
- dataSource(ComponentConfigurer<DataSource>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the implementation of the component that receives feature flag data from LaunchDarkly,
using a factory object.
- DataSource - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for an object that receives updates to feature flags, user segments, and anything
else that might come from LaunchDarkly, and passes them to a
DataStore
.
- dataSourceStatusChanged(DataSourceStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.StatusListener
-
Called when any property of the data source status has changed.
- DataSourceStatusProvider - Interface in com.launchdarkly.sdk.server.interfaces
-
An interface for querying the status of the SDK's data source.
- DataSourceStatusProvider.ErrorInfo - Class in com.launchdarkly.sdk.server.interfaces
-
A description of an error condition that the data source encountered.
- DataSourceStatusProvider.ErrorKind - Enum in com.launchdarkly.sdk.server.interfaces
-
- DataSourceStatusProvider.State - Enum in com.launchdarkly.sdk.server.interfaces
-
- DataSourceStatusProvider.Status - Class in com.launchdarkly.sdk.server.interfaces
-
Information about the data source's status and about the last status change.
- DataSourceStatusProvider.StatusListener - Interface in com.launchdarkly.sdk.server.interfaces
-
Interface for receiving status change notifications.
- DataSourceUpdateSink - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface that a data source implementation will use to push data into the SDK.
- dataStore(ComponentConfigurer<DataStore>) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the implementation of the data store to be used for holding feature flags and
related data received from LaunchDarkly, using a factory object.
- DataStore - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for a data store that holds feature flags and related data received by the SDK.
- dataStoreStatusChanged(DataStoreStatusProvider.Status) - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.StatusListener
-
Called when the store status has changed.
- DataStoreStatusProvider - Interface in com.launchdarkly.sdk.server.interfaces
-
An interface for querying the status of a persistent data store.
- DataStoreStatusProvider.CacheStats - Class in com.launchdarkly.sdk.server.interfaces
-
A snapshot of cache statistics.
- DataStoreStatusProvider.Status - Class in com.launchdarkly.sdk.server.interfaces
-
Information about a status change.
- DataStoreStatusProvider.StatusListener - Interface in com.launchdarkly.sdk.server.interfaces
-
Interface for receiving status change notifications.
- DataStoreTypes - Class in com.launchdarkly.sdk.server.subsystems
-
Types that are used by the
DataStore
interface.
- DataStoreTypes.DataKind - Class in com.launchdarkly.sdk.server.subsystems
-
Represents a separately namespaced collection of storable data items.
- DataStoreTypes.FullDataSet<TDescriptor> - Class in com.launchdarkly.sdk.server.subsystems
-
Wrapper for a set of storable items being passed to a data store.
- DataStoreTypes.ItemDescriptor - Class in com.launchdarkly.sdk.server.subsystems
-
A versioned item (or placeholder) storable in a
DataStore
.
- DataStoreTypes.KeyedItems<TDescriptor> - Class in com.launchdarkly.sdk.server.subsystems
-
- DataStoreTypes.SerializedItemDescriptor - Class in com.launchdarkly.sdk.server.subsystems
-
- DataStoreUpdateSink - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface that a data store implementation can use to report information back to the SDK.
- DEFAULT - Static variable in class com.launchdarkly.sdk.ContextKind
-
A constant for the default kind of "user".
- DEFAULT - Static variable in class com.launchdarkly.sdk.server.LDConfig
-
- DEFAULT_CACHE_TTL - Static variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
The default value for the cache TTL.
- DEFAULT_CAPACITY - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_CONNECT_TIMEOUT - Static variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- DEFAULT_DIAGNOSTIC_RECORDING_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_FLUSH_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- DEFAULT_LOG_DATA_SOURCE_OUTAGE_AS_ERROR_AFTER - Static variable in class com.launchdarkly.sdk.server.integrations.LoggingConfigurationBuilder
-
- DEFAULT_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- DEFAULT_SOCKET_TIMEOUT - Static variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- DEFAULT_STALE_AFTER - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_START_WAIT - Static variable in class com.launchdarkly.sdk.server.LDConfig
-
- DEFAULT_STATUS_POLL_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_USER_CACHE_SIZE - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_USER_CACHE_TIME - Static variable in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
- DEFAULT_USER_KEYS_CAPACITY - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- DEFAULT_USER_KEYS_FLUSH_INTERVAL - Static variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- defaultValue - Variable in class com.launchdarkly.sdk.server.integrations.EvaluationSeriesContext
-
The user-provided default value for the evaluation.
- delete(String) - Method in class com.launchdarkly.sdk.server.integrations.TestData
-
Deletes a specific flag from the test data by create a versioned tombstone.
- deletedItem(int) - Static method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Convenience method for constructing a deleted item placeholder.
- describeConfiguration(ClientContext) - Method in interface com.launchdarkly.sdk.server.subsystems.DiagnosticDescription
-
Used internally by the SDK to inspect the configuration.
- deserialize(String, Class<T>) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Parses an object from its JSON representation.
- deserialize(String) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Creates an item of this kind from its serialized representation.
- DETAILS_ONLY_FOR_TRACKED_FLAGS - Static variable in class com.launchdarkly.sdk.server.FlagsStateOption
-
Specifies that any flag metadata that is normally only used for event generation - such as flag versions and
evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on.
- DiagnosticDescription - Interface in com.launchdarkly.sdk.server.subsystems
-
Optional interface for components to describe their own configuration.
- diagnosticOptOut(boolean) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Set to true to opt out of sending diagnostics data.
- diagnosticRecordingInterval - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- diagnosticRecordingInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Sets the interval at which periodic diagnostic data is sent.
- Double - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- doubleValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a double
if it is numeric.
- doubleVariation(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- doubleVariation(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- doubleVariation(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the floating-point numeric value of a feature flag for a given context.
- doubleVariation(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.LDClient
-
- doubleVariationDetail(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- doubleVariationDetail(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- doubleVariationDetail(String, LDContext, double) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the floating-point numeric value of a feature flag for a given context, and returns an
object that describes the way the value was determined.
- doubleVariationDetail(String, LDContext, double) - Method in class com.launchdarkly.sdk.server.LDClient
-
- duplicateKeysHandling(FileData.DuplicateKeysHandling) - Method in class com.launchdarkly.sdk.server.integrations.FileDataSourceBuilder
-
Specifies how to handle keys that are duplicated across files.
- get(int) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an array element by index.
- get(String) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an object property by name.
- get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Retrieves an item from the specified collection, if available.
- get(DataStoreTypes.DataKind, String) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Retrieves an item from the specified collection, if available.
- getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Retrieves all items from the specified collection.
- getAll(DataStoreTypes.DataKind) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Retrieves all items from the specified collection.
- getApplicationId() - Method in class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
A unique identifier representing the application where the LaunchDarkly SDK is running.
- getApplicationInfo() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
- getApplicationVersion() - Method in class com.launchdarkly.sdk.server.interfaces.ApplicationInfo
-
A unique identifier representing the version of the application where the
LaunchDarkly SDK is running.
- getAttribute(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Gets the value of a user attribute, if present.
- getAuthoritative() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
-
Get the authoritative result of the write.
- getAvatar() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the avatar property for the user, if set.
- getBaseLogger() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The base logger for the SDK.
- getBaseLoggerName() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
Returns the configured base logger name.
- getBigSegmentsStatus() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Describes the validity of Big Segment information, if and only if the flag evaluation required
querying at least one Big Segment.
- getBigSegmentStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getBigSegmentStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getBigSegmentStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of the Big Segment store.
- getBigSegmentStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getCacheStats() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Queries the current cache statistics, if this is a persistent store with caching enabled.
- getCacheStats() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Returns statistics about cache usage, if this data store implementation supports caching.
- getComponent(int) - Method in class com.launchdarkly.sdk.AttributeRef
-
Retrieves a single path component from the attribute reference.
- getConnectTimeout() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The connection timeout.
- getCountry() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the country property for the user, if set.
- getCustomAttributeNames() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the names of all non-built-in attributes that have been set in this context.
- getCustomAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns an enumeration of all custom attribute names that were set for this user.
- getData() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet
-
Returns the wrapped data set.
- getDataSourceStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getDataSourceStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getDataSourceStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of the data source.
- getDataSourceStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getDataSourceUpdateSink() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the component that
DataSource
implementations use to deliver data and status
updates to the SDK.
- getDataStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking the status of a persistent data store.
- getDataStoreStatusProvider() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getDataStoreStatusProvider() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
-
Returns an object that provides status tracking for the data store, if applicable.
- getDataStoreUpdateSink() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the component that
DataStore
implementations use to deliver data store status
updates to the SDK.
- getDefaultHeaders() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
Returns the basic headers that should be added to all HTTP requests from SDK components to
LaunchDarkly services, based on the current SDK configuration.
- getDepth() - Method in class com.launchdarkly.sdk.AttributeRef
-
The number of path components in the AttributeRef.
- getEmail() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the email property for the user, if set.
- getError() - Method in class com.launchdarkly.sdk.AttributeRef
-
Null for a valid AttributeRef, or a non-null error message for an invalid AttributeRef.
- getError() - Method in class com.launchdarkly.sdk.LDContext
-
Returns null for a valid LDContext, or an error message for an invalid one.
- getErrorKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getEventsBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the events service.
- getEvictionCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times cache entries have been evicted.
- getException() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getException() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Get the exception associated with the result or an empty optional if there
was no exception.
- getException() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Get the exception associated with the method or an empty optional if there
was no exception.
- getFirstName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the first name property for the user, if set.
- getFlagReason(String) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns the evaluation reason for an individual feature flag at the time the state was recorded.
- getFlagTracker() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- getFlagTracker() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- getFlagTracker() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns an interface for tracking changes in feature flag configurations.
- getFlagTracker() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getFlagValue(String) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns the value of an individual feature flag at the time the state was recorded.
- getFullyQualifiedKey() - Method in class com.launchdarkly.sdk.LDContext
-
Returns a string that describes the LDContext uniquely based on kind
and
key
values.
- getHitCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of data queries that received cached data instead of going to the underlying data store.
- getHooks() - Method in class com.launchdarkly.sdk.server.subsystems.HookConfiguration
-
- getHttp() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The configured networking properties that apply to all components.
- getIndividualContext(int) - Method in class com.launchdarkly.sdk.LDContext
-
Returns the single-kind LDContext corresponding to one of the kinds in this context.
- getIndividualContext(ContextKind) - Method in class com.launchdarkly.sdk.LDContext
-
Returns the single-kind LDContext corresponding to one of the kinds in this context.
- getIndividualContext(String) - Method in class com.launchdarkly.sdk.LDContext
-
- getIndividualContextCount() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the number of context kinds in this context.
- getIp() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the IP property for the user, if set.
- getItem() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Returns the data item, or null if this is a placeholder for a deleted item.
- getItems() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems
-
Returns the wrapped data set.
- getKey() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's key
attribute.
- getKey() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the user's unique key.
- getKey() - Method in class com.launchdarkly.sdk.server.interfaces.FlagChangeEvent
-
Returns the key of the feature flag whose configuration has changed.
- getKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an enum indicating the general category of the reason.
- getKind() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's kind
attribute.
- getKind() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns an enumerated value representing the general category of the error.
- getLastError() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Returns information about the last error that the data source encountered, if any.
- getLastName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the last name property for the user, if set.
- getLastUpToDate() - Method in class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.StoreMetadata
-
- getLoadExceptionCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times that an error occurred while querying the underlying data store.
- getLoadSuccessCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of times a cache miss resulted in successfully loading a data store item (or finding
that it did not exist in the store).
- getLogAdapter() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
Returns the configured logging adapter.
- getLogDataSourceOutageAsErrorAfter() - Method in class com.launchdarkly.sdk.server.subsystems.LoggingConfiguration
-
The time threshold, if any, after which the SDK will log a data source outage at ERROR
level instead of WARN
level.
- getLogger() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns the logger instance used by this SDK instance.
- getLogger() - Method in class com.launchdarkly.sdk.server.LDClient
-
- getLogging() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
The configured logging properties that apply to all components.
- getMembership(String) - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStore
-
Queries the store for a snapshot of the current segment state for a specific user.
- getMessage() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns any additional human-readable information relevant to the error.
- getMetadata() - Method in class com.launchdarkly.sdk.server.integrations.Hook
-
- getMetadata() - Method in interface com.launchdarkly.sdk.server.subsystems.BigSegmentStore
-
Returns information about the overall state of the store.
- getMissCount() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The number of data queries that did not find cached data and went to the underlying data store.
- getMode() - Method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Get the current execution mode.
- getName() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the context's name
attribute.
- getName() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns the value of the full name property for the user, if set.
- getName() - Method in class com.launchdarkly.sdk.server.integrations.HookMetadata
-
- getName() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
A case-sensitive alphabetic string that uniquely identifies this data kind.
- getName() - Method in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Returns the case-sensitive attribute name.
- getNewValue() - Method in class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
-
Returns the new value of the flag for the specified evaluation context.
- getNonAuthoritative() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationWriteResult
-
Get the non-authoritative result.
- getOldValue() - Method in class com.launchdarkly.sdk.server.interfaces.FlagValueChangeEvent
-
Returns the last known value of the flag for the specified evaluation context prior to the update.
- getOrder() - Method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
- getOrigin() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Get the origin associated with the result.
- getPollingBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the polling service.
- getPrerequisiteKey() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getPrivateAttribute(int) - Method in class com.launchdarkly.sdk.LDContext
-
Retrieves one of the private attribute references that were specified for this context.
- getPrivateAttributeCount() - Method in class com.launchdarkly.sdk.LDContext
-
Returns the number of private attribute references that were specified for this context.
- getPrivateAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns an enumeration of all attributes that were marked private for this user.
- getProxy() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The proxy configuration, if any.
- getProxyAuthentication() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The authentication method to use for a proxy, if any.
- getRealm() - Method in class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
The authentication realm, if any.
- getReason() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
An object describing the main factor that influenced the flag evaluation value.
- getResult() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
The result.
- getResult() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Get the result of the method.
- getRuleId() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getRuleIndex() - Method in class com.launchdarkly.sdk.EvaluationReason
-
- getScheme() - Method in class com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
-
The authentication scheme, such as "basic".
- getSdkKey() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the configured SDK key.
- getSerializedItem() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns the data item's serialized representation.
- getServiceEndpoints() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the base service URIs used by SDK components.
- getSocketFactory() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured socket factory for insecure connections.
- getSocketTimeout() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The socket timeout.
- getSslSocketFactory() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured socket factory for secure connections.
- getStage() - Method in class com.launchdarkly.sdk.server.MigrationVariation
-
The result of the flag evaluation.
- getStaleAfter() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getState() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Returns an enumerated value representing the overall current state of the data source.
- getStateSince() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider
-
Returns the current status of the store.
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider
-
Returns the current status of the data source.
- getStatus() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Returns the current status of the store.
- getStatusCode() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
- getStatusPollInterval() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getStore() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
Gets the data store instance that is used for Big Segments data.
- getStreamingBaseUri() - Method in class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
The base URI for the streaming service.
- getThreadPriority() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
- getTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo
-
Returns the date/time that the error occurred.
- getTotalLoadTime() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.CacheStats
-
The total number of nanoseconds that the cache has spent loading new values.
- getTracker() - Method in class com.launchdarkly.sdk.server.MigrationVariation
-
A tracker which can be used to generate analytics for the migration.
- getTrustManager() - Method in class com.launchdarkly.sdk.server.subsystems.HttpConfiguration
-
The configured trust manager for secure connections, if custom certificate verification is needed.
- getType() - Method in class com.launchdarkly.sdk.LDValue
-
Gets the JSON type for this value.
- getUserCacheSize() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getUserCacheTime() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentsConfiguration
-
- getValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The result of the flag evaluation.
- getValue(String) - Method in class com.launchdarkly.sdk.LDContext
-
Looks up the value of any attribute of the context by name.
- getValue(AttributeRef) - Method in class com.launchdarkly.sdk.LDContext
-
Looks up the value of any attribute of the context, or a value contained within an
attribute, based on an
AttributeRef
.
- getVariationIndex() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The index of the returned value within the flag's list of variations, e.g.
- getVersion() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Returns the version number of this data, provided by the SDK.
- getVersion() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns the version number of this data, provided by the SDK.
- getWrapperInfo() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns the wrapper information.
- getWrapperName() - Method in class com.launchdarkly.sdk.server.interfaces.WrapperInfo
-
Get the name of the wrapper.
- getWrapperVersion() - Method in class com.launchdarkly.sdk.server.interfaces.WrapperInfo
-
Get the version of the wrapper.
- identify(LDContext) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- identify(LDContext) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- identify(LDContext) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Reports details about an evaluation context.
- identify(LDContext) - Method in class com.launchdarkly.sdk.server.LDClient
-
- ifMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is one of" operator.
- ifMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is one of" operator.
- ifNotMatch(ContextKind, String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is not one of" operator.
- ifNotMatch(String, LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Starts defining a flag rule, using the "is not one of" operator.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.DataSourceUpdateSink
-
Completely overwrites the current contents of the data store with a set of items for each collection.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Overwrites the store's contents with a set of items for each collection.
- init(DataStoreTypes.FullDataSet<DataStoreTypes.SerializedItemDescriptor>) - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Overwrites the store's contents with a set of items for each collection.
- initialReconnectDelay - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- initialReconnectDelay(Duration) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
Sets the initial reconnect delay for the streaming connection.
- inMemoryDataStore() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration object for using the default in-memory implementation of a data store.
- Integer - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- intValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as an int
if it is numeric.
- intVariation(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- intVariation(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- intVariation(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the integer value of a feature flag for a given context.
- intVariation(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.LDClient
-
- intVariationDetail(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- intVariationDetail(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- intVariationDetail(String, LDContext, int) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the integer numeric value of a feature flag for a given context, and returns an object
that describes the way the value was determined.
- intVariationDetail(String, LDContext, int) - Method in class com.launchdarkly.sdk.server.LDClient
-
- invoked(MigrationOrigin) - Method in class com.launchdarkly.sdk.server.MigrationOpTracker
-
Call this to report that an origin was invoked (executed).
- ip(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the IP for a user.
- IP - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Represents the IP address attribute.
- isAnonymous() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true if this context is only intended for flag evaluations and will not be
indexed by LaunchDarkly.
- isAnonymous() - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Returns true if this user was marked anonymous.
- isAttributePrivate(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Deprecated.
Tests whether an attribute has been marked private for this user.
- isAvailable() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
True if the Big Segment store is able to respond to queries, so that the SDK can evaluate
whether a user is in a segment or not.
- isAvailable() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Returns true if the SDK believes the data store is now available.
- isBuiltIn() - Method in class com.launchdarkly.sdk.UserAttribute
-
Deprecated.
Returns true for a built-in attribute or false for a custom attribute.
- isDefault() - Method in class com.launchdarkly.sdk.ContextKind
-
- isDefaultValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
Returns true if the flag evaluation returned the default value, rather than one of the flag's
variations.
- isDeleted() - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Returns true if this is a placeholder (tombstone) for a deleted item.
- isFlagKnown(String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isFlagKnown(String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isFlagKnown(String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns true if the specified feature flag currently exists.
- isFlagKnown(String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- isInExperiment() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Whether the evaluation was part of an experiment.
- isInitialized() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Tests whether the client is ready to be used.
- isInitialized() - Method in class com.launchdarkly.sdk.server.LDClient
-
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Returns true once the client has been initialized and will never return false again.
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Checks whether this store has been initialized with any data yet.
- isInitialized() - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Returns true if this store has been initialized.
- isInt() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number that is also an integer.
- isMultiple() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true if this is a multi-kind context.
- isNull() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a null.
- isNumber() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number (not a numeric string).
- isOffline() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- isOffline() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- isOffline() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Returns true if the client is in offline mode.
- isOffline() - Method in class com.launchdarkly.sdk.server.LDClient
-
- isOffline() - Method in class com.launchdarkly.sdk.server.subsystems.ClientContext
-
Returns true if the SDK was configured to be completely offline.
- isRefreshNeeded() - Method in class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Returns true if the store may be out of date due to a previous outage, so the SDK should attempt to refresh
all feature flag data and rewrite it to the store.
- isStage(String) - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Check if the provided string is a migration stage.
- isStale() - Method in class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
- isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider
-
Indicates whether the current data store implementation supports status monitoring.
- isStatusMonitoringEnabled() - Method in interface com.launchdarkly.sdk.server.subsystems.DataStore
-
Returns true if this data store implementation supports status monitoring.
- isStoreAvailable() - Method in interface com.launchdarkly.sdk.server.subsystems.PersistentDataStore
-
Tests whether the data store seems to be functioning normally.
- isString() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a string.
- isSuccess() - Method in class com.launchdarkly.sdk.server.migrations.Migration.MigrationResult
-
Check if the operation was a success.
- isSuccess() - Method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Returns true if the method was successful.
- isValid() - Method in class com.launchdarkly.sdk.AttributeRef
-
True for a valid AttributeRef, false for an invalid AttributeRef.
- isValid() - Method in class com.launchdarkly.sdk.LDContext
-
Returns true
for a valid LDContext, false
for an invalid one.
- isValid() - Method in class com.launchdarkly.sdk.server.FeatureFlagsState
-
Returns true if this object contains a valid snapshot of feature flag state, or false if the
state could not be computed (for instance, because the client was offline or there was no user).
- ItemDescriptor(int, Object) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.ItemDescriptor
-
Constructs a new instance.
- Parallel() - Static method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Constructs a parallel execution.
- parse(String) - Static method in class com.launchdarkly.sdk.LDValue
-
Parses an LDValue from a JSON representation.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this data source.
- payloadFilter - Variable in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- payloadFilter(String) - Method in class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
Sets the Payload Filter that will be used to filter the objects (flags, segments, etc.)
from this data source.
- persistentDataStore(ComponentConfigurer<PersistentDataStore>) - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for some implementation of a persistent data store.
- PersistentDataStore - Interface in com.launchdarkly.sdk.server.subsystems
-
Interface for a data store that holds feature flags and related data in a serialized form.
- PersistentDataStoreBuilder - Class in com.launchdarkly.sdk.server.integrations
-
A configurable factory for a persistent data store.
- PersistentDataStoreBuilder(ComponentConfigurer<PersistentDataStore>) - Constructor for class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Creates a new builder.
- PersistentDataStoreBuilder.StaleValuesPolicy - Enum in com.launchdarkly.sdk.server.integrations
-
- persistentDataStoreConfigurer - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- polling(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Sets a custom base URI for the polling service.
- polling(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- pollingBaseUri - Variable in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- pollingDataSource() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configurable factory for using polling mode to get feature flag data.
- PollingDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the polling data source.
- PollingDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- pollInterval - Variable in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
- pollInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.PollingDataSourceBuilder
-
Sets the interval at which the SDK will poll for feature flag updates.
- prereqOfFlag - Variable in class com.launchdarkly.sdk.server.PrerequisiteEvalRecord
-
- PrerequisiteEvalRecord - Class in com.launchdarkly.sdk.server
-
- PrerequisiteEvalRecord(DataModel.FeatureFlag, DataModel.FeatureFlag, EvalResult) - Constructor for class com.launchdarkly.sdk.server.PrerequisiteEvalRecord
-
- prerequisiteFailed(String) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
- privateAttributes(String...) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Designates any number of context attributes, or properties within them, as private:
that is, their values will not be recorded by LaunchDarkly.
- privateAttributes(AttributeRef...) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- privateAttributes - Variable in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
- privateAttributes(String...) - Method in class com.launchdarkly.sdk.server.integrations.EventProcessorBuilder
-
Marks a set of attribute names or subproperties as private.
- privateAvatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's avatar, and ensures that the avatar attribute will not be sent back to LaunchDarkly.
- privateCountry(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Set the country for a user, and ensures that the country attribute will not be sent back to LaunchDarkly.
- privateCustom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a String
-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add an int-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a double-precision numeric custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a boolean-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Add a custom attribute of any JSON type, that will not be sent back to LaunchDarkly.
- privateEmail(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's e-mail address, and ensures that the e-mail address attribute will not be sent back to LaunchDarkly.
- privateFirstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's first name, and ensures that the first name attribute will not be sent back to LaunchDarkly.
- privateIp(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the IP for a user, and ensures that the IP attribute is not sent back to LaunchDarkly.
- privateLastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's last name, and ensures that the last name attribute will not be sent back to LaunchDarkly.
- privateName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Deprecated.
Sets the user's full name, and ensures that the name attribute will not be sent back to LaunchDarkly.
- provideAuthorization(Iterable<HttpAuthentication.Challenge>) - Method in interface com.launchdarkly.sdk.server.interfaces.HttpAuthentication
-
Computes the Authorization
or Proxy-Authorization
header for an authentication challenge.
- proxyAuth - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- proxyAuth(HttpAuthentication) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets an authentication strategy for use with an HTTP proxy.
- proxyHost - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- proxyHostAndPort(String, int) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets an HTTP proxy for making connections to LaunchDarkly.
- proxyPort - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- put(String, LDValue) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, boolean) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, int) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, long) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, float) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, double) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, String) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- samplingRatio(long) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Set the samplingRatio, used for event generation, for this flag.
- secureModeHash(LDContext) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- secureModeHash(LDContext) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- secureModeHash(LDContext) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Creates a hash string that can be used by the JavaScript SDK to identify a context.
- secureModeHash(LDContext) - Method in class com.launchdarkly.sdk.server.LDClient
-
- SEGMENTS - Static variable in class com.launchdarkly.sdk.server.DataModel
-
- sendAnalyticsEvents(byte[], int, URI) - Method in interface com.launchdarkly.sdk.server.subsystems.EventSender
-
Attempt to deliver an analytics event data payload.
- sendDiagnosticEvent(byte[], URI) - Method in interface com.launchdarkly.sdk.server.subsystems.EventSender
-
Attempt to deliver a diagnostic event data payload.
- sendEvents() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configuration builder for analytics event delivery.
- Serial(MigrationSerialOrder) - Static method in class com.launchdarkly.sdk.server.migrations.MigrationExecution
-
Construct a serial execution with the specified ordering.
- SerializationException - Exception in com.launchdarkly.sdk.json
-
General exception class for all errors in serializing or deserializing JSON.
- SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
-
Creates an instance.
- SerializationException(String) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
-
Creates an instance.
- SerializationException - Exception in com.launchdarkly.sdk.server.subsystems
-
General exception class for all errors in serializing or deserializing JSON.
- SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.server.subsystems.SerializationException
-
Creates an instance.
- serialize(T) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Converts an object to its JSON representation.
- serialize(DataStoreTypes.ItemDescriptor) - Method in class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.DataKind
-
Returns a serialized representation of an item of this kind.
- SerializedItemDescriptor(int, boolean, String) - Constructor for class com.launchdarkly.sdk.server.subsystems.DataStoreTypes.SerializedItemDescriptor
-
Constructs a new instance.
- serviceEndpoints() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a builder for configuring custom service URIs.
- ServiceEndpoints - Class in com.launchdarkly.sdk.server.interfaces
-
Specifies the base service URIs used by SDK components.
- ServiceEndpoints(URI, URI, URI) - Constructor for class com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
Used internally by the SDK to store service endpoints.
- serviceEndpoints(ServiceEndpointsBuilder) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Sets the base service URIs used by SDK components.
- ServiceEndpointsBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the SDK's service URIs.
- ServiceEndpointsBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- set(String, LDValue) - Method in class com.launchdarkly.sdk.ContextBuilder
-
Sets the value of any attribute for the context.
- set(String, boolean) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, int) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, double) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- set(String, String) - Method in class com.launchdarkly.sdk.ContextBuilder
-
- setHooks(List<Hook>) - Method in class com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder
-
Adds the provided list of hooks to the configuration.
- size() - Method in class com.launchdarkly.sdk.LDValue
-
Returns the number of elements in an array or object.
- socketFactory - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- socketFactory(SocketFactory) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom socket configuration for HTTP connections to LaunchDarkly.
- socketTimeout - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- socketTimeout(Duration) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Sets the socket timeout.
- sslSocketFactory - Variable in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.launchdarkly.sdk.server.integrations.HttpConfigurationBuilder
-
Specifies a custom security configuration for HTTPS connections to LaunchDarkly.
- staleAfter(Duration) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
Sets the maximum length of time between updates of the Big Segments data before the data is
considered out of date.
- staleValuesPolicy - Variable in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
- staleValuesPolicy(PersistentDataStoreBuilder.StaleValuesPolicy) - Method in class com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder
-
Specifies how the cache (if any) should deal with old values when the cache TTL expires.
- start() - Method in interface com.launchdarkly.sdk.server.subsystems.DataSource
-
Starts the client.
- startWait(Duration) - Method in class com.launchdarkly.sdk.server.LDConfig.Builder
-
Set how long the constructor will block awaiting a successful connection to LaunchDarkly.
- Status(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.BigSegmentStoreStatusProvider.Status
-
Constructor for a Big Segment status.
- Status(DataSourceStatusProvider.State, Instant, DataSourceStatusProvider.ErrorInfo) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.Status
-
Constructs a new instance.
- Status(boolean, boolean) - Constructor for class com.launchdarkly.sdk.server.interfaces.DataStoreStatusProvider.Status
-
Creates an instance.
- statusPollInterval(Duration) - Method in class com.launchdarkly.sdk.server.integrations.BigSegmentsConfigurationBuilder
-
Sets the interval at which the SDK will poll the Big Segment store to make sure it is available
and to determine how long ago it was updated.
- StoreMetadata(long) - Constructor for class com.launchdarkly.sdk.server.subsystems.BigSegmentStoreTypes.StoreMetadata
-
- streaming(URI) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
Sets a custom base URI for the streaming service.
- streaming(String) - Method in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- streamingBaseUri - Variable in class com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder
-
- streamingDataSource() - Static method in class com.launchdarkly.sdk.server.Components
-
Returns a configurable factory for using streaming mode to get feature flag data.
- StreamingDataSourceBuilder - Class in com.launchdarkly.sdk.server.integrations
-
Contains methods for configuring the streaming data source.
- StreamingDataSourceBuilder() - Constructor for class com.launchdarkly.sdk.server.integrations.StreamingDataSourceBuilder
-
- String - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
- stringValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a String
if it is a string.
- stringVariation(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- stringVariation(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- stringVariation(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the string value of a feature flag for a given context.
- stringVariation(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- stringVariationDetail(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- stringVariationDetail(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- stringVariationDetail(String, LDContext, String) - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
Calculates the string value of a feature flag for a given context, and returns an object
that describes the way the value was determined.
- stringVariationDetail(String, LDContext, String) - Method in class com.launchdarkly.sdk.server.LDClient
-
- Success(U) - Static method in class com.launchdarkly.sdk.server.migrations.MigrationMethodResult
-
Create a successful method result.
- valid(boolean) - Method in class com.launchdarkly.sdk.server.FeatureFlagsState.Builder
-
- valueForAll(LDValue) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified variation value for all users.
- valueMapToJsonElementMap(Map<T, LDValue>) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Convenience method for converting a map of
LDValue
values to a map of Gson
JsonElement
s.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationOp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationOrigin
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.server.subsystems.EventSender.Result
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object.
- values() - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.integrations.FileData.DuplicateKeysHandling
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.integrations.PersistentDataStoreBuilder.StaleValuesPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.ConsistencyCheck
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationOp
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationOrigin
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationExecutionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.migrations.MigrationSerialOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.MigrationStage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.server.subsystems.EventSender.Result
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesAs(LDValue.Converter<T>) - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object, converting them to a specific type.
- valueToJsonElement(LDValue) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Returns a Gson
JsonElement
that is equivalent to the specified
LDValue
.
- variationForAll(boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified boolean variation for all contexts.
- variationForAll(int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to always return the specified variation for all contexts.
- variationForKey(ContextKind, String, boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific context, identified
by context kind and key, when targeting is on.
- variationForKey(ContextKind, String, int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific context, identified
by context kind and key, when targeting is on.
- variationForUser(String, boolean) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified boolean variation for a specific user key (that is,
for a context with that key whose context kind is "user") when targeting is on.
- variationForUser(String, int) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Sets the flag to return the specified variation for a specific user key (that is,
for a context with that key whose context kind is "user") when targeting is on.
- variations(LDValue...) - Method in class com.launchdarkly.sdk.server.integrations.TestData.FlagBuilder
-
Changes the allowable variation values for the flag.
- version() - Method in class com.launchdarkly.sdk.server.integrations.reactor.LDReactorClient
-
- version() - Method in interface com.launchdarkly.sdk.server.integrations.reactor.LDReactorClientInterface
-
- version() - Method in interface com.launchdarkly.sdk.server.interfaces.LDClientInterface
-
The current version string of the SDK.
- version() - Method in class com.launchdarkly.sdk.server.LDClient
-
Returns the current version string of the client library.