Class JavaRuntimeCircuitBreakerConfig

    • Field Detail

      • DEFAULT_MEMORY_THRESHOLD

        public static final int DEFAULT_MEMORY_THRESHOLD
        See Also:
        Constant Field Values
      • DEFAULT_GC_CPU_THRESHOLD

        public static final int DEFAULT_GC_CPU_THRESHOLD
        See Also:
        Constant Field Values
    • Constructor Detail

      • JavaRuntimeCircuitBreakerConfig

        public JavaRuntimeCircuitBreakerConfig​(int memoryThreshold,
                                               int gcCpuThreshold,
                                               int circuitCheckIntervalInMillis)
      • JavaRuntimeCircuitBreakerConfig

        public JavaRuntimeCircuitBreakerConfig​(int memoryThreshold,
                                               int gcCpuThreshold)
      • JavaRuntimeCircuitBreakerConfig

        public JavaRuntimeCircuitBreakerConfig()
      • JavaRuntimeCircuitBreakerConfig

        public JavaRuntimeCircuitBreakerConfig​(java.lang.Integer memoryThreshold,
                                               java.lang.Integer gcCpuThreshold,
                                               java.lang.Integer circuitCheckIntervalInMillis,
                                               java.lang.Integer timeoutInSeconds)
    • Method Detail

      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getMemoryThreshold

        public java.lang.Integer getMemoryThreshold()
      • setMemoryThreshold

        public void setMemoryThreshold​(java.lang.Integer memoryThreshold)
      • getGcCpuThreshold

        public java.lang.Integer getGcCpuThreshold()
      • setGcCpuThreshold

        public void setGcCpuThreshold​(java.lang.Integer gcCpuThreshold)
      • getCircuitCheckIntervalInMillis

        public java.lang.Integer getCircuitCheckIntervalInMillis()
      • setCircuitCheckIntervalInMillis

        public void setCircuitCheckIntervalInMillis​(java.lang.Integer circuitCheckIntervalInMillis)
      • getTimeoutInSeconds

        public java.lang.Integer getTimeoutInSeconds()
      • setTimeoutInSeconds

        public void setTimeoutInSeconds​(java.lang.Integer timeoutInSeconds)