|
C++ Server-Side SDK
LaunchDarkly SDK
|
#include <big_segment_store_status.hpp>
Public Member Functions | |
| BigSegmentStoreStatus (bool available, bool stale) | |
| bool | IsAvailable () const |
| bool | IsStale () const |
The current health of a Big Segments store, independent of any single context's membership.
| 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.
| 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.