Class BigSegmentsConfigurationBuilder
Inheritance
BigSegmentsConfigurationBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class BigSegmentsConfigurationBuilder : IComponentConfigurer<BigSegmentsConfiguration>
Fields
DefaultContextCacheSize
Declaration
public const int DefaultContextCacheSize = 1000
Field Value
DefaultContextCacheTime
Declaration
public static readonly TimeSpan DefaultContextCacheTime
Field Value
DefaultStaleAfter
Declaration
public static readonly TimeSpan DefaultStaleAfter
Field Value
DefaultStatusPollInterval
Declaration
public static readonly TimeSpan DefaultStatusPollInterval
Field Value
Methods
Build(LdClientContext)
Declaration
public BigSegmentsConfiguration Build(LdClientContext context)
Parameters
Returns
ContextCacheSize(int)
Declaration
public BigSegmentsConfigurationBuilder ContextCacheSize(int contextCacheSize)
Parameters
Type |
Name |
Description |
int |
contextCacheSize |
|
Returns
ContextCacheTime(TimeSpan)
Declaration
public BigSegmentsConfigurationBuilder ContextCacheTime(TimeSpan contextCacheTime)
Parameters
Type |
Name |
Description |
TimeSpan |
contextCacheTime |
|
Returns
StaleAfter(TimeSpan)
Declaration
public BigSegmentsConfigurationBuilder StaleAfter(TimeSpan staleAfter)
Parameters
Type |
Name |
Description |
TimeSpan |
staleAfter |
|
Returns
StatusPollInterval(TimeSpan)
Declaration
public BigSegmentsConfigurationBuilder StatusPollInterval(TimeSpan statusPollInterval)
Parameters
Type |
Name |
Description |
TimeSpan |
statusPollInterval |
|
Returns
Implements