public static class NetworkDisruption.NetworkUnresponsive extends NetworkDisruption.NetworkLinkDisruptionType
Constructor and Description |
---|
NetworkUnresponsive() |
Modifier and Type | Method and Description |
---|---|
void |
applyDisruption(MockTransportService sourceTransportService,
MockTransportService targetTransportService)
Applies network disruption for requests send from the node represented by the source transport service to the node represented
by the target transport service.
|
java.lang.String |
toString() |
expectedTimeToHeal, removeDisruption
public void applyDisruption(MockTransportService sourceTransportService, MockTransportService targetTransportService)
NetworkDisruption.NetworkLinkDisruptionType
applyDisruption
in class NetworkDisruption.NetworkLinkDisruptionType
sourceTransportService
- source transport service from which requests are senttargetTransportService
- target transport service to which requests are sentpublic java.lang.String toString()
toString
in class java.lang.Object