Package | Description |
---|---|
com.netflix.hystrix |
Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.
|
com.netflix.hystrix.strategy.eventnotifier |
Strategy definition for event notification.
|
com.netflix.hystrix.strategy.metrics |
Strategy definition for publishing metrics and default implementation.
|
com.netflix.hystrix.strategy.properties |
Strategy definition for properties and configuration and default implementation.
|
Modifier and Type | Field and Description |
---|---|
protected HystrixCommandKey |
HystrixCommand.Setter.commandKey |
protected HystrixCommandKey |
HystrixObservableCommand.Setter.commandKey |
Modifier and Type | Method and Description |
---|---|
static HystrixCommandKey |
HystrixCommandKey.Factory.asKey(String name)
Retrieve (or create) an interned HystrixCommandKey instance for a given name.
|
HystrixCommandKey |
HystrixInvokableInfo.getCommandKey() |
HystrixCommandKey |
HystrixCommandMetrics.getCommandKey()
HystrixCommandKey these metrics represent. |
static HystrixCommandKey |
Hystrix.getCurrentThreadExecutingCommand()
Allows a thread to query whether it's current point of execution is within the scope of a HystrixCommand.
|
Constructor and Description |
---|
HystrixCircuitBreaker.HystrixCircuitBreakerImpl(HystrixCommandKey key,
HystrixCommandGroupKey commandGroup,
HystrixCommandProperties properties,
HystrixCommandMetrics metrics) |
HystrixCommandProperties(HystrixCommandKey key) |
HystrixCommandProperties(HystrixCommandKey key,
HystrixCommandProperties.Setter builder) |
HystrixCommandProperties(HystrixCommandKey key,
HystrixCommandProperties.Setter builder,
String propertyPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
HystrixEventNotifier.markCommandExecution(HystrixCommandKey key,
HystrixCommandProperties.ExecutionIsolationStrategy isolationStrategy,
int duration,
List<HystrixEventType> eventsDuringExecution)
Called after a command is executed using thread isolation.
|
void |
HystrixEventNotifier.markEvent(HystrixEventType eventType,
HystrixCommandKey key)
Called for every event fired.
|
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) |
Modifier and Type | Method and Description |
---|---|
HystrixCommandProperties |
HystrixPropertiesStrategy.getCommandProperties(HystrixCommandKey commandKey,
HystrixCommandProperties.Setter builder)
Construct an implementation of
HystrixCommandProperties for HystrixCommand instances with HystrixCommandKey . |
static HystrixCommandProperties |
HystrixPropertiesFactory.getCommandProperties(HystrixCommandKey key,
HystrixCommandProperties.Setter builder)
Get an instance of
HystrixCommandProperties with the given factory HystrixPropertiesStrategy implementation for each HystrixCommand instance. |
String |
HystrixPropertiesStrategy.getCommandPropertiesCacheKey(HystrixCommandKey commandKey,
HystrixCommandProperties.Setter builder)
Cache key used for caching the retrieval of
HystrixCommandProperties implementations. |
Constructor and Description |
---|
HystrixPropertiesCommandDefault(HystrixCommandKey key,
HystrixCommandProperties.Setter builder) |
Copyright © 2016. All Rights Reserved.