Module: LaunchDarkly::Impl::DataStore Private

Defined in:
lib/ldclient-rb/impl/data_store.rb,
lib/ldclient-rb/impl/data_store/data_kind.rb,
lib/ldclient-rb/impl/data_store/feature_store_client_wrapper.rb,
lib/ldclient-rb/impl/data_store/in_memory_feature_store.rb,
lib/ldclient-rb/impl/data_store/status_provider.rb,
lib/ldclient-rb/impl/data_store/store.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 5.5.0

Defined Under Namespace

Classes: DataKind, FeatureStoreClientWrapperV2, InMemoryFeatureStoreV2, StatusProvider, StatusProviderV2, Store, UpdateSink

Constant Summary collapse

FEATURES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

These constants denote the types of data that can be stored in the feature store. If we add another storable data type in the future, as long as it follows the same pattern (having "key", "version", and "deleted" properties), we only need to add a corresponding constant here and the existing store should be able to handle it.

The :priority and :get_dependency_keys properties are used by FeatureStoreDataSetSorter to ensure data consistency during non-atomic updates.

Since:

  • 5.5.0

DataKind.new(namespace: "features", priority: 1).freeze
SEGMENTS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Since:

  • 5.5.0

DataKind.new(namespace: "segments", priority: 0).freeze
ALL_KINDS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Since:

  • 5.5.0

[FEATURES, SEGMENTS].freeze