Interface NetworkTestOperations
-
- All Known Implementing Classes:
DefaultNetworkTestOperations
public interface NetworkTestOperations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNetworkLatencyForResponses(Duration delay)
void
removeNetworkLatencyForResponses()
void
withNetworkLatency(Duration delay, ThrowingRunnable runnable)
<T> T
withNetworkLatency(Duration delay, Callable<T> callable)
-
-
-
Method Detail
-
addNetworkLatencyForResponses
void addNetworkLatencyForResponses(Duration delay)
-
removeNetworkLatencyForResponses
void removeNetworkLatencyForResponses()
-
withNetworkLatency
void withNetworkLatency(Duration delay, ThrowingRunnable runnable)
-
-