public class SlowClose extends Toxic
| Constructor and Description |
|---|
SlowClose(HttpClient httpClient,
String path,
com.google.gson.JsonObject json) |
SlowClose(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long delay) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gson.JsonObject |
getAttributes() |
long |
getDelay() |
protected ToxicType |
getType() |
protected void |
setAttributes(com.google.gson.JsonObject attributes) |
SlowClose |
setDelay(long delay) |
createToxic, getName, getStream, getToxicity, postAttribute, remove, setToxicitypublic SlowClose(HttpClient httpClient, String toxicListPath, String name, ToxicDirection stream, long delay) throws IOException
IOExceptionpublic SlowClose(HttpClient httpClient, String path, com.google.gson.JsonObject json)
protected void setAttributes(com.google.gson.JsonObject attributes)
setAttributes in class Toxicprotected com.google.gson.JsonObject getAttributes()
getAttributes in class Toxicpublic long getDelay()
public SlowClose setDelay(long delay) throws IOException
IOExceptionCopyright © 2018. All rights reserved.