| Package | Description |
|---|---|
| com.github.segmentio |
| Modifier and Type | Method and Description |
|---|---|
Config |
AnalyticsClient.getOptions() |
Config |
Config.setBackoff(int backoff)
Sets the milliseconds to wait between request retries
|
Config |
Config.setHost(String host)
Sets the REST API endpoint
|
Config |
Config.setMaxQueueSize(int maxQueueSize)
Sets the maximum queue capacity, which is an emergency pressure relief
valve.
|
Config |
Config.setProxy(org.apache.http.HttpHost proxy)
Sets a proxy to route all requests to the host through.
|
Config |
Config.setRetries(int retries)
Sets the amount of request retries.
|
Config |
Config.setTimeout(int timeout)
Sets the milliseconds to wait before a flush is marked as timed out.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Analytics.initialize(String writeKey,
Config options)
Creates a new Segment.io client.
|
| Constructor and Description |
|---|
AnalyticsClient(String writeKey,
Config config)
Creates a new Segment.io client.
|
Copyright © 2015. All Rights Reserved.