public class ClusterFlowConfig extends Object
| Constructor and Description |
|---|
ClusterFlowConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getAcquireRefuseStrategy() |
long |
getClientOfflineTime() |
Long |
getFlowId() |
long |
getResourceTimeout() |
int |
getResourceTimeoutStrategy() |
int |
getSampleCount() |
int |
getStrategy() |
int |
getThresholdType() |
int |
getWindowIntervalMs() |
int |
hashCode() |
boolean |
isFallbackToLocalWhenFail() |
void |
setAcquireRefuseStrategy(int acquireRefuseStrategy) |
void |
setClientOfflineTime(long clientOfflineTime) |
ClusterFlowConfig |
setFallbackToLocalWhenFail(boolean fallbackToLocalWhenFail) |
ClusterFlowConfig |
setFlowId(Long flowId) |
void |
setResourceTimeout(long resourceTimeout) |
void |
setResourceTimeoutStrategy(int resourceTimeoutStrategy) |
ClusterFlowConfig |
setSampleCount(int sampleCount) |
ClusterFlowConfig |
setStrategy(int strategy) |
ClusterFlowConfig |
setThresholdType(int thresholdType) |
ClusterFlowConfig |
setWindowIntervalMs(int windowIntervalMs) |
String |
toString() |
public long getResourceTimeout()
public void setResourceTimeout(long resourceTimeout)
public int getResourceTimeoutStrategy()
public void setResourceTimeoutStrategy(int resourceTimeoutStrategy)
public int getAcquireRefuseStrategy()
public void setAcquireRefuseStrategy(int acquireRefuseStrategy)
public long getClientOfflineTime()
public void setClientOfflineTime(long clientOfflineTime)
public Long getFlowId()
public ClusterFlowConfig setFlowId(Long flowId)
public int getThresholdType()
public ClusterFlowConfig setThresholdType(int thresholdType)
public int getStrategy()
public ClusterFlowConfig setStrategy(int strategy)
public boolean isFallbackToLocalWhenFail()
public ClusterFlowConfig setFallbackToLocalWhenFail(boolean fallbackToLocalWhenFail)
public int getSampleCount()
public ClusterFlowConfig setSampleCount(int sampleCount)
public int getWindowIntervalMs()
public ClusterFlowConfig setWindowIntervalMs(int windowIntervalMs)
Copyright © 2021 Alibaba Group. All rights reserved.