public class Slicer extends Object
| Constructor and Description |
|---|
Slicer(HttpClient httpClient,
String path,
com.google.gson.JsonElement json) |
| Modifier and Type | Method and Description |
|---|---|
Slicer |
disable() |
Slicer |
enable() |
long |
getAverageSize() |
long |
getDelay() |
long |
getSizeVariation() |
boolean |
isEnabled() |
Slicer |
setAverageSize(long averageSize) |
Slicer |
setDelay(long delay) |
Slicer |
setSizeVariation(long sizeVariation) |
public Slicer(HttpClient httpClient, String path, com.google.gson.JsonElement json)
public boolean isEnabled()
public long getAverageSize()
public long getSizeVariation()
public long getDelay()
public Slicer enable() throws IOException
IOExceptionpublic Slicer disable() throws IOException
IOExceptionpublic Slicer setAverageSize(long averageSize) throws IOException
IOExceptionpublic Slicer setSizeVariation(long sizeVariation) throws IOException
IOExceptionpublic Slicer setDelay(long delay) throws IOException
IOExceptionCopyright © 2016. All rights reserved.