public final class HystrixPropertiesManager
extends java.lang.Object
ConfigurationManager.| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
getPropertiesAsMap(HystrixCollapser hystrixCollapser) |
static java.util.Map<java.lang.String,java.lang.Object> |
getPropertiesAsMap(HystrixCommand hystrixCommand) |
static void |
initializeThreadPoolProperties(HystrixCommand hystrixCommand) |
static void |
setCollapserProperties(HystrixProperty[] collapserProperties,
java.lang.String collapserKey)
Sets Hystrix collapser properties.
|
static void |
setCollapserProperties(java.util.Map<java.lang.String,java.lang.Object> collapserProperties,
java.lang.String collapserKey)
Sets Hystrix collapser properties.
|
static void |
setCommandProperties(java.util.Map<java.lang.String,java.lang.Object> commandProperties,
java.lang.String commandKey)
Sets Hystrix command properties.
|
static java.util.Map<java.lang.String,java.lang.Object> |
toMap(HystrixProperty[] properties) |
public static void setCommandProperties(java.util.Map<java.lang.String,java.lang.Object> commandProperties,
java.lang.String commandKey)
commandProperties - the command propertiescommandKey - the command keypublic static void setCollapserProperties(java.util.Map<java.lang.String,java.lang.Object> collapserProperties,
java.lang.String collapserKey)
collapserProperties - the collapser propertiescollapserKey - the collapser keypublic static void setCollapserProperties(HystrixProperty[] collapserProperties, java.lang.String collapserKey)
collapserProperties - the collapser propertiescollapserKey - the collapser keypublic static java.util.Map<java.lang.String,java.lang.Object> getPropertiesAsMap(HystrixCommand hystrixCommand)
public static java.util.Map<java.lang.String,java.lang.Object> getPropertiesAsMap(HystrixCollapser hystrixCollapser)
public static java.util.Map<java.lang.String,java.lang.Object> toMap(HystrixProperty[] properties)
public static void initializeThreadPoolProperties(HystrixCommand hystrixCommand)