Class PersistentDataStoreBuilder
Inheritance
PersistentDataStoreBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public class PersistentDataStoreBuilder : IComponentConfigurer<IDataStore>, IDiagnosticDescription
Fields
DefaultTtl
Declaration
public static readonly TimeSpan DefaultTtl
Field Value
Methods
Build(LdClientContext)
Declaration
public IDataStore Build(LdClientContext context)
Parameters
Returns
CacheForever()
Declaration
public PersistentDataStoreBuilder CacheForever()
Returns
CacheMaximumEntries(int?)
Declaration
public PersistentDataStoreBuilder CacheMaximumEntries(int? maximumEntries)
Parameters
Type |
Name |
Description |
int? |
maximumEntries |
|
Returns
CacheMillis(int)
Declaration
public PersistentDataStoreBuilder CacheMillis(int millis)
Parameters
Type |
Name |
Description |
int |
millis |
|
Returns
CacheSeconds(int)
Declaration
public PersistentDataStoreBuilder CacheSeconds(int seconds)
Parameters
Type |
Name |
Description |
int |
seconds |
|
Returns
CacheTime(TimeSpan)
Declaration
public PersistentDataStoreBuilder CacheTime(TimeSpan cacheTime)
Parameters
Type |
Name |
Description |
TimeSpan |
cacheTime |
|
Returns
DescribeConfiguration(LdClientContext)
Declaration
public LdValue DescribeConfiguration(LdClientContext context)
Parameters
Returns
NoCaching()
Declaration
public PersistentDataStoreBuilder NoCaching()
Returns
Implements