|
C++ Server-Side SDK
LaunchDarkly SDK
|
#include <big_segment_store_status.hpp>

Public Member Functions | |
| virtual BigSegmentStoreStatus | Status () const =0 |
| virtual std::unique_ptr< IConnection > | OnBigSegmentStoreStatusChange (std::function< void(BigSegmentStoreStatus status)> handler)=0 |
| IBigSegmentStoreStatusProvider (IBigSegmentStoreStatusProvider const &)=delete | |
| IBigSegmentStoreStatusProvider (IBigSegmentStoreStatusProvider &&)=delete | |
| IBigSegmentStoreStatusProvider & | operator= (IBigSegmentStoreStatusProvider const &)=delete |
| IBigSegmentStoreStatusProvider & | operator= (IBigSegmentStoreStatusProvider &&)=delete |
Interface for accessing and listening to the Big Segments store status.
|
pure virtual |
Listen to changes to the Big Segments store status. The handler is invoked only when the status changes, not on every metadata poll.
| handler | Function which will be called with the new status. |
|
pure virtual |
The current status of the Big Segments store. If no store is configured, reports unavailable and not stale.
Implemented in launchdarkly::server_side::data_components::BigSegmentStoreStatusProvider.