Struct DataStoreStatus
Information about a data store status change.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Interfaces
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public struct DataStoreStatus
Properties
| Edit this page View SourceAvailable
True if the SDK believes the data store is now available.
Declaration
public bool Available { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This property is normally true. If the SDK receives an exception while trying to query or update the data store, then it sets this property to false (notifying listeners, if any) and polls the store at intervals until a query succeeds. Once it succeeds, it sets the property back to true (again notifying listeners).
RefreshNeeded
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.
Declaration
public bool RefreshNeeded { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This property is not meaningful to application code. It is used internally.
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |