Class SlowClose


  • public class SlowClose
    extends Toxic
    • Field Detail

      • delay

        private long delay
    • Constructor Detail

      • SlowClose

        public SlowClose​(HttpClient httpClient,
                         java.lang.String toxicListPath,
                         java.lang.String name,
                         ToxicDirection stream,
                         long delay)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • SlowClose

        public SlowClose​(HttpClient httpClient,
                         java.lang.String path,
                         com.google.gson.JsonObject json)
    • Method Detail

      • 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
      • getDelay

        public long getDelay()
      • setDelay

        public SlowClose setDelay​(long delay)
                           throws java.io.IOException
        Throws:
        java.io.IOException