Package com.launchdarkly.sdk.server.subsystems
Interfaces for implementation of LaunchDarkly SDK components.
Most applications will not need to refer to these types. You will use them if you are creating a
plugin component, such as a database integration. They are also used as interfaces for the built-in
SDK components, so that plugin components can be used interchangeably with those: for instance, the
configuration method LDConfig.Builder.dataStore(ComponentConfigurer)
references DataStore
as an abstraction for the data
store component.
The package also includes concrete types that are used as parameters within these interfaces.
-
Interface Summary Interface Description BigSegmentStore Interface for a read-only data store that allows querying of user membership in Big Segments.BigSegmentStoreTypes.Membership A query interface returned byBigSegmentStore.getMembership(String)
.ComponentConfigurer<T> The common interface for SDK component factories and configuration builders.DataSource Interface for an object that receives updates to feature flags, user segments, and anything else that might come from LaunchDarkly, and passes them to aDataStore
.DataSourceUpdateSink Interface that a data source implementation will use to push data into the SDK.DataStore Interface for a data store that holds feature flags and related data received by the SDK.DataStoreUpdateSink Interface that a data store implementation can use to report information back to the SDK.DiagnosticDescription Optional interface for components to describe their own configuration.EventProcessor Interface for an object that can send or store analytics events.EventSender Interface for a component that can deliver preformatted event data.PersistentDataStore Interface for a data store that holds feature flags and related data in a serialized form. -
Class Summary Class Description BigSegmentStoreTypes Types that are used by theBigSegmentStore
interface.BigSegmentStoreTypes.StoreMetadata Values returned byBigSegmentStore.getMetadata()
.ClientContext Context information provided by theLDClient
when creating components.DataStoreTypes Types that are used by theDataStore
interface.DataStoreTypes.DataKind Represents a separately namespaced collection of storable data items.DataStoreTypes.FullDataSet<TDescriptor> Wrapper for a set of storable items being passed to a data store.DataStoreTypes.ItemDescriptor A versioned item (or placeholder) storable in aDataStore
.DataStoreTypes.KeyedItems<TDescriptor> Wrapper for a set of storable items being passed to a data store, within a singleDataStoreTypes.DataKind
.DataStoreTypes.SerializedItemDescriptor A versioned item (or placeholder) storable in aPersistentDataStore
.HookConfiguration Encapsulates the SDK's 'hooks' configuration.HttpConfiguration Encapsulates top-level HTTP configuration that applies to all SDK components.LoggingConfiguration Encapsulates the SDK's general logging configuration. -
Enum Summary Enum Description EventSender.Result Result type for event sending methods. -
Exception Summary Exception Description SerializationException General exception class for all errors in serializing or deserializing JSON.