public interface BigSegmentStoreStatusProvider
The Big Segment store is the component that receives information about Big Segments, normally from a database populated by the LaunchDarkly Relay Proxy.
Big Segments are a specific type of user segments. For more information, read the LaunchDarkly documentation .
An implementation of this interface is returned by
LDClient.getBigSegmentStoreStatusProvider()
. Application code never needs to implement
this interface.
Modifier and Type | Interface and Description |
---|---|
static class |
BigSegmentStoreStatusProvider.Status
Information about the status of a Big Segment store, provided by
BigSegmentStoreStatusProvider |
static interface |
BigSegmentStoreStatusProvider.StatusListener
Interface for receiving Big Segment status change notifications.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(BigSegmentStoreStatusProvider.StatusListener listener)
Subscribes for notifications of status changes.
|
BigSegmentStoreStatusProvider.Status |
getStatus()
Returns the current status of the store.
|
void |
removeStatusListener(BigSegmentStoreStatusProvider.StatusListener listener)
Unsubscribes from notifications of status changes.
|
BigSegmentStoreStatusProvider.Status getStatus()
void addStatusListener(BigSegmentStoreStatusProvider.StatusListener listener)
listener
- the listener to addvoid removeStatusListener(BigSegmentStoreStatusProvider.StatusListener listener)
listener
- the listener to remove; if no such listener was added, this does nothing