Package | Description |
---|---|
com.netflix.hystrix |
Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.
|
com.netflix.hystrix.strategy.concurrency |
Strategy definition for concurrency related behavior and default implementation.
|
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 HystrixThreadPoolKey |
HystrixCommand.Setter.threadPoolKey |
protected HystrixThreadPoolKey |
HystrixObservableCommand.Setter.threadPoolKey |
Modifier and Type | Method and Description |
---|---|
static HystrixThreadPoolKey |
HystrixThreadPoolKey.Factory.asKey(String name)
Retrieve (or create) an interned HystrixThreadPoolKey instance for a given name.
|
HystrixThreadPoolKey |
HystrixThreadPoolMetrics.getThreadPoolKey()
HystrixThreadPoolKey these metrics represent. |
HystrixThreadPoolKey |
HystrixInvokableInfo.getThreadPoolKey() |
HystrixThreadPoolKey |
HystrixCommandMetrics.getThreadPoolKey()
HystrixThreadPoolKey used by HystrixCommand these metrics represent. |
Modifier and Type | Method and Description |
---|---|
HystrixCommand.Setter |
HystrixCommand.Setter.andThreadPoolKey(HystrixThreadPoolKey threadPoolKey) |
static HystrixCommandMetrics |
HystrixCommandMetrics.getInstance(HystrixCommandKey key,
HystrixCommandGroupKey commandGroup,
HystrixThreadPoolKey threadPoolKey,
HystrixCommandProperties properties)
Get or create the
HystrixCommandMetrics instance for a given HystrixCommandKey . |
static HystrixThreadPoolMetrics |
HystrixThreadPoolMetrics.getInstance(HystrixThreadPoolKey key)
Get the
HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey or null if one does not exist. |
static HystrixThreadPoolMetrics |
HystrixThreadPoolMetrics.getInstance(HystrixThreadPoolKey key,
ThreadPoolExecutor threadPool,
HystrixThreadPoolProperties properties)
Get or create the
HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey . |
Constructor and Description |
---|
HystrixCommand(HystrixCommandGroupKey group,
HystrixThreadPoolKey threadPool)
|
HystrixCommand(HystrixCommandGroupKey group,
HystrixThreadPoolKey threadPool,
int executionIsolationThreadTimeoutInMilliseconds)
Construct a
HystrixCommand with defined HystrixCommandGroupKey , HystrixThreadPoolKey , and thread timeout. |
HystrixThreadPool.HystrixThreadPoolDefault(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolProperties.Setter propertiesDefaults) |
HystrixThreadPoolProperties(HystrixThreadPoolKey key) |
HystrixThreadPoolProperties(HystrixThreadPoolKey key,
HystrixThreadPoolProperties.Setter builder) |
HystrixThreadPoolProperties(HystrixThreadPoolKey key,
HystrixThreadPoolProperties.Setter builder,
String propertyPrefix) |
Modifier and Type | Method and Description |
---|---|
ThreadPoolExecutor |
HystrixConcurrencyStrategy.getThreadPool(HystrixThreadPoolKey threadPoolKey,
HystrixProperty<Integer> corePoolSize,
HystrixProperty<Integer> maximumPoolSize,
HystrixProperty<Integer> keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue)
Factory method to provide
ThreadPoolExecutor instances as desired. |
Modifier and Type | Method and Description |
---|---|
static HystrixMetricsPublisherThreadPool |
HystrixMetricsPublisherFactory.createOrRetrievePublisherForThreadPool(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolMetrics metrics,
HystrixThreadPoolProperties properties)
Get an instance of
HystrixMetricsPublisherThreadPool with the given factory HystrixMetricsPublisher implementation for each HystrixThreadPool instance. |
HystrixMetricsPublisherThreadPool |
HystrixMetricsPublisher.getMetricsPublisherForThreadPool(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolMetrics metrics,
HystrixThreadPoolProperties properties)
Construct an implementation of
HystrixMetricsPublisherThreadPool for HystrixThreadPool instances having key HystrixThreadPoolKey . |
Constructor and Description |
---|
HystrixMetricsPublisherThreadPoolDefault(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolMetrics metrics,
HystrixThreadPoolProperties properties) |
Modifier and Type | Method and Description |
---|---|
static HystrixThreadPoolProperties |
HystrixPropertiesFactory.getThreadPoolProperties(HystrixThreadPoolKey key,
HystrixThreadPoolProperties.Setter builder)
Get an instance of
HystrixThreadPoolProperties with the given factory HystrixPropertiesStrategy implementation for each HystrixThreadPool instance. |
HystrixThreadPoolProperties |
HystrixPropertiesStrategy.getThreadPoolProperties(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolProperties.Setter builder)
Construct an implementation of
HystrixThreadPoolProperties for HystrixThreadPool instances with HystrixThreadPoolKey . |
String |
HystrixPropertiesStrategy.getThreadPoolPropertiesCacheKey(HystrixThreadPoolKey threadPoolKey,
HystrixThreadPoolProperties.Setter builder)
Cache key used for caching the retrieval of
HystrixThreadPoolProperties implementations. |
Constructor and Description |
---|
HystrixPropertiesThreadPoolDefault(HystrixThreadPoolKey key,
HystrixThreadPoolProperties.Setter builder) |
Copyright © 2017. All Rights Reserved.