Class DelayPacketsCommandAction


Action adds latency to communication on a random regionserver.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • delay

      private final long delay
    • duration

      private final long duration
  • Constructor Details

    • DelayPacketsCommandAction

      public DelayPacketsCommandAction(long delay, long duration, long timeout, String network)
      Adds latency to communication on a random region server
      Parameters:
      delay - the latency wil be delay +/-50% in milliseconds
      duration - the time this issue persists in milliseconds
      timeout - the timeout for executing required commands on the region server in milliseconds
      network - network interface the regionserver uses for communication
  • Method Details