Struct BigSegmentStoreStatus
Information about the status of a Big Segment store, provided by IBigSegmentStoreStatusProvider.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Interfaces
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public struct BigSegmentStoreStatus
Remarks
"Big Segments" are a specific type of user segments. For more information, read the LaunchDarkly documentation about user segments: https://docs.launchdarkly.com/home/users/segments
Properties
| Edit this page View SourceAvailable
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.
Declaration
public bool Available { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
If this property is false, the store is not able to make queries (for instance, it may not have a valid database connection). In this case, the SDK will treat any reference to a Big Segment as if no users are included in that segment. Also, the EvaluationReason associated with any flag evaluation that references a Big Segment when the store is not available will have a BigSegmentsStatus of StoreError.
Stale
True if the Big Segment store is available, but has not been updated within the amount of time specified by StaleAfter(TimeSpan).
Declaration
public bool Stale { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This may indicate that the LaunchDarkly Relay Proxy, which populates the store, has stopped running or has become unable to receive fresh data from LaunchDarkly. Any feature flag evaluations that reference a Big Segment will be using the last known data, which may be out of date.
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |