| Package | Description |
|---|---|
| eu.rekawek.toxiproxy.model | |
| eu.rekawek.toxiproxy.model.toxic |
| Modifier and Type | Method and Description |
|---|---|
ToxicDirection |
Toxic.getStream() |
static ToxicDirection |
ToxicDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToxicDirection[] |
ToxicDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Bandwidth |
ToxicList.bandwidth(String name,
ToxicDirection direction,
long rate) |
Latency |
ToxicList.latency(String name,
ToxicDirection direction,
long latency) |
LimitData |
ToxicList.limitData(String name,
ToxicDirection direction,
long bytes) |
Slicer |
ToxicList.slicer(String name,
ToxicDirection direction,
long averageSize,
long delay) |
SlowClose |
ToxicList.slowClose(String name,
ToxicDirection direction,
long delay) |
Timeout |
ToxicList.timeout(String name,
ToxicDirection direction,
long timeout) |
| Constructor and Description |
|---|
Toxic(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream) |
| Constructor and Description |
|---|
Bandwidth(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long rate) |
Latency(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long latency) |
LimitData(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long bytes) |
Slicer(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long averageSize,
long delay) |
SlowClose(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long delay) |
Timeout(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long timeout) |
Copyright © 2018. All rights reserved.