public abstract class HystrixMetricsPublisher
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 | 
|---|
| HystrixMetricsPublisher() | 
public HystrixMetricsPublisherCommand getMetricsPublisherForCommand(HystrixCommandKey commandKey, HystrixCommandGroupKey commandGroupKey, HystrixCommandMetrics metrics, HystrixCircuitBreaker circuitBreaker, HystrixCommandProperties properties)
HystrixMetricsPublisherCommand for HystrixCommand instances having key HystrixCommandKey.
 
 This will be invoked once per HystrixCommandKey instance.
 
Default Implementation
 Return instance of HystrixMetricsPublisherCommandDefault
commandKey - HystrixCommandKey representing the name or type of HystrixCommandcommandGroupKey - HystrixCommandGroupKey of HystrixCommandmetrics - HystrixCommandMetrics instance tracking metrics for HystrixCommand instances having the key as defined by HystrixCommandKeycircuitBreaker - HystrixCircuitBreaker instance for HystrixCommand instances having the key as defined by HystrixCommandKeyproperties - HystrixCommandProperties instance for HystrixCommand instances having the key as defined by HystrixCommandKeyHystrixMetricsPublisherCommand that will have its initialize method invoked once.public HystrixMetricsPublisherThreadPool getMetricsPublisherForThreadPool(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, HystrixThreadPoolProperties properties)
HystrixMetricsPublisherThreadPool for HystrixThreadPool instances having key HystrixThreadPoolKey.
 
 This will be invoked once per HystrixThreadPoolKey instance.
 
Default Implementation
 Return instance of HystrixMetricsPublisherThreadPoolDefault
threadPoolKey - HystrixThreadPoolKey representing the name or type of HystrixThreadPoolmetrics - HystrixThreadPoolMetrics instance tracking metrics for the HystrixThreadPool instance having the key as defined by HystrixThreadPoolKeyproperties - HystrixThreadPoolProperties instance for the HystrixThreadPool instance having the key as defined by HystrixThreadPoolKeyHystrixMetricsPublisherThreadPool that will have its initialize method invoked once.public HystrixMetricsPublisherCollapser getMetricsPublisherForCollapser(HystrixCollapserKey collapserKey, HystrixCollapserMetrics metrics, HystrixCollapserProperties properties)
HystrixMetricsPublisherCollapser for HystrixCollapser instances having key HystrixCollapserKey.
 
 This will be invoked once per HystrixCollapserKey instance.
 
Default Implementation
 Return instance of HystrixMetricsPublisherCollapserDefault
collapserKey - HystrixCollapserKey representing the name or type of HystrixCollapsermetrics - HystrixCollapserMetrics instance tracking metrics for the HystrixCollapser instance having the key as defined by HystrixCollapserKeyproperties - HystrixCollapserProperties instance for the HystrixCollapser instance having the key as defined by HystrixCollapserKeyHystrixMetricsPublisherCollapser that will have its initialize method invoked once.