Package com.launchdarkly.sdk.android
Interface SelectorSource
public interface SelectorSource
Provides the current
Selector for an FDv2 data store.
FDv2 streaming and polling implementations use this to read the selector so they can send it
as the basis query parameter on each request, allowing the server to return an
incremental changeset rather than a full payload.
The selector is stored in memory only and is not persisted across process restarts.
Immediately after startup or a context switch the selector will be Selector.EMPTY.
Analogous to SelectorSource in the java-server SDK (java-core). Kept separate from
the update-sink interface so that selector reads and flag writes remain independent concerns.
-
Method Summary
-
Method Details
-
getSelector
Returns the current selector. Never null; may beSelector.EMPTY.- Returns:
- the current selector
-