Class BigSegmentsConfiguration
Encapsulates the SDK's configuration with regard to Big Segments.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Subsystems
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class BigSegmentsConfiguration
Remarks
"Big Segments" are a specific type of segments. For more information, read the LaunchDarkly documentation about user segments: https://docs.launchdarkly.com/home/users/segments
See BigSegmentsConfigurationBuilder for more details on these properties.
Constructors
| Edit this page View SourceBigSegmentsConfiguration(IBigSegmentStore, int, TimeSpan, TimeSpan, TimeSpan)
Constructs a new instance.
Declaration
public BigSegmentsConfiguration(IBigSegmentStore store, int contextCacheSize, TimeSpan contextCacheTime, TimeSpan statusPollInterval, TimeSpan staleAfter)
Parameters
Type | Name | Description |
---|---|---|
IBigSegmentStore | store | value for Store |
int | contextCacheSize | value for ContextCacheSize |
TimeSpan | contextCacheTime | value for ContextCacheTime |
TimeSpan | statusPollInterval | value for StatusPollInterval |
TimeSpan | staleAfter | value for StaleAfter |
Properties
| Edit this page View SourceContextCacheSize
The value set by ContextCacheSize(int).
Declaration
public int ContextCacheSize { get; }
Property Value
Type | Description |
---|---|
int |
ContextCacheTime
The value set by ContextCacheTime(TimeSpan).
Declaration
public TimeSpan ContextCacheTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
StaleAfter
The value set by StaleAfter(TimeSpan).
Declaration
public TimeSpan StaleAfter { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
StatusPollInterval
The value set by StatusPollInterval(TimeSpan).
Declaration
public TimeSpan StatusPollInterval { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Store
The data store instance that is used for Big Segments data.
Declaration
public IBigSegmentStore Store { get; }
Property Value
Type | Description |
---|---|
IBigSegmentStore |