public class LimitData extends Toxic
| Constructor and Description |
|---|
LimitData(HttpClient httpClient,
String path,
com.google.gson.JsonObject json) |
LimitData(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long bytes) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gson.JsonObject |
getAttributes() |
long |
getBytes() |
protected ToxicType |
getType() |
protected void |
setAttributes(com.google.gson.JsonObject attributes) |
LimitData |
setBytes(long bytes) |
createToxic, getName, getStream, getToxicity, postAttribute, remove, setToxicitypublic LimitData(HttpClient httpClient, String toxicListPath, String name, ToxicDirection stream, long bytes) throws IOException
IOExceptionpublic LimitData(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 getBytes()
public LimitData setBytes(long bytes) throws IOException
IOExceptionCopyright © 2018. All rights reserved.