C# Class Elders.Hystrix.NET.Strategy.HystrixMetricsPublisherFactory

Factory for constructing metrics publisher implementations using a IHystrixMetricsPublisher implementation provided by HystrixPlugins.
Exibir arquivo Open project: Elders/Hystrix.NET Class Usage Examples

Public Methods

Method Description
CreateOrRetrievePublisherForCommand ( HystrixCommandKey commandKey, HystrixCommandGroupKey commandOwner, HystrixCommandMetrics metrics, IHystrixCircuitBreaker circuitBreaker, IHystrixCommandProperties properties ) : IHystrixMetricsPublisherCommand
CreateOrRetrievePublisherForThreadPool ( HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, IHystrixThreadPoolProperties properties ) : IHystrixMetricsPublisherThreadPool
GetPublisherForCommand ( HystrixCommandKey commandKey, HystrixCommandGroupKey commandOwner, HystrixCommandMetrics metrics, IHystrixCircuitBreaker circuitBreaker, IHystrixCommandProperties properties ) : IHystrixMetricsPublisherCommand
GetPublisherForThreadPool ( HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, IHystrixThreadPoolProperties properties ) : IHystrixMetricsPublisherThreadPool

Private Methods

Method Description
HystrixMetricsPublisherFactory ( ) : System.Collections.Concurrent
HystrixMetricsPublisherFactory ( IHystrixMetricsPublisher strategy ) : System.Collections.Concurrent

Method Details

CreateOrRetrievePublisherForCommand() public static method

public static CreateOrRetrievePublisherForCommand ( HystrixCommandKey commandKey, HystrixCommandGroupKey commandOwner, HystrixCommandMetrics metrics, IHystrixCircuitBreaker circuitBreaker, IHystrixCommandProperties properties ) : IHystrixMetricsPublisherCommand
commandKey HystrixCommandKey
commandOwner HystrixCommandGroupKey
metrics HystrixCommandMetrics
circuitBreaker IHystrixCircuitBreaker
properties IHystrixCommandProperties
return IHystrixMetricsPublisherCommand

CreateOrRetrievePublisherForThreadPool() public static method

public static CreateOrRetrievePublisherForThreadPool ( HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, IHystrixThreadPoolProperties properties ) : IHystrixMetricsPublisherThreadPool
threadPoolKey Elders.Hystrix.NET.ThreadPool.HystrixThreadPoolKey
metrics Elders.Hystrix.NET.ThreadPool.HystrixThreadPoolMetrics
properties IHystrixThreadPoolProperties
return IHystrixMetricsPublisherThreadPool

GetPublisherForCommand() public method

public GetPublisherForCommand ( HystrixCommandKey commandKey, HystrixCommandGroupKey commandOwner, HystrixCommandMetrics metrics, IHystrixCircuitBreaker circuitBreaker, IHystrixCommandProperties properties ) : IHystrixMetricsPublisherCommand
commandKey HystrixCommandKey
commandOwner HystrixCommandGroupKey
metrics HystrixCommandMetrics
circuitBreaker IHystrixCircuitBreaker
properties IHystrixCommandProperties
return IHystrixMetricsPublisherCommand

GetPublisherForThreadPool() public method

public GetPublisherForThreadPool ( HystrixThreadPoolKey threadPoolKey, HystrixThreadPoolMetrics metrics, IHystrixThreadPoolProperties properties ) : IHystrixMetricsPublisherThreadPool
threadPoolKey Elders.Hystrix.NET.ThreadPool.HystrixThreadPoolKey
metrics Elders.Hystrix.NET.ThreadPool.HystrixThreadPoolMetrics
properties IHystrixThreadPoolProperties
return IHystrixMetricsPublisherThreadPool