public class HystrixMetricsPublisherFactory
extends java.lang.Object
This uses given HystrixMetricsPublisher
implementations to construct publisher instances and caches each instance according to the cache key provided.
public static HystrixMetricsPublisherThreadPool createOrRetrievePublisherForThreadPool(HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, HystrixThreadPoolProperties properties)
HystrixMetricsPublisherThreadPool
with the given factory HystrixMetricsPublisher
implementation for each HystrixThreadPool
instance.threadPoolKey
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForThreadPool(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolMetrics, com.netflix.hystrix.HystrixThreadPoolProperties)
implementationmetrics
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForThreadPool(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolMetrics, com.netflix.hystrix.HystrixThreadPoolProperties)
implementationproperties
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForThreadPool(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolMetrics, com.netflix.hystrix.HystrixThreadPoolProperties)
implementationHystrixMetricsPublisherThreadPool
instancepublic static HystrixMetricsPublisherCommand createOrRetrievePublisherForCommand(HystrixCommandKey commandKey, HystrixCommandGroupKey commandOwner, HystrixCommandMetrics metrics, HystrixCircuitBreaker circuitBreaker, HystrixCommandProperties properties)
HystrixMetricsPublisherCommand
with the given factory HystrixMetricsPublisher
implementation for each HystrixCommand
instance.commandKey
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCommand(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandGroupKey, com.netflix.hystrix.HystrixCommandMetrics, com.netflix.hystrix.HystrixCircuitBreaker, com.netflix.hystrix.HystrixCommandProperties)
implementationcommandOwner
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCommand(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandGroupKey, com.netflix.hystrix.HystrixCommandMetrics, com.netflix.hystrix.HystrixCircuitBreaker, com.netflix.hystrix.HystrixCommandProperties)
implementationmetrics
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCommand(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandGroupKey, com.netflix.hystrix.HystrixCommandMetrics, com.netflix.hystrix.HystrixCircuitBreaker, com.netflix.hystrix.HystrixCommandProperties)
implementationcircuitBreaker
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCommand(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandGroupKey, com.netflix.hystrix.HystrixCommandMetrics, com.netflix.hystrix.HystrixCircuitBreaker, com.netflix.hystrix.HystrixCommandProperties)
implementationproperties
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCommand(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandGroupKey, com.netflix.hystrix.HystrixCommandMetrics, com.netflix.hystrix.HystrixCircuitBreaker, com.netflix.hystrix.HystrixCommandProperties)
implementationHystrixMetricsPublisherCommand
instancepublic static void reset()
public static HystrixMetricsPublisherCollapser createOrRetrievePublisherForCollapser(HystrixCollapserKey collapserKey, HystrixCollapserMetrics metrics, HystrixCollapserProperties properties)
HystrixMetricsPublisherCollapser
with the given factory HystrixMetricsPublisher
implementation for each HystrixCollapser
instance.collapserKey
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCollapser(com.netflix.hystrix.HystrixCollapserKey, com.netflix.hystrix.HystrixCollapserMetrics, com.netflix.hystrix.HystrixCollapserProperties)
implementationmetrics
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCollapser(com.netflix.hystrix.HystrixCollapserKey, com.netflix.hystrix.HystrixCollapserMetrics, com.netflix.hystrix.HystrixCollapserProperties)
implementationproperties
- Pass-thru to HystrixMetricsPublisher.getMetricsPublisherForCollapser(com.netflix.hystrix.HystrixCollapserKey, com.netflix.hystrix.HystrixCollapserMetrics, com.netflix.hystrix.HystrixCollapserProperties)
implementationHystrixMetricsPublisherCollapser
instance