Package | Description |
---|---|
io.unlaunch |
Modifier and Type | Method | Description |
---|---|---|
static UnlaunchClientBuilder |
UnlaunchClient.builder() |
Create a builder that can be used to customize and create a
UnlaunchClient . |
UnlaunchClientBuilder |
UnlaunchClientBuilder.connectionTimeout(long timeout,
TimeUnit unit) |
Sets the default connect timeout for HTTP connections.
|
UnlaunchClientBuilder |
UnlaunchClientBuilder.enableLazyLoading() |
|
UnlaunchClientBuilder |
UnlaunchClientBuilder.eventsFlushInterval(long interval,
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(String host) |
Unlaunch server to connect to for downloading feature flags, submitting events, etc.
|
UnlaunchClientBuilder |
UnlaunchClientBuilder.metricsFlushInterval(long interval,
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(String yamlFeaturesFilePath) |
This is intended for testing, including unit testing.
|
UnlaunchClientBuilder |
UnlaunchClientBuilder.pollingInterval(long interval,
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,
TimeUnit unit) |
Sets the default read timeout for HTTP connections.
|
UnlaunchClientBuilder |
UnlaunchClientBuilder.sdkKey(String sdkKey) |
Copyright © 2020 CodeAhoy. All rights reserved.