类 ClusterFlowConfig

java.lang.Object
com.alibaba.csp.sentinel.slots.block.flow.ClusterFlowConfig

public class ClusterFlowConfig extends Object
Flow rule config in cluster mode.
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 构造器详细资料

    • ClusterFlowConfig

      public ClusterFlowConfig()
  • 方法详细资料

    • getResourceTimeout

      public long getResourceTimeout()
    • setResourceTimeout

      public void setResourceTimeout(long resourceTimeout)
    • getResourceTimeoutStrategy

      public int getResourceTimeoutStrategy()
    • setResourceTimeoutStrategy

      public void setResourceTimeoutStrategy(int resourceTimeoutStrategy)
    • getAcquireRefuseStrategy

      public int getAcquireRefuseStrategy()
    • setAcquireRefuseStrategy

      public void setAcquireRefuseStrategy(int acquireRefuseStrategy)
    • getClientOfflineTime

      public long getClientOfflineTime()
    • setClientOfflineTime

      public void setClientOfflineTime(long clientOfflineTime)
    • getFlowId

      public Long getFlowId()
    • setFlowId

      public ClusterFlowConfig setFlowId(Long flowId)
    • getThresholdType

      public int getThresholdType()
    • setThresholdType

      public ClusterFlowConfig setThresholdType(int thresholdType)
    • getStrategy

      public int getStrategy()
    • setStrategy

      public ClusterFlowConfig setStrategy(int strategy)
    • isFallbackToLocalWhenFail

      public boolean isFallbackToLocalWhenFail()
    • setFallbackToLocalWhenFail

      public ClusterFlowConfig setFallbackToLocalWhenFail(boolean fallbackToLocalWhenFail)
    • getSampleCount

      public int getSampleCount()
    • setSampleCount

      public ClusterFlowConfig setSampleCount(int sampleCount)
    • getWindowIntervalMs

      public int getWindowIntervalMs()
    • setWindowIntervalMs

      public ClusterFlowConfig setWindowIntervalMs(int windowIntervalMs)
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object