public class Options extends Object
| Constructor and Description |
|---|
Options()
Creates a default options
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getMaxQueueSize() |
int |
getTimeout() |
Options |
setHost(String host)
Sets the REST API endpoint
|
Options |
setMaxQueueSize(int maxQueueSize)
Sets the maximum queue capacity, which is an emergency pressure relief
valve.
|
Options |
setTimeout(int timeout)
Sets the milliseconds to wait before a flush is marked as timed out.
|
public String getHost()
public int getMaxQueueSize()
public int getTimeout()
public Options setMaxQueueSize(int maxQueueSize)
maxQueueSize - public Options setTimeout(int timeout)
timeout - timeout in milliseconds.Copyright © 2014. All Rights Reserved.