Class NetworkDisruption.NetworkDelay

java.lang.Object
org.elasticsearch.test.disruption.NetworkDisruption.NetworkLinkDisruptionType
org.elasticsearch.test.disruption.NetworkDisruption.NetworkDelay
Enclosing class:
NetworkDisruption

public static class NetworkDisruption.NetworkDelay extends NetworkDisruption.NetworkLinkDisruptionType
Simulates slow or congested network. Delivery of requests that are sent from source to target node are delayed by a configurable time amount.
  • Field Details

    • DEFAULT_DELAY_MIN

      public static org.elasticsearch.core.TimeValue DEFAULT_DELAY_MIN
    • DEFAULT_DELAY_MAX

      public static org.elasticsearch.core.TimeValue DEFAULT_DELAY_MAX
  • Constructor Details

    • NetworkDelay

      public NetworkDelay(org.elasticsearch.core.TimeValue delay)
      Delays requests by a fixed time value.
      Parameters:
      delay - time to delay requests
  • Method Details