public class HystrixHandle
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HystrixHandle.HystrixThreadPoolConfig
hystrix thread pool config.
|
| Constructor and Description |
|---|
HystrixHandle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCallBackUri()
get callBackUri.
|
java.lang.String |
getCommandKey()
get commandKey.
|
int |
getErrorThresholdPercentage()
get errorThresholdPercentage.
|
int |
getExecutionIsolationStrategy()
get executionIsolationStrategy.
|
java.lang.String |
getGroupKey()
get groupKey.
|
HystrixHandle.HystrixThreadPoolConfig |
getHystrixThreadPoolConfig()
get hystrixThreadPoolConfig.
|
int |
getMaxConcurrentRequests()
get maxConcurrentRequests.
|
int |
getRequestVolumeThreshold()
get requestVolumeThreshold.
|
int |
getSleepWindowInMilliseconds()
get sleepWindowInMilliseconds.
|
long |
getTimeout()
get timeout.
|
int |
hashCode() |
static HystrixHandle |
newDefaultInstance()
New instance hystrix handle.
|
void |
setCallBackUri(java.lang.String callBackUri)
set callBackUri.
|
void |
setCommandKey(java.lang.String commandKey)
set commandKey.
|
void |
setErrorThresholdPercentage(int errorThresholdPercentage)
set errorThresholdPercentage.
|
void |
setExecutionIsolationStrategy(int executionIsolationStrategy)
set executionIsolationStrategy.
|
void |
setGroupKey(java.lang.String groupKey)
set groupKey.
|
void |
setHystrixThreadPoolConfig(HystrixHandle.HystrixThreadPoolConfig hystrixThreadPoolConfig)
set hystrixThreadPoolConfig.
|
void |
setMaxConcurrentRequests(int maxConcurrentRequests)
set maxConcurrentRequests.
|
void |
setRequestVolumeThreshold(int requestVolumeThreshold)
set requestVolumeThreshold.
|
void |
setSleepWindowInMilliseconds(int sleepWindowInMilliseconds)
set sleepWindowInMilliseconds.
|
void |
setTimeout(long timeout)
set timeout.
|
java.lang.String |
toString() |
public static HystrixHandle newDefaultInstance()
public java.lang.String getGroupKey()
public void setGroupKey(java.lang.String groupKey)
groupKey - groupKeypublic java.lang.String getCommandKey()
public void setCommandKey(java.lang.String commandKey)
commandKey - commandKeypublic int getMaxConcurrentRequests()
public void setMaxConcurrentRequests(int maxConcurrentRequests)
maxConcurrentRequests - maxConcurrentRequestspublic int getErrorThresholdPercentage()
public void setErrorThresholdPercentage(int errorThresholdPercentage)
errorThresholdPercentage - errorThresholdPercentagepublic int getRequestVolumeThreshold()
public void setRequestVolumeThreshold(int requestVolumeThreshold)
requestVolumeThreshold - requestVolumeThresholdpublic int getSleepWindowInMilliseconds()
public void setSleepWindowInMilliseconds(int sleepWindowInMilliseconds)
sleepWindowInMilliseconds - sleepWindowInMillisecondspublic long getTimeout()
public void setTimeout(long timeout)
timeout - timeoutpublic java.lang.String getCallBackUri()
public void setCallBackUri(java.lang.String callBackUri)
callBackUri - callBackUripublic int getExecutionIsolationStrategy()
public void setExecutionIsolationStrategy(int executionIsolationStrategy)
executionIsolationStrategy - executionIsolationStrategypublic HystrixHandle.HystrixThreadPoolConfig getHystrixThreadPoolConfig()
public void setHystrixThreadPoolConfig(HystrixHandle.HystrixThreadPoolConfig hystrixThreadPoolConfig)
hystrixThreadPoolConfig - hystrixThreadPoolConfigpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2024 The Apache Software Foundation. All rights reserved.