public abstract class HystrixPropertiesStrategy
extends java.lang.Object
 See HystrixPlugins or the Hystrix GitHub Wiki for information on configuring plugins: https://github.com/Netflix/Hystrix/wiki/Plugins.
| Constructor and Description | 
|---|
| HystrixPropertiesStrategy() | 
public HystrixCommandProperties getCommandProperties(HystrixCommandKey commandKey, HystrixCommandProperties.Setter builder)
HystrixCommandProperties for HystrixCommand instances with HystrixCommandKey.
 Default Implementation
 Constructs instance of HystrixPropertiesCommandDefault.
commandKey - HystrixCommandKey representing the name or type of HystrixCommandbuilder - HystrixCommandProperties.Setter with default overrides as injected from the HystrixCommand implementation.
            The builder will return NULL for each value if no override was provided.
HystrixCommandPropertiespublic java.lang.String getCommandPropertiesCacheKey(HystrixCommandKey commandKey, HystrixCommandProperties.Setter builder)
HystrixCommandProperties implementations.
 
 Typically this would return HystrixCommandKey.name() but can be done differently if required.
 
 For example, null can be returned which would cause it to not cache and invoke getCommandProperties(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandProperties.Setter) for each HystrixCommand instantiation (not recommended).
 
Default Implementation
 Returns HystrixCommandKey.name()
commandKey - command key used in determining command's cache keybuilder - builder for HystrixCommandProperties used in determining command's cache keyHystrixCommandProperties implementation.public HystrixThreadPoolProperties getThreadPoolProperties(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolProperties.Setter builder)
HystrixThreadPoolProperties for HystrixThreadPool instances with HystrixThreadPoolKey.
 Default Implementation
 Constructs instance of HystrixPropertiesThreadPoolDefault.
threadPoolKey - HystrixThreadPoolKey representing the name or type of HystrixThreadPoolbuilder - HystrixThreadPoolProperties.Setter with default overrides as injected via HystrixCommand to the HystrixThreadPool implementation.
            The builder will return NULL for each value if no override was provided.
HystrixThreadPoolPropertiespublic java.lang.String getThreadPoolPropertiesCacheKey(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolProperties.Setter builder)
HystrixThreadPoolProperties implementations.
 
 Typically this would return HystrixThreadPoolKey.name() but can be done differently if required.
 
 For example, null can be returned which would cause it to not cache and invoke getThreadPoolProperties(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties.Setter) for each HystrixThreadPool instantiation (not recommended).
 
Default Implementation
 Returns HystrixThreadPoolKey.name()
threadPoolKey - thread pool key used in determining thread pool's cache keybuilder - builder for HystrixThreadPoolProperties used in determining thread pool's cache keyHystrixThreadPoolProperties implementation.public HystrixCollapserProperties getCollapserProperties(HystrixCollapserKey collapserKey, HystrixCollapserProperties.Setter builder)
HystrixCollapserProperties for HystrixCollapser instances with HystrixCollapserKey.
 Default Implementation
 Constructs instance of HystrixPropertiesCollapserDefault.
collapserKey - HystrixCollapserKey representing the name or type of HystrixCollapserbuilder - HystrixCollapserProperties.Setter with default overrides as injected to the HystrixCollapser implementation.
            The builder will return NULL for each value if no override was provided.
HystrixCollapserPropertiespublic java.lang.String getCollapserPropertiesCacheKey(HystrixCollapserKey collapserKey, HystrixCollapserProperties.Setter builder)
HystrixCollapserProperties implementations.
 
 Typically this would return HystrixCollapserKey.name() but can be done differently if required.
 
 For example, null can be returned which would cause it to not cache and invoke getCollapserProperties(com.netflix.hystrix.HystrixCollapserKey, com.netflix.hystrix.HystrixCollapserProperties.Setter) for each HystrixCollapser instantiation (not recommended).
 
Default Implementation
 Returns HystrixCollapserKey.name()
collapserKey - collapser key used in determining collapser's cache keybuilder - builder for HystrixCollapserProperties used in determining collapser's cache keyHystrixCollapserProperties implementation.public HystrixTimerThreadPoolProperties getTimerThreadPoolProperties()
HystrixTimerThreadPoolProperties for configuration of the timer thread pool
 that handles timeouts and collapser logic.
 
 Constructs instance of HystrixPropertiesTimerThreadPoolDefault.
HystrixTimerThreadPoolProperties