public final class BigSegmentsConfiguration
extends java.lang.Object
Big Segments are a specific type of user segments. For more information, read the LaunchDarkly documentation .
See BigSegmentsConfigurationBuilder
for more details on these properties.
BigSegmentsConfigurationBuilder
Constructor and Description |
---|
BigSegmentsConfiguration(BigSegmentStore bigSegmentStore,
int userCacheSize,
java.time.Duration userCacheTime,
java.time.Duration statusPollInterval,
java.time.Duration staleAfter)
Creates a new
BigSegmentsConfiguration instance with the specified values. |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getStaleAfter()
Gets the value set by
BigSegmentsConfigurationBuilder.staleAfter(Duration) |
java.time.Duration |
getStatusPollInterval()
Gets the value set by
BigSegmentsConfigurationBuilder.statusPollInterval(Duration) |
BigSegmentStore |
getStore()
Gets the data store instance that is used for Big Segments data.
|
int |
getUserCacheSize()
Gets the value set by
BigSegmentsConfigurationBuilder.userCacheSize(int) |
java.time.Duration |
getUserCacheTime()
Gets the value set by
BigSegmentsConfigurationBuilder.userCacheTime(Duration) |
public BigSegmentsConfiguration(BigSegmentStore bigSegmentStore, int userCacheSize, java.time.Duration userCacheTime, java.time.Duration statusPollInterval, java.time.Duration staleAfter)
BigSegmentsConfiguration
instance with the specified values.
See BigSegmentsConfigurationBuilder
for more information on the configuration fields.
bigSegmentStore
- the Big Segments store instanceuserCacheSize
- the user cache sizeuserCacheTime
- the user cache timestatusPollInterval
- the status poll intervalstaleAfter
- the interval after which store data is considered stalepublic BigSegmentStore getStore()
public int getUserCacheSize()
BigSegmentsConfigurationBuilder.userCacheSize(int)
public java.time.Duration getUserCacheTime()
BigSegmentsConfigurationBuilder.userCacheTime(Duration)
public java.time.Duration getStatusPollInterval()
BigSegmentsConfigurationBuilder.statusPollInterval(Duration)
public java.time.Duration getStaleAfter()
BigSegmentsConfigurationBuilder.staleAfter(Duration)