
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher
public abstract class HystrixMetricsPublisher
Abstract class with default implementations of Factory methods for creating "Metrics Publisher" instances for getting metrics and other related data exposed, published or otherwise retrievable by external systems such as Servo (https://github.com/Netflix/servo) for monitoring and statistical purposes.
See HystrixPlugins or the Hystrix GitHub Wiki for information on configuring plugins: https://github.com/Netflix/Hystrix/wiki/Plugins.
| Constructor Summary | |
|---|---|
HystrixMetricsPublisher()
|
|
| Method Summary | |
|---|---|
HystrixMetricsPublisherCommand |
getMetricsPublisherForCommand(HystrixCommandKey commandKey,
HystrixCommandGroupKey commandGroupKey,
HystrixCommandMetrics metrics,
HystrixCircuitBreaker circuitBreaker,
HystrixCommandProperties properties)
Construct an implementation of HystrixMetricsPublisherCommand for HystrixCommand instances having key HystrixCommandKey. |
HystrixMetricsPublisherThreadPool |
getMetricsPublisherForThreadPool(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolMetrics metrics,
HystrixThreadPoolProperties properties)
Construct an implementation of HystrixMetricsPublisherThreadPool for HystrixThreadPool instances having key HystrixThreadPoolKey. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HystrixMetricsPublisher()
| Method Detail |
|---|
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 HystrixCommandKey
HystrixMetricsPublisherCommand 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 HystrixThreadPoolKey
HystrixMetricsPublisherThreadPool that will have its initialize method invoked once.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||