Class FDv1FallbackSynchronizerEntry
java.lang.Object
com.launchdarkly.sdk.android.integrations.FDv1FallbackSynchronizerEntry
Entry for the FDv1 fallback synchronizer of a connection mode.
The SDK switches a mode to this FDv1 polling synchronizer when LaunchDarkly directs it
to fall back to FDv1. It is not one of the mode's synchronizers; set it with
ConnectionModeBuilder.fdv1FallbackSynchronizer(FDv1FallbackSynchronizerEntry).
Early access; not stable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintpollIntervalMillis(int pollIntervalMillis) Sets the poll interval of the FDv1 fallback synchronizer.serviceEndpointsOverride(ServiceEndpointsBuilder serviceEndpointsBuilder) Overrides service endpoints for the FDv1 fallback synchronizer using a builder.serviceEndpointsOverride(ServiceEndpoints endpoints) Overrides service endpoints for the FDv1 fallback synchronizer, ornullto use the SDK's polling endpoint.
-
Constructor Details
-
FDv1FallbackSynchronizerEntry
public FDv1FallbackSynchronizerEntry()
-
-
Method Details
-
pollIntervalMillis
Sets the poll interval of the FDv1 fallback synchronizer. The default and the minimum areLDConfig.DEFAULT_POLL_INTERVAL_MILLIS.- Parameters:
pollIntervalMillis- the poll interval in milliseconds- Returns:
- this entry
-
serviceEndpointsOverride
Overrides service endpoints for the FDv1 fallback synchronizer, ornullto use the SDK's polling endpoint.- Parameters:
endpoints- the service endpoints, or null- Returns:
- this entry
-
serviceEndpointsOverride
public FDv1FallbackSynchronizerEntry serviceEndpointsOverride(ServiceEndpointsBuilder serviceEndpointsBuilder) Overrides service endpoints for the FDv1 fallback synchronizer using a builder.- Parameters:
serviceEndpointsBuilder- the service endpoints builder- Returns:
- this entry
-
getPollIntervalMillis
public int getPollIntervalMillis() -
getServiceEndpointsOverride
-