Package | Description |
---|---|
com.netflix.hystrix |
Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.
|
com.netflix.hystrix.strategy.metrics |
Strategy definition for publishing metrics and default implementation.
|
Modifier and Type | Class and Description |
---|---|
static class |
HystrixCircuitBreaker.HystrixCircuitBreakerImpl
The default production implementation of
HystrixCircuitBreaker . |
static class |
HystrixCircuitBreaker.NoOpCircuitBreaker
An implementation of the circuit breaker that does nothing.
|
Modifier and Type | Method and Description |
---|---|
static HystrixCircuitBreaker |
HystrixCircuitBreaker.Factory.getInstance(HystrixCommandKey key)
Get the
HystrixCircuitBreaker instance for a given HystrixCommandKey or null if none exists. |
static HystrixCircuitBreaker |
HystrixCircuitBreaker.Factory.getInstance(HystrixCommandKey key,
HystrixCommandGroupKey group,
HystrixCommandProperties properties,
HystrixCommandMetrics metrics)
Get the
HystrixCircuitBreaker instance for a given HystrixCommandKey . |
Modifier and Type | Method and Description |
---|---|
static HystrixMetricsPublisherCommand |
HystrixMetricsPublisherFactory.createOrRetrievePublisherForCommand(HystrixCommandKey commandKey,
HystrixCommandGroupKey commandOwner,
HystrixCommandMetrics metrics,
HystrixCircuitBreaker circuitBreaker,
HystrixCommandProperties properties)
Get an instance of
HystrixMetricsPublisherCommand with the given factory HystrixMetricsPublisher implementation for each HystrixCommand instance. |
HystrixMetricsPublisherCommand |
HystrixMetricsPublisher.getMetricsPublisherForCommand(HystrixCommandKey commandKey,
HystrixCommandGroupKey commandGroupKey,
HystrixCommandMetrics metrics,
HystrixCircuitBreaker circuitBreaker,
HystrixCommandProperties properties)
Construct an implementation of
HystrixMetricsPublisherCommand for HystrixCommand instances having key HystrixCommandKey . |
Constructor and Description |
---|
HystrixMetricsPublisherCommandDefault(HystrixCommandKey commandKey,
HystrixCommandGroupKey commandGroupKey,
HystrixCommandMetrics metrics,
HystrixCircuitBreaker circuitBreaker,
HystrixCommandProperties properties) |
Copyright © 2020. All Rights Reserved.