Class BreakerSettings


  • public class BreakerSettings
    extends java.lang.Object
    Settings for a CircuitBreaker
    • Constructor Summary

      Constructors 
      Constructor Description
      BreakerSettings​(java.lang.String name, long limitBytes, double overhead)  
      BreakerSettings​(java.lang.String name, long limitBytes, double overhead, CircuitBreaker.Type type)  
    • Method Summary

      Modifier and Type Method Description
      long getLimit()  
      java.lang.String getName()  
      double getOverhead()  
      CircuitBreaker.Type getType()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • BreakerSettings

        public BreakerSettings​(java.lang.String name,
                               long limitBytes,
                               double overhead)
      • BreakerSettings

        public BreakerSettings​(java.lang.String name,
                               long limitBytes,
                               double overhead,
                               CircuitBreaker.Type type)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getLimit

        public long getLimit()
      • getOverhead

        public double getOverhead()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object