Class ThrottleException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ThrottleException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ThrottleException​(java.lang.String throttleName, long threshold, java.util.concurrent.TimeUnit timeUnit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getThreshold()  
      java.lang.String getThrottleName()  
      java.util.concurrent.TimeUnit getTimeUnit()  
      void setThreshold​(long threshold)  
      void setThrottleName​(java.lang.String throttleName)  
      void setTimeUnit​(java.util.concurrent.TimeUnit timeUnit)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThrottleException

        public ThrottleException​(java.lang.String throttleName,
                                 long threshold,
                                 java.util.concurrent.TimeUnit timeUnit)
    • Method Detail

      • getThrottleName

        public java.lang.String getThrottleName()
      • setThrottleName

        public void setThrottleName​(java.lang.String throttleName)
      • getThreshold

        public long getThreshold()
      • setThreshold

        public void setThreshold​(long threshold)
      • getTimeUnit

        public java.util.concurrent.TimeUnit getTimeUnit()
      • setTimeUnit

        public void setTimeUnit​(java.util.concurrent.TimeUnit timeUnit)