Class Slicer

java.lang.Object
eu.rekawek.toxiproxy.model.Toxic
eu.rekawek.toxiproxy.model.toxic.Slicer

public class Slicer extends Toxic
  • Constructor Details

  • Method Details

    • setAttributes

      protected void setAttributes(com.google.gson.JsonObject attributes)
      Specified by:
      setAttributes in class Toxic
    • getAttributes

      protected com.google.gson.JsonObject getAttributes()
      Specified by:
      getAttributes in class Toxic
    • getType

      protected ToxicType getType()
      Specified by:
      getType in class Toxic
    • getAverageSize

      public long getAverageSize()
    • getSizeVariation

      public long getSizeVariation()
    • getDelay

      public long getDelay()
    • setAverageSize

      public Slicer setAverageSize(long averageSize) throws IOException
      Throws:
      IOException
    • setSizeVariation

      public Slicer setSizeVariation(long sizeVariation) throws IOException
      Throws:
      IOException
    • setDelay

      public Slicer setDelay(long delay) throws IOException
      Throws:
      IOException