C++ Server-Side SDK
LaunchDarkly SDK
Public Member Functions | List of all members
launchdarkly::server_side::BigSegmentStoreStatus Class Reference

#include <big_segment_store_status.hpp>

Public Member Functions

 BigSegmentStoreStatus (bool available, bool stale)
 
bool IsAvailable () const
 
bool IsStale () const
 

Detailed Description

The current health of a Big Segments store, independent of any single context's membership.

Member Function Documentation

◆ IsAvailable()

bool launchdarkly::server_side::BigSegmentStoreStatus::IsAvailable ( ) const

True if the most recent store query or metadata poll succeeded. If false, Big Segments membership cannot currently be evaluated reliably.

◆ IsStale()

bool launchdarkly::server_side::BigSegmentStoreStatus::IsStale ( ) const

True if the store's data has not been updated within the configured stale-after threshold. The data may still be queried; it is just older than desired.


The documentation for this class was generated from the following files: