Uses of Interface
io.unlaunch.UnlaunchClientBuilder
| Package | Description |
|---|---|
| io.unlaunch |
-
Uses of UnlaunchClientBuilder in io.unlaunch
Methods in io.unlaunch that return UnlaunchClientBuilder Modifier and Type Method Description static UnlaunchClientBuilderUnlaunchClient. builder()Create a builder that can be used to customize and create aUnlaunchClient.UnlaunchClientBuilderUnlaunchClientBuilder. connectionTimeout(long timeout, java.util.concurrent.TimeUnit unit)Sets the default connect timeout for HTTP connections.UnlaunchClientBuilderUnlaunchClientBuilder. enableLazyLoading()UnlaunchClientBuilderUnlaunchClientBuilder. eventsFlushInterval(long interval, java.util.concurrent.TimeUnit unit)This controls how frequently tracking events are sent to the server.UnlaunchClientBuilderUnlaunchClientBuilder. eventsQueueSize(int maxQueueSize)The maximum number of events to keep in memory.UnlaunchClientBuilderUnlaunchClientBuilder. host(java.lang.String host)Unlaunch server to connect to for downloading feature flags, submitting events, etc.UnlaunchClientBuilderUnlaunchClientBuilder. metricsFlushInterval(long interval, java.util.concurrent.TimeUnit unit)The SDK periodically sends events like metrics and diagnostics data to our servers.UnlaunchClientBuilderUnlaunchClientBuilder. metricsQueueSize(int maxQueueSize)The maximum number of metrics (impressions) to keep in memory.UnlaunchClientBuilderUnlaunchClientBuilder. offlineMode()This is intended for testing purposes.UnlaunchClientBuilderUnlaunchClientBuilder. offlineModeWithLocalFeatures(java.lang.String yamlFeaturesFilePath)This is intended for testing, including unit testing.UnlaunchClientBuilderUnlaunchClientBuilder. pollingInterval(long interval, java.util.concurrent.TimeUnit unit)This is for controlling how often the SDK download flags from the servers if the data has changed.UnlaunchClientBuilderUnlaunchClientBuilder. readTimeout(long timeout, java.util.concurrent.TimeUnit unit)Sets the default read timeout for HTTP connections.UnlaunchClientBuilderUnlaunchClientBuilder. sdkKey(java.lang.String sdkKey)