public class Latency extends Object
| Constructor and Description |
|---|
Latency(HttpClient httpClient,
String path,
com.google.gson.JsonElement json) |
| Modifier and Type | Method and Description |
|---|---|
Latency |
disable() |
Latency |
enable() |
long |
getJitter() |
long |
getLatency() |
boolean |
isEnabled() |
Latency |
setJitter(long jitter) |
Latency |
setLatency(long latency) |
public Latency(HttpClient httpClient, String path, com.google.gson.JsonElement json)
public boolean isEnabled()
public long getLatency()
public long getJitter()
public Latency enable() throws IOException
IOExceptionpublic Latency disable() throws IOException
IOExceptionpublic Latency setLatency(long latency) throws IOException
IOExceptionpublic Latency setJitter(long jitter) throws IOException
IOExceptionCopyright © 2016. All rights reserved.