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 UnlaunchClientBuilder
UnlaunchClient. builder()
Create a builder that can be used to customize and create aUnlaunchClient
.UnlaunchClientBuilder
UnlaunchClientBuilder. connectionTimeout(long timeout, java.util.concurrent.TimeUnit unit)
Sets the default connect timeout for HTTP connections.UnlaunchClientBuilder
UnlaunchClientBuilder. enableLazyLoading()
UnlaunchClientBuilder
UnlaunchClientBuilder. eventsFlushInterval(long interval, java.util.concurrent.TimeUnit unit)
This controls how frequently tracking events are sent to the server.UnlaunchClientBuilder
UnlaunchClientBuilder. eventsQueueSize(int maxQueueSize)
The maximum number of events to keep in memory.UnlaunchClientBuilder
UnlaunchClientBuilder. host(java.lang.String host)
Unlaunch server to connect to for downloading feature flags, submitting events, etc.UnlaunchClientBuilder
UnlaunchClientBuilder. metricsFlushInterval(long interval, java.util.concurrent.TimeUnit unit)
The SDK periodically sends events like metrics and diagnostics data to our servers.UnlaunchClientBuilder
UnlaunchClientBuilder. metricsQueueSize(int maxQueueSize)
The maximum number of metrics (impressions) to keep in memory.UnlaunchClientBuilder
UnlaunchClientBuilder. offlineMode()
This is intended for testing purposes.UnlaunchClientBuilder
UnlaunchClientBuilder. offlineModeWithLocalFeatures(java.lang.String yamlFeaturesFilePath)
This is intended for testing, including unit testing.UnlaunchClientBuilder
UnlaunchClientBuilder. 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.UnlaunchClientBuilder
UnlaunchClientBuilder. readTimeout(long timeout, java.util.concurrent.TimeUnit unit)
Sets the default read timeout for HTTP connections.UnlaunchClientBuilder
UnlaunchClientBuilder. sdkKey(java.lang.String sdkKey)