Class ToxicList
java.lang.Object
eu.rekawek.toxiproxy.model.ToxicList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbandwidth(String name, ToxicDirection direction, long rate) <T extends Toxic>
TgetAll()latency(String name, ToxicDirection direction, long latency) limitData(String name, ToxicDirection direction, long bytes) resetPeer(String name, ToxicDirection direction, long timeout) slicer(String name, ToxicDirection direction, long averageSize, long delay) slowClose(String name, ToxicDirection direction, long delay) timeout(String name, ToxicDirection direction, long timeout)
-
Constructor Details
-
ToxicList
-
-
Method Details
-
getAll
- Throws:
IOException
-
get
- Throws:
IOException
-
get
- Throws:
IOException
-
bandwidth
- Throws:
IOException
-
latency
- Throws:
IOException
-
slicer
public Slicer slicer(String name, ToxicDirection direction, long averageSize, long delay) throws IOException - Throws:
IOException
-
slowClose
- Throws:
IOException
-
timeout
- Throws:
IOException
-
limitData
- Throws:
IOException
-
resetPeer
- Throws:
IOException
-