Class HystrixHandle


  • public class HystrixHandle
    extends java.lang.Object
    this is hystrix handle.
    • Constructor Detail

      • HystrixHandle

        public HystrixHandle()
    • Method Detail

      • getGroupKey

        public java.lang.String getGroupKey()
        get groupKey.
        Returns:
        groupKey
      • setGroupKey

        public void setGroupKey​(java.lang.String groupKey)
        set groupKey.
        Parameters:
        groupKey - groupKey
      • getCommandKey

        public java.lang.String getCommandKey()
        get commandKey.
        Returns:
        commandKey
      • setCommandKey

        public void setCommandKey​(java.lang.String commandKey)
        set commandKey.
        Parameters:
        commandKey - commandKey
      • getMaxConcurrentRequests

        public int getMaxConcurrentRequests()
        get maxConcurrentRequests.
        Returns:
        maxConcurrentRequests
      • setMaxConcurrentRequests

        public void setMaxConcurrentRequests​(int maxConcurrentRequests)
        set maxConcurrentRequests.
        Parameters:
        maxConcurrentRequests - maxConcurrentRequests
      • getErrorThresholdPercentage

        public int getErrorThresholdPercentage()
        get errorThresholdPercentage.
        Returns:
        errorThresholdPercentage
      • setErrorThresholdPercentage

        public void setErrorThresholdPercentage​(int errorThresholdPercentage)
        set errorThresholdPercentage.
        Parameters:
        errorThresholdPercentage - errorThresholdPercentage
      • getRequestVolumeThreshold

        public int getRequestVolumeThreshold()
        get requestVolumeThreshold.
        Returns:
        requestVolumeThreshold
      • setRequestVolumeThreshold

        public void setRequestVolumeThreshold​(int requestVolumeThreshold)
        set requestVolumeThreshold.
        Parameters:
        requestVolumeThreshold - requestVolumeThreshold
      • getSleepWindowInMilliseconds

        public int getSleepWindowInMilliseconds()
        get sleepWindowInMilliseconds.
        Returns:
        sleepWindowInMilliseconds
      • setSleepWindowInMilliseconds

        public void setSleepWindowInMilliseconds​(int sleepWindowInMilliseconds)
        set sleepWindowInMilliseconds.
        Parameters:
        sleepWindowInMilliseconds - sleepWindowInMilliseconds
      • getTimeout

        public long getTimeout()
        get timeout.
        Returns:
        timeout
      • setTimeout

        public void setTimeout​(long timeout)
        set timeout.
        Parameters:
        timeout - timeout
      • getCallBackUri

        public java.lang.String getCallBackUri()
        get callBackUri.
        Returns:
        callBackUri
      • setCallBackUri

        public void setCallBackUri​(java.lang.String callBackUri)
        set callBackUri.
        Parameters:
        callBackUri - callBackUri
      • getExecutionIsolationStrategy

        public int getExecutionIsolationStrategy()
        get executionIsolationStrategy.
        Returns:
        executionIsolationStrategy
      • setExecutionIsolationStrategy

        public void setExecutionIsolationStrategy​(int executionIsolationStrategy)
        set executionIsolationStrategy.
        Parameters:
        executionIsolationStrategy - executionIsolationStrategy
      • setHystrixThreadPoolConfig

        public void setHystrixThreadPoolConfig​(HystrixHandle.HystrixThreadPoolConfig hystrixThreadPoolConfig)
        set hystrixThreadPoolConfig.
        Parameters:
        hystrixThreadPoolConfig - hystrixThreadPoolConfig
      • 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
      • toString

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