Hystrix: Latency and Fault Tolerance for Distributed Systems


A C D E F G H I K M N O Q R S T V W

A

addListener(TimerListener) - Method in interface com.netflix.hystrix.collapser.CollapserTimer
 
addListener(TimerListener) - Method in class com.netflix.hystrix.collapser.RealCollapserTimer
 
allowRequest() - Method in interface com.netflix.hystrix.HystrixCircuitBreaker
Every HystrixCommand requests asks this if it is allowed to proceed or not.
andCollapserPropertiesDefaults(HystrixCollapserProperties.Setter) - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory.Setter
 
andCollapserPropertiesDefaults(HystrixCollapserProperties.Setter) - Method in class com.netflix.hystrix.HystrixCollapser.Setter
 
andCommandKey(HystrixCommandKey) - Method in class com.netflix.hystrix.HystrixCommand.Setter
 
andCommandPropertiesDefaults(HystrixCommandProperties.Setter) - Method in class com.netflix.hystrix.HystrixCommand.Setter
Optional
andScope(HystrixCollapser.Scope) - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory.Setter
HystrixCollapser.Scope defining what scope the collapsing should occur within
andScope(HystrixCollapser.Scope) - Method in class com.netflix.hystrix.HystrixCollapser.Setter
HystrixCollapser.Scope defining what scope the collapsing should occur within
andThreadPoolKey(HystrixThreadPoolKey) - Method in class com.netflix.hystrix.HystrixCommand.Setter
 
andThreadPoolPropertiesDefaults(HystrixThreadPoolProperties.Setter) - Method in class com.netflix.hystrix.HystrixCommand.Setter
Optional
asKey(String) - Static method in class com.netflix.hystrix.HystrixCollapserKey.Factory
Retrieve (or create) an interned HystrixCollapserKey instance for a given name.
asKey(String) - Static method in class com.netflix.hystrix.HystrixCommandGroupKey.Factory
Retrieve (or create) an interned HystrixCommandGroup instance for a given name.
asKey(String) - Static method in class com.netflix.hystrix.HystrixCommandKey.Factory
Retrieve (or create) an interned HystrixCommandKey instance for a given name.
asKey(String) - Static method in class com.netflix.hystrix.HystrixThreadPoolKey.Factory
Retrieve (or create) an interned HystrixThreadPoolKey instance for a given name.
asProperty(T) - Static method in class com.netflix.hystrix.strategy.properties.HystrixProperty.Factory
 
asProperty(HystrixProperty<T>, T) - Static method in class com.netflix.hystrix.strategy.properties.HystrixProperty.Factory
When retrieved this will return the value from the given HystrixProperty or if that returns null then return the defaultValue.
asProperty(HystrixProperty<T>...) - Static method in class com.netflix.hystrix.strategy.properties.HystrixProperty.Factory
When retrieved this will iterate over the contained HystrixProperty instances until a non-null value is found and return that.

C

circuitBreakerEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether to use a HystrixCircuitBreaker or not.
circuitBreakerErrorThresholdPercentage() - Method in class com.netflix.hystrix.HystrixCommandProperties
Error percentage threshold (as whole number such as 50) at which point the circuit breaker will trip open and reject requests.
circuitBreakerForceClosed() - Method in class com.netflix.hystrix.HystrixCommandProperties
If true the HystrixCircuitBreaker.allowRequest() will always return true to allow requests regardless of the error percentage from HystrixCommandMetrics.getHealthCounts().
circuitBreakerForceOpen() - Method in class com.netflix.hystrix.HystrixCommandProperties
If true the HystrixCircuitBreaker.allowRequest() will always return false, causing the circuit to be open (tripped) and reject all requests.
circuitBreakerRequestVolumeThreshold() - Method in class com.netflix.hystrix.HystrixCommandProperties
Minimum number of requests in the HystrixCommandProperties.metricsRollingStatisticalWindowInMilliseconds() that must exist before the HystrixCircuitBreaker will trip.
circuitBreakerSleepWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties
The time in milliseconds after a HystrixCircuitBreaker trips open that it should wait before trying requests again.
clear(String) - Method in class com.netflix.hystrix.HystrixRequestCache
Clear the cache for a given cacheKey.
CollapserTimer - Interface in com.netflix.hystrix.collapser
Timer used for trigger batch execution.
com.netflix.hystrix - package com.netflix.hystrix
Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.
com.netflix.hystrix.collapser - package com.netflix.hystrix.collapser
 
com.netflix.hystrix.exception - package com.netflix.hystrix.exception
Custom exception implementations.
com.netflix.hystrix.strategy - package com.netflix.hystrix.strategy
Parent package of strategies and plugin management.
com.netflix.hystrix.strategy.concurrency - package com.netflix.hystrix.strategy.concurrency
Strategy definition for concurrency related behavior and default implementation.
com.netflix.hystrix.strategy.eventnotifier - package com.netflix.hystrix.strategy.eventnotifier
Strategy definition for event notification.
com.netflix.hystrix.strategy.executionhook - package com.netflix.hystrix.strategy.executionhook
Strategy definition for execution hook.
com.netflix.hystrix.strategy.metrics - package com.netflix.hystrix.strategy.metrics
Strategy definition for publishing metrics and default implementation.
com.netflix.hystrix.strategy.properties - package com.netflix.hystrix.strategy.properties
Strategy definition for properties and configuration and default implementation.
coreSize() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Core thread-pool size that gets passed to ThreadPoolExecutor.setCorePoolSize(int)
createCommand(Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in class com.netflix.hystrix.HystrixCollapser
Factory method to create a new HystrixCommand<BatchReturnType> command object each time a batch needs to be executed.
createObservableCommand(Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in interface com.netflix.hystrix.collapser.HystrixCollapserBridge
 

D

decomposeException(Exception) - Method in class com.netflix.hystrix.HystrixCommand
Take an Exception and determine whether to throw it, its cause or a new HystrixRuntimeException.

E

execute() - Method in class com.netflix.hystrix.HystrixCollapser
Used for synchronous execution.
execute() - Method in class com.netflix.hystrix.HystrixCommand
Used for synchronous execution of command.
execute() - Method in interface com.netflix.hystrix.HystrixExecutable
Used for synchronous execution of command.
executeBatchIfNotAlreadyStarted() - Method in class com.netflix.hystrix.collapser.RequestBatch
Collapsed requests are triggered for batch execution and the array of arguments is passed in.
executionIsolationSemaphoreMaxConcurrentRequests() - Method in class com.netflix.hystrix.HystrixCommandProperties
Number of concurrent requests permitted to HystrixCommand.run().
executionIsolationStrategy() - Method in class com.netflix.hystrix.HystrixCommandProperties
What isolation strategy HystrixCommand.run() will be executed with.
executionIsolationThreadInterruptOnTimeout() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether the execution thread should attempt an interrupt (using Future.cancel(boolean)) when a thread times out.
executionIsolationThreadPoolKeyOverride() - Method in class com.netflix.hystrix.HystrixCommandProperties
Allow a dynamic override of the HystrixThreadPoolKey that will dynamically change which HystrixThreadPool a HystrixCommand executes on.
executionIsolationThreadTimeoutInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties
Time in milliseconds at which point the calling thread will timeout (using Future.get()) and walk away from the executing thread.

F

fallbackEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether HystrixCommand.getFallback() should be attempted when failure occurs.
fallbackIsolationSemaphoreMaxConcurrentRequests() - Method in class com.netflix.hystrix.HystrixCommandProperties
Number of concurrent requests permitted to HystrixCommand.getFallback().

G

get() - Method in interface com.netflix.hystrix.strategy.concurrency.HystrixRequestVariable
Retrieve current value or initialize and then return value for this variable for the current request scope.
get() - Method in interface com.netflix.hystrix.strategy.properties.HystrixProperty
 
getArgument() - Method in interface com.netflix.hystrix.HystrixCollapser.CollapsedRequest
The request argument passed into the HystrixCollapser instance constructor which was then collapsed.
getBlockingQueue(int) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
Factory method to provide instance of BlockingQueue<Runnable> used for each ThreadPoolExecutor as constructed in HystrixConcurrencyStrategy.getThreadPool(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.strategy.properties.HystrixProperty, com.netflix.hystrix.strategy.properties.HystrixProperty, com.netflix.hystrix.strategy.properties.HystrixProperty, java.util.concurrent.TimeUnit, java.util.concurrent.BlockingQueue).
getCacheKey() - Method in class com.netflix.hystrix.HystrixCollapser
Key to be used for request caching.
getCacheKey() - Method in class com.netflix.hystrix.HystrixCommand
Key to be used for request caching.
getCircuitBreakerEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCircuitBreakerErrorThresholdPercentage() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCircuitBreakerForceClosed() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCircuitBreakerForceOpen() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCircuitBreakerRequestVolumeThreshold() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCircuitBreakerSleepWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getCollapserKey() - Method in interface com.netflix.hystrix.collapser.HystrixCollapserBridge
 
getCollapserKey() - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory
 
getCollapserKey() - Method in class com.netflix.hystrix.HystrixCollapser
Key of the HystrixCollapser used for properties, metrics, caches, reporting etc.
getCollapserProperties(HystrixCollapserKey, HystrixCollapserProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Construct an implementation of HystrixCollapserProperties for HystrixCollapser instances with HystrixCollapserKey.
getCollapserPropertiesCacheKey(HystrixCollapserKey, HystrixCollapserProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Cache key used for caching the retrieval of HystrixCollapserProperties implementations.
getCollapsingEnabled() - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
getCommandExecutionHook() - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Retrieve instance of HystrixCommandExecutionHook to use based on order of precedence as defined in HystrixPlugins class header.
getCommandGroup() - Method in class com.netflix.hystrix.HystrixCommand
 
getCommandGroup() - Method in class com.netflix.hystrix.HystrixCommandMetrics
HystrixCommandGroupKey of the HystrixCommand these metrics represent.
getCommandKey() - Method in class com.netflix.hystrix.HystrixCommand
 
getCommandKey() - Method in class com.netflix.hystrix.HystrixCommandMetrics
HystrixCommandKey these metrics represent.
getCommandProperties(HystrixCommandKey, HystrixCommandProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Construct an implementation of HystrixCommandProperties for HystrixCommand instances with HystrixCommandKey.
getCommandPropertiesCacheKey(HystrixCommandKey, HystrixCommandProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Cache key used for caching the retrieval of HystrixCommandProperties implementations.
getConcurrencyStrategy() - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Retrieve instance of HystrixConcurrencyStrategy to use based on order of precedence as defined in HystrixPlugins class header.
getContextForCurrentThread() - Static method in class com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
 
getCoreSize() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getCumulativeCount(HystrixRollingNumberEvent) - Method in class com.netflix.hystrix.HystrixCommandMetrics
Get the cumulative count since the start of the application for the given HystrixRollingNumberEvent.
getCumulativeCountThreadsExecuted() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Cumulative count of number of threads executed since the start of the application.
getCurrentActiveCount() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getActiveCount()
getCurrentCompletedTaskCount() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getCompletedTaskCount()
getCurrentConcurrentExecutionCount() - Method in class com.netflix.hystrix.HystrixCommandMetrics
Current number of concurrent executions of HystrixCommand.run();
getCurrentCorePoolSize() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getCorePoolSize()
getCurrentLargestPoolSize() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getLargestPoolSize()
getCurrentMaximumPoolSize() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getMaximumPoolSize()
getCurrentPoolSize() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getPoolSize()
getCurrentQueueSize() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Current size of BlockingQueue used by the thread-pool
getCurrentRequest(HystrixConcurrencyStrategy) - Static method in class com.netflix.hystrix.HystrixRequestLog
HystrixRequestLog for current request as defined by HystrixRequestContext.
getCurrentRequest() - Static method in class com.netflix.hystrix.HystrixRequestLog
HystrixRequestLog for current request as defined by HystrixRequestContext.
getCurrentTaskCount() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Value from ThreadPoolExecutor.getTaskCount()
getCurrentThreadExecutingCommand() - Static method in class com.netflix.hystrix.Hystrix
Allows a thread to query whether it's current point of execution is within the scope of a HystrixCommand.
getErrorCount() - Method in class com.netflix.hystrix.HystrixCommandMetrics.HealthCounts
 
getErrorPercentage() - Method in class com.netflix.hystrix.HystrixCommandMetrics.HealthCounts
 
getEventNotifier() - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Retrieve instance of HystrixEventNotifier to use based on order of precedence as defined in HystrixPlugins class header.
getExecutedCommands() - Method in class com.netflix.hystrix.HystrixRequestLog
Retrieve HystrixCommand instances that were executed during this HystrixRequestContext.
getExecutedCommandsAsString() - Method in class com.netflix.hystrix.HystrixRequestLog
Formats the log of executed commands into a string usable for logging purposes.
getExecutionEvents() - Method in class com.netflix.hystrix.HystrixCommand
List of HystrixCommandEventType enums representing events that occurred during execution.
getExecutionIsolationSemaphoreMaxConcurrentRequests() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getExecutionIsolationStrategy() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getExecutionIsolationThreadInterruptOnTimeout() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getExecutionIsolationThreadTimeoutInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getExecutionTimeInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommand
The execution time of this command instance in milliseconds, or -1 if not executed.
getExecutionTimeMean() - Method in class com.netflix.hystrix.HystrixCommandMetrics
The mean (average) execution time (in milliseconds) for the HystrixCommand.run().
getExecutionTimePercentile(double) - Method in class com.netflix.hystrix.HystrixCommandMetrics
Retrieve the execution time (in milliseconds) for the HystrixCommand.run() method being invoked at a given percentile.
getExecutor() - Method in interface com.netflix.hystrix.HystrixThreadPool
Implementation of ThreadPoolExecutor.
getFailedExecutionException() - Method in class com.netflix.hystrix.HystrixCommand
Get the Throwable/Exception thrown that caused the failure.
getFailureType() - Method in exception com.netflix.hystrix.exception.HystrixRuntimeException
The type of failure that caused this exception to be thrown.
getFallback() - Method in class com.netflix.hystrix.HystrixCommand
If HystrixCommand.execute() or HystrixCommand.queue() fails in any way then this method will be invoked to provide an opportunity to return a fallback response.
getFallbackEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getFallbackException() - Method in exception com.netflix.hystrix.exception.HystrixRuntimeException
The Throwable that was thrown when trying to retrieve a fallback.
getFallbackIsolationSemaphoreMaxConcurrentRequests() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getHealthCounts() - Method in class com.netflix.hystrix.HystrixCommandMetrics
Retrieve a snapshot of total requests, error count and error percentage.
getImplementingClass() - Method in exception com.netflix.hystrix.exception.HystrixRuntimeException
The implementing class of the HystrixCommand.
getInstance(HystrixCommandKey, HystrixCommandGroupKey, HystrixCommandProperties) - Static method in class com.netflix.hystrix.HystrixCommandMetrics
Get or create the HystrixCommandMetrics instance for a given HystrixCommandKey.
getInstance(HystrixCommandKey) - Static method in class com.netflix.hystrix.HystrixCommandMetrics
Get the HystrixCommandMetrics instance for a given HystrixCommandKey or null if one does not exist.
getInstance(HystrixCommandKey, HystrixConcurrencyStrategy) - Static method in class com.netflix.hystrix.HystrixRequestCache
 
getInstance(HystrixCollapserKey, HystrixConcurrencyStrategy) - Static method in class com.netflix.hystrix.HystrixRequestCache
 
getInstance(HystrixThreadPoolKey, ThreadPoolExecutor, HystrixThreadPoolProperties) - Static method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Get or create the HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey.
getInstance(HystrixThreadPoolKey) - Static method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Get the HystrixThreadPoolMetrics instance for a given HystrixThreadPoolKey or null if one does not exist.
getInstance() - Static method in class com.netflix.hystrix.strategy.HystrixPlugins
 
getInstances() - Static method in class com.netflix.hystrix.HystrixCommandMetrics
All registered instances of HystrixCommandMetrics
getInstances() - Static method in class com.netflix.hystrix.HystrixThreadPoolMetrics
All registered instances of HystrixThreadPoolMetrics
getKeepAliveTimeMinutes() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getMaxQueueSize() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getMaxRequestsInBatch() - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
getMetrics() - Method in class com.netflix.hystrix.HystrixCommand
The HystrixCommandMetrics associated with this HystrixCommand instance.
getMetricsHealthSnapshotIntervalInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsPublisher() - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Retrieve instance of HystrixMetricsPublisher to use based on order of precedence as defined in HystrixPlugins class header.
getMetricsPublisherForCommand(HystrixCommandKey, HystrixCommandGroupKey, HystrixCommandMetrics, HystrixCircuitBreaker, HystrixCommandProperties) - Method in class com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher
Construct an implementation of HystrixMetricsPublisherCommand for HystrixCommand instances having key HystrixCommandKey.
getMetricsPublisherForThreadPool(HystrixThreadPoolKey, HystrixThreadPoolMetrics, HystrixThreadPoolProperties) - Method in class com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher
Construct an implementation of HystrixMetricsPublisherThreadPool for HystrixThreadPool instances having key HystrixThreadPoolKey.
getMetricsRollingPercentileBucketSize() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingPercentileEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingPercentileWindowBuckets() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingPercentileWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingStatisticalWindowBuckets() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingStatisticalWindowBuckets() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getMetricsRollingStatisticalWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getMetricsRollingStatisticalWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getProperties() - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory
 
getProperties() - Method in class com.netflix.hystrix.HystrixCommand
The HystrixCommandProperties associated with this HystrixCommand instance.
getProperties() - Method in class com.netflix.hystrix.HystrixCommandMetrics
HystrixCommandProperties of the HystrixCommand these metrics represent.
getProperties() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
HystrixThreadPoolProperties of the HystrixThreadPool these metrics represent.
getPropertiesStrategy() - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Retrieve instance of HystrixPropertiesStrategy to use based on order of precedence as defined in HystrixPlugins class header.
getQueueSizeRejectionThreshold() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
getRequestArgument() - Method in class com.netflix.hystrix.HystrixCollapser
The request arguments to be passed to the HystrixCommand.
getRequestCacheEnabled() - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
getRequestCacheEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getRequestCollapser(HystrixCollapserBridge<BatchReturnType, ResponseType, RequestArgumentType>) - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory
 
getRequestLogEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
getRequestVariable(String) - Static method in class com.netflix.hystrix.collapser.RequestCollapserFactory
Used for testing
getRequestVariable(HystrixRequestVariableLifecycle<T>) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
Factory method to return an implementation of HystrixRequestVariable that behaves like a ThreadLocal except that it is scoped to a request instead of a thread.
getRollingCount(HystrixRollingNumberEvent) - Method in class com.netflix.hystrix.HystrixCommandMetrics
Get the rolling count for the given HystrixRollingNumberEvent.
getRollingCountThreadsExecuted() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Rolling count of number of threads executed during rolling statistical window.
getRollingMaxActiveThreads() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Rolling max number of active threads during rolling statistical window.
getScope() - Method in class com.netflix.hystrix.collapser.RequestCollapserFactory
 
getScope() - Method in class com.netflix.hystrix.HystrixCollapser
Scope of collapsing.
getThreadPool(HystrixThreadPoolKey, HystrixProperty<Integer>, HystrixProperty<Integer>, HystrixProperty<Integer>, TimeUnit, BlockingQueue<Runnable>) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
Factory method to provide ThreadPoolExecutor instances as desired.
getThreadPoolKey() - Method in class com.netflix.hystrix.HystrixCommand
 
getThreadPoolKey() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
HystrixThreadPoolKey these metrics represent.
getThreadPoolProperties(HystrixThreadPoolKey, HystrixThreadPoolProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Construct an implementation of HystrixThreadPoolProperties for HystrixThreadPool instances with HystrixThreadPoolKey.
getThreadPoolPropertiesCacheKey(HystrixThreadPoolKey, HystrixThreadPoolProperties.Setter) - Method in class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
Cache key used for caching the retrieval of HystrixThreadPoolProperties implementations.
getTimerDelayInMilliseconds() - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
getTotalRequests() - Method in class com.netflix.hystrix.HystrixCommandMetrics.HealthCounts
 
getTotalTimeMean() - Method in class com.netflix.hystrix.HystrixCommandMetrics
The mean (average) execution time (in milliseconds) for HystrixCommand.execute() or HystrixCommand.queue().
getTotalTimePercentile(double) - Method in class com.netflix.hystrix.HystrixCommandMetrics
Retrieve the total end-to-end execution time (in milliseconds) for HystrixCommand.execute() or HystrixCommand.queue() at a given percentile.

H

Hystrix - Class in com.netflix.hystrix
Lifecycle management of Hystrix.
Hystrix() - Constructor for class com.netflix.hystrix.Hystrix
 
HystrixBadRequestException - Exception in com.netflix.hystrix.exception
An exception representing an error with provided arguments or state rather than an execution failure.
HystrixBadRequestException(String) - Constructor for exception com.netflix.hystrix.exception.HystrixBadRequestException
 
HystrixBadRequestException(String, Throwable) - Constructor for exception com.netflix.hystrix.exception.HystrixBadRequestException
 
HystrixCircuitBreaker - Interface in com.netflix.hystrix
Circuit-breaker logic that is hooked into HystrixCommand execution and will stop allowing executions if failures have gone past the defined threshold.
HystrixCollapser<BatchReturnType,ResponseType,RequestArgumentType> - Class in com.netflix.hystrix
Collapse multiple requests into a single HystrixCommand execution based on a time window and optionally a max batch size.
HystrixCollapser() - Constructor for class com.netflix.hystrix.HystrixCollapser
Collapser with default HystrixCollapserKey derived from the implementing class name and scoped to HystrixCollapser.Scope.REQUEST and default configuration.
HystrixCollapser(HystrixCollapserKey) - Constructor for class com.netflix.hystrix.HystrixCollapser
Collapser scoped to HystrixCollapser.Scope.REQUEST and default configuration.
HystrixCollapser(HystrixCollapser.Setter) - Constructor for class com.netflix.hystrix.HystrixCollapser
Construct a HystrixCollapser with defined HystrixCollapser.Setter that allows injecting property and strategy overrides and other optional arguments.
HystrixCollapser.CollapsedRequest<ResponseType,RequestArgumentType> - Interface in com.netflix.hystrix
A request argument RequestArgumentType that was collapsed for batch processing and needs a response ResponseType set on it by the executeBatch implementation.
HystrixCollapser.Scope - Enum in com.netflix.hystrix
The scope of request collapsing.
HystrixCollapser.Setter - Class in com.netflix.hystrix
Fluent interface for arguments to the HystrixCollapser constructor.
HystrixCollapserBridge<BatchReturnType,ResponseType,RequestArgumentType> - Interface in com.netflix.hystrix.collapser
Bridge between HystrixCollapser and RequestCollapser to expose 'protected' and 'private' functionality across packages.
HystrixCollapserKey - Interface in com.netflix.hystrix
A key to represent a HystrixCollapser for monitoring, circuit-breakers, metrics publishing, caching and other such uses.
HystrixCollapserKey.Factory - Class in com.netflix.hystrix
 
HystrixCollapserProperties - Class in com.netflix.hystrix
Properties for instances of HystrixCollapser.
HystrixCollapserProperties(HystrixCollapserKey) - Constructor for class com.netflix.hystrix.HystrixCollapserProperties
 
HystrixCollapserProperties(HystrixCollapserKey, HystrixCollapserProperties.Setter) - Constructor for class com.netflix.hystrix.HystrixCollapserProperties
 
HystrixCollapserProperties(HystrixCollapserKey, HystrixCollapserProperties.Setter, String) - Constructor for class com.netflix.hystrix.HystrixCollapserProperties
 
HystrixCollapserProperties.Setter - Class in com.netflix.hystrix
Fluent interface that allows chained setting of properties that can be passed into a HystrixCollapser constructor to inject instance specific property overrides.
HystrixCommand<R> - Class in com.netflix.hystrix
Used to wrap code that will execute potentially risky functionality (typically meaning a service call over the network) with fault and latency tolerance, statistics and performance metrics capture, circuit breaker and bulkhead functionality.
HystrixCommand(HystrixCommandGroupKey) - Constructor for class com.netflix.hystrix.HystrixCommand
Construct a HystrixCommand with defined HystrixCommandGroupKey.
HystrixCommand(HystrixCommand.Setter) - Constructor for class com.netflix.hystrix.HystrixCommand
Construct a HystrixCommand with defined HystrixCommand.Setter that allows injecting property and strategy overrides and other optional arguments.
HystrixCommand.Setter - Class in com.netflix.hystrix
Fluent interface for arguments to the HystrixCommand constructor.
HystrixCommandExecutionHook - Class in com.netflix.hystrix.strategy.executionhook
Abstract ExecutionHook with invocations at different lifecycle points of HystrixCommand execution with default no-op implementations.
HystrixCommandExecutionHook() - Constructor for class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
 
HystrixCommandGroupKey - Interface in com.netflix.hystrix
A group name for a HystrixCommand.
HystrixCommandGroupKey.Factory - Class in com.netflix.hystrix
 
HystrixCommandKey - Interface in com.netflix.hystrix
A key to represent a HystrixCommand for monitoring, circuit-breakers, metrics publishing, caching and other such uses.
HystrixCommandKey.Factory - Class in com.netflix.hystrix
 
HystrixCommandMetrics - Class in com.netflix.hystrix
Used by HystrixCommand to record metrics.
HystrixCommandMetrics.HealthCounts - Class in com.netflix.hystrix
Number of requests during rolling window.
HystrixCommandProperties - Class in com.netflix.hystrix
Properties for instances of HystrixCommand.
HystrixCommandProperties(HystrixCommandKey) - Constructor for class com.netflix.hystrix.HystrixCommandProperties
 
HystrixCommandProperties(HystrixCommandKey, HystrixCommandProperties.Setter) - Constructor for class com.netflix.hystrix.HystrixCommandProperties
 
HystrixCommandProperties(HystrixCommandKey, HystrixCommandProperties.Setter, String) - Constructor for class com.netflix.hystrix.HystrixCommandProperties
 
HystrixCommandProperties.ExecutionIsolationStrategy - Enum in com.netflix.hystrix
Isolation strategy to use when executing a HystrixCommand.
HystrixCommandProperties.Setter - Class in com.netflix.hystrix
Fluent interface that allows chained setting of properties that can be passed into a HystrixCommand constructor to inject instance specific property overrides.
HystrixConcurrencyStrategy - Class in com.netflix.hystrix.strategy.concurrency
Abstract class for defining different behavior or implementations for concurrency related aspects of the system with default implementations.
HystrixConcurrencyStrategy() - Constructor for class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
 
HystrixContextScheduler - Class in com.netflix.hystrix.strategy.concurrency
Wrap a Scheduler so that scheduled actions are wrapped with HystrixContextFunc2 so that the HystrixRequestContext is properly copied across threads (if they are used by the Scheduler).
HystrixContextScheduler(HystrixConcurrencyStrategy, Scheduler) - Constructor for class com.netflix.hystrix.strategy.concurrency.HystrixContextScheduler
 
HystrixEventNotifier - Class in com.netflix.hystrix.strategy.eventnotifier
Abstract EventNotifier that allows receiving notifications for different events with default implementations.
HystrixEventNotifier() - Constructor for class com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier
 
HystrixEventType - Enum in com.netflix.hystrix
Various states/events that execution can result in or have tracked.
HystrixExecutable<R> - Interface in com.netflix.hystrix
Common interface for executables (HystrixCommand and HystrixCollapser) so client code can treat them the same and combine in typed collections if desired.
HystrixMetricsPublisher - Class in com.netflix.hystrix.strategy.metrics
Abstract class with default implementations of Factory methods for creating "Metrics Publisher" instances for getting metrics and other related data exposed, published or otherwise retrievable by external systems such as Servo (https://github.com/Netflix/servo) for monitoring and statistical purposes.
HystrixMetricsPublisher() - Constructor for class com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisher
 
HystrixMetricsPublisherCommand - Interface in com.netflix.hystrix.strategy.metrics
Metrics publisher for a HystrixCommand that will be constructed by an implementation of HystrixMetricsPublisher.
HystrixMetricsPublisherThreadPool - Interface in com.netflix.hystrix.strategy.metrics
Metrics publisher for a HystrixThreadPool that will be constructed by an implementation of HystrixMetricsPublisher.
HystrixPlugins - Class in com.netflix.hystrix.strategy
Registry for plugin implementations that allows global override and handles the retrieval of correct implementation based on order of precedence: plugin registered globally via register methods in this class plugin registered and retrieved using System.getProperty(String) (see get methods for property names) default implementation See the Hystrix GitHub Wiki for more information: https://github.com/Netflix/Hystrix/wiki/Plugins.
HystrixPropertiesStrategy - Class in com.netflix.hystrix.strategy.properties
Abstract class with default implementations of factory methods for properties used by various components of Hystrix.
HystrixPropertiesStrategy() - Constructor for class com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy
 
HystrixProperty<T> - Interface in com.netflix.hystrix.strategy.properties
Generic interface to represent a property value so Hystrix can consume properties without being tied to any particular backing implementation.
HystrixProperty.Factory - Class in com.netflix.hystrix.strategy.properties
Helper methods for wrapping static values and dynamic Archaius (https://github.com/Netflix/archaius) properties in the HystrixProperty interface.
HystrixProperty.Factory() - Constructor for class com.netflix.hystrix.strategy.properties.HystrixProperty.Factory
 
HystrixRequestCache - Class in com.netflix.hystrix
Cache that is scoped to the current request as managed by HystrixRequestVariableDefault.
HystrixRequestContext - Class in com.netflix.hystrix.strategy.concurrency
Contains the state and manages the lifecycle of HystrixRequestVariableDefault objects that provide request scoped (rather than only thread scoped) variables so that multiple threads within a single request can share state: request scoped caching as in HystrixRequestCache for de-duping HystrixCommand executions request scoped log of all events as in HystrixRequestLog automated batching of HystrixCommand executions within the scope of a request as in HystrixCollapser
HystrixRequestLog - Class in com.netflix.hystrix
Log of HystrixCommand executions and events during the current request.
HystrixRequestVariable<T> - Interface in com.netflix.hystrix.strategy.concurrency
Interface for a variable similar to ThreadLocal but scoped at the user request level.
HystrixRequestVariableLifecycle<T> - Interface in com.netflix.hystrix.strategy.concurrency
Interface for lifecycle methods that are then executed by an implementation of HystrixRequestVariable.
HystrixRuntimeException - Exception in com.netflix.hystrix.exception
RuntimeException that is thrown when a HystrixCommand fails and does not have a fallback.
HystrixRuntimeException(HystrixRuntimeException.FailureType, Class<? extends HystrixCommand>, String, Exception, Throwable) - Constructor for exception com.netflix.hystrix.exception.HystrixRuntimeException
 
HystrixRuntimeException(HystrixRuntimeException.FailureType, Class<? extends HystrixCommand>, String, Throwable, Throwable) - Constructor for exception com.netflix.hystrix.exception.HystrixRuntimeException
 
HystrixRuntimeException.FailureType - Enum in com.netflix.hystrix.exception
 
HystrixThreadPool - Interface in com.netflix.hystrix
ThreadPool used to executed HystrixCommand.run() on separate threads when configured to do so with HystrixCommandProperties.executionIsolationStrategy().
HystrixThreadPoolKey - Interface in com.netflix.hystrix
A key to represent a HystrixThreadPool for monitoring, metrics publishing, caching and other such uses.
HystrixThreadPoolKey.Factory - Class in com.netflix.hystrix
 
HystrixThreadPoolMetrics - Class in com.netflix.hystrix
Used by HystrixThreadPool to record metrics.
HystrixThreadPoolProperties - Class in com.netflix.hystrix
Properties for instances of HystrixThreadPool.
HystrixThreadPoolProperties(HystrixThreadPoolKey) - Constructor for class com.netflix.hystrix.HystrixThreadPoolProperties
 
HystrixThreadPoolProperties(HystrixThreadPoolKey, HystrixThreadPoolProperties.Setter) - Constructor for class com.netflix.hystrix.HystrixThreadPoolProperties
 
HystrixThreadPoolProperties(HystrixThreadPoolKey, HystrixThreadPoolProperties.Setter, String) - Constructor for class com.netflix.hystrix.HystrixThreadPoolProperties
 
HystrixThreadPoolProperties.Setter - Class in com.netflix.hystrix
Fluent interface that allows chained setting of properties that can be passed into a HystrixThreadPool via a HystrixCommand constructor to inject instance specific property overrides.

I

initialize() - Method in interface com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCommand
 
initialize() - Method in interface com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherThreadPool
 
initializeContext() - Static method in class com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
Call this at the beginning of each request (from parent thread) to initialize the underlying context so that HystrixRequestVariableDefault can be used on any children threads and be accessible from the parent thread.
initialValue() - Method in interface com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle
Invoked when HystrixRequestVariable.get() is first called.
isCircuitBreakerOpen() - Method in class com.netflix.hystrix.HystrixCommand
Whether the 'circuit-breaker' is open meaning that execute() will immediately return the getFallback() response and not attempt a HystrixCommand execution.
isCurrentThreadInitialized() - Static method in class com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
 
isExecutedInThread() - Method in class com.netflix.hystrix.HystrixCommand
Whether the execution occurred in a separate thread.
isExecutionComplete() - Method in class com.netflix.hystrix.HystrixCommand
If this command has completed execution either successfully, via fallback or failure.
isFailedExecution() - Method in class com.netflix.hystrix.HystrixCommand
Whether the run() resulted in a failure (exception).
isOpen() - Method in interface com.netflix.hystrix.HystrixCircuitBreaker
Whether the circuit is currently open (tripped).
isQueueSpaceAvailable() - Method in interface com.netflix.hystrix.HystrixThreadPool
Whether the queue will allow adding an item to it.
isResponseFromCache() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response is from cache and run() was not invoked.
isResponseFromFallback() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response received from was the result of some type of failure and getFallback() being called.
isResponseRejected() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response received was a fallback as result of being rejected (from thread-pool or semaphore) and getFallback() being called.
isResponseShortCircuited() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response received was a fallback as result of being short-circuited (meaning isCircuitBreakerOpen() == true) and getFallback() being called.
isResponseTimedOut() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response received was the result of a timeout and getFallback() being called.
isSuccessfulExecution() - Method in class com.netflix.hystrix.HystrixCommand
Whether the response was returned successfully either by executing run() or from cache.

K

keepAliveTimeMinutes() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Keep-alive time in minutes that gets passed to ThreadPoolExecutor.setKeepAliveTime(long, TimeUnit)

M

mapResponseToRequests(BatchReturnType, Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in interface com.netflix.hystrix.collapser.HystrixCollapserBridge
 
mapResponseToRequests(BatchReturnType, Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in class com.netflix.hystrix.HystrixCollapser
Executed after the HystrixCommand<BatchReturnType> command created by HystrixCollapser.createCommand(java.util.Collection>) finishes processing (unless it fails) for mapping the <BatchReturnType> to the list of CollapsedRequest<ResponseType, RequestArgumentType> objects.
markCommandExecution(HystrixCommandKey, HystrixCommandProperties.ExecutionIsolationStrategy, int, List<HystrixEventType>) - Method in class com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier
Called after a command is executed using thread isolation.
markEvent(HystrixEventType, HystrixCommandKey) - Method in class com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier
Called for every event fired.
markSuccess() - Method in interface com.netflix.hystrix.HystrixCircuitBreaker
Invoked on successful executions from HystrixCommand as part of feedback mechanism when in a half-open state.
markThreadCompletion() - Method in interface com.netflix.hystrix.HystrixThreadPool
Mark when a thread completes executing a command.
markThreadCompletion() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Invoked each time a thread completes.
markThreadExecution() - Method in interface com.netflix.hystrix.HystrixThreadPool
Mark when a thread begins executing a command.
markThreadExecution() - Method in class com.netflix.hystrix.HystrixThreadPoolMetrics
Invoked each time a thread is executed.
maxQueueSize() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Max queue size that gets passed to BlockingQueue in HystrixConcurrencyStrategy.getBlockingQueue(int)
maxRequestsInBatch() - Method in class com.netflix.hystrix.HystrixCollapserProperties
The maximum number of requests allowed in a batch before triggering a batch execution.
metricsHealthSnapshotIntervalInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties
Time in milliseconds to wait between allowing health snapshots to be taken that calculate success and error percentages and affect HystrixCircuitBreaker.isOpen() status.
metricsRollingPercentileBucketSize() - Method in class com.netflix.hystrix.HystrixCommandProperties
Maximum number of values stored in each bucket of the rolling percentile.
metricsRollingPercentileEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether percentile metrics should be captured using HystrixRollingPercentile inside HystrixCommandMetrics.
metricsRollingPercentileWindow() - Method in class com.netflix.hystrix.HystrixCommandProperties
Deprecated. Use HystrixCommandProperties.metricsRollingPercentileWindowInMilliseconds()
metricsRollingPercentileWindowBuckets() - Method in class com.netflix.hystrix.HystrixCommandProperties
Number of buckets the rolling percentile window is broken into.
metricsRollingPercentileWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties
Duration of percentile rolling window in milliseconds.
metricsRollingStatisticalWindowBuckets() - Method in class com.netflix.hystrix.HystrixCommandProperties
Number of buckets the rolling statistical window is broken into.
metricsRollingStatisticalWindowBuckets() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Number of buckets the rolling statistical window is broken into.
metricsRollingStatisticalWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixCommandProperties
Duration of statistical rolling window in milliseconds.
metricsRollingStatisticalWindowInMilliseconds() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Duration of statistical rolling window in milliseconds.

N

name() - Method in interface com.netflix.hystrix.HystrixCollapserKey
The word 'name' is used instead of 'key' so that Enums can implement this interface and it work natively.
name() - Method in interface com.netflix.hystrix.HystrixCommandGroupKey
The word 'name' is used instead of 'key' so that Enums can implement this interface and it work natively.
name() - Method in interface com.netflix.hystrix.HystrixCommandKey
The word 'name' is used instead of 'key' so that Enums can implement this interface and it work natively.
name() - Method in interface com.netflix.hystrix.HystrixThreadPoolKey
The 'key' used as the name for a thread-pool.
nullProperty() - Static method in class com.netflix.hystrix.strategy.properties.HystrixProperty.Factory
 

O

observe() - Method in class com.netflix.hystrix.HystrixCollapser
Used for asynchronous execution with a callback by subscribing to the Observable.
observe() - Method in class com.netflix.hystrix.HystrixCommand
Used for asynchronous execution of command with a callback by subscribing to the Observable.
observe() - Method in interface com.netflix.hystrix.HystrixExecutable
Used for asynchronous execution of command with a callback by subscribing to the Observable.
offer(RequestArgumentType) - Method in class com.netflix.hystrix.collapser.RequestBatch
 
onComplete(HystrixCommand<T>, T) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after completion of HystrixCommand execution that results in a response.
onError(HystrixCommand<T>, HystrixRuntimeException.FailureType, Exception) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after failed completion of HystrixCommand execution.
onFallbackError(HystrixCommand<T>, Exception) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after failed execution of HystrixCommand.getFallback() with thrown exception.
onFallbackStart(HystrixCommand<T>) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked before HystrixCommand.getFallback() is about to be executed.
onFallbackSuccess(HystrixCommand<T>, T) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after successful execution of HystrixCommand.getFallback() with response value.
onRunError(HystrixCommand<T>, Exception) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after failed execution of HystrixCommand.run() with thrown Exception.
onRunStart(HystrixCommand<T>) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked before HystrixCommand.run() is about to be executed.
onRunSuccess(HystrixCommand<T>, T) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked after successful execution of HystrixCommand.run() with response value.
onStart(HystrixCommand<T>) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked before HystrixCommand executes.
onThreadComplete(HystrixCommand<T>) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked at completion of thread execution when HystrixCommand is executed using HystrixCommandProperties.ExecutionIsolationStrategy.THREAD.
onThreadStart(HystrixCommand<T>) - Method in class com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook
Invoked at start of thread execution when HystrixCommand is executed using HystrixCommandProperties.ExecutionIsolationStrategy.THREAD.

Q

queue() - Method in class com.netflix.hystrix.HystrixCollapser
Used for asynchronous execution.
queue() - Method in class com.netflix.hystrix.HystrixCommand
Used for asynchronous execution of command.
queue() - Method in interface com.netflix.hystrix.HystrixExecutable
Used for asynchronous execution of command.
queueSizeRejectionThreshold() - Method in class com.netflix.hystrix.HystrixThreadPoolProperties
Queue size rejection threshold is an artificial "max" size at which rejections will occur even if HystrixThreadPoolProperties.maxQueueSize has not been reached.

R

RealCollapserTimer - Class in com.netflix.hystrix.collapser
Actual CollapserTimer implementation for triggering batch execution that uses HystrixTimer.
RealCollapserTimer() - Constructor for class com.netflix.hystrix.collapser.RealCollapserTimer
 
registerCommandExecutionHook(HystrixCommandExecutionHook) - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Register a HystrixCommandExecutionHook implementation as a global override of any injected or default implementations.
registerConcurrencyStrategy(HystrixConcurrencyStrategy) - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Register a HystrixConcurrencyStrategy implementation as a global override of any injected or default implementations.
registerEventNotifier(HystrixEventNotifier) - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Register a HystrixEventNotifier implementation as a global override of any injected or default implementations.
registerMetricsPublisher(HystrixMetricsPublisher) - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Register a HystrixMetricsPublisher implementation as a global override of any injected or default implementations.
registerPropertiesStrategy(HystrixPropertiesStrategy) - Method in class com.netflix.hystrix.strategy.HystrixPlugins
Register a HystrixPropertiesStrategy implementation as a global override of any injected or default implementations.
RequestBatch<BatchReturnType,ResponseType,RequestArgumentType> - Class in com.netflix.hystrix.collapser
A batch of requests collapsed together by a RequestCollapser instance.
RequestBatch(HystrixCollapserProperties, HystrixCollapserBridge<BatchReturnType, ResponseType, RequestArgumentType>, int) - Constructor for class com.netflix.hystrix.collapser.RequestBatch
 
requestCacheEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether HystrixCommand.getCacheKey() should be used with HystrixRequestCache to provide de-duplication functionality via request-scoped caching.
requestCachingEnabled() - Method in class com.netflix.hystrix.HystrixCollapserProperties
Whether request caching is enabled for HystrixCollapser.execute() and HystrixCollapser.queue() invocations.
RequestCollapser<BatchReturnType,ResponseType,RequestArgumentType> - Class in com.netflix.hystrix.collapser
Requests are submitted to this and batches executed based on size or time.
RequestCollapserFactory<BatchReturnType,ResponseType,RequestArgumentType> - Class in com.netflix.hystrix.collapser
Factory for retrieving the correct instance of a RequestCollapser.
RequestCollapserFactory(HystrixCollapserKey, HystrixCollapser.Scope, CollapserTimer, HystrixCollapserProperties.Setter) - Constructor for class com.netflix.hystrix.collapser.RequestCollapserFactory
 
RequestCollapserFactory.Setter - Class in com.netflix.hystrix.collapser
Fluent interface for arguments to the HystrixCollapser constructor.
requestLogEnabled() - Method in class com.netflix.hystrix.HystrixCommandProperties
Whether HystrixCommand execution and events should be logged to HystrixRequestLog.
reset() - Static method in class com.netflix.hystrix.collapser.RequestCollapserFactory
Clears all state.
reset() - Static method in class com.netflix.hystrix.Hystrix
Reset state and release resources in use (such as thread-pools).
reset(long, TimeUnit) - Static method in class com.netflix.hystrix.Hystrix
Reset state and release resources in use (such as threadpools) and wait for completion.
resetRequest() - Static method in class com.netflix.hystrix.collapser.RequestCollapserFactory
Used for testing
run() - Method in class com.netflix.hystrix.HystrixCommand
Implement this method with code to be executed when HystrixCommand.execute() or HystrixCommand.queue() are invoked.

S

schedule(T, Func2<? super Scheduler, ? super T, ? extends Subscription>) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixContextScheduler
 
schedule(T, Func2<? super Scheduler, ? super T, ? extends Subscription>, long, TimeUnit) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixContextScheduler
 
setContextOnCurrentThread(HystrixRequestContext) - Static method in class com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
 
setException(Exception) - Method in interface com.netflix.hystrix.HystrixCollapser.CollapsedRequest
When set any client thread blocking on get() will immediately be unblocked and receive the exception.
setResponse(ResponseType) - Method in interface com.netflix.hystrix.HystrixCollapser.CollapsedRequest
When set any client thread blocking on get() will immediately be unblocked and receive the response.
Setter() - Static method in class com.netflix.hystrix.HystrixCollapserProperties
Factory method to retrieve the default Setter.
Setter() - Static method in class com.netflix.hystrix.HystrixCommandProperties
Factory method to retrieve the default Setter.
Setter() - Static method in class com.netflix.hystrix.HystrixThreadPoolProperties
Factory method to retrieve the default Setter.
shardRequests(Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in interface com.netflix.hystrix.collapser.HystrixCollapserBridge
 
shardRequests(Collection<HystrixCollapser.CollapsedRequest<ResponseType, RequestArgumentType>>) - Method in class com.netflix.hystrix.HystrixCollapser
Override to split (shard) a batch of requests into multiple batches that will each call createCommand separately.
shutdown() - Method in class com.netflix.hystrix.collapser.RequestBatch
 
shutdown() - Method in class com.netflix.hystrix.collapser.RequestCollapser
Called from RequestVariable.shutdown() to unschedule the task.
shutdown() - Method in class com.netflix.hystrix.strategy.concurrency.HystrixRequestContext
Shutdown HystrixRequestVariableDefault objects in this context.
shutdown(T) - Method in interface com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableLifecycle
Invoked when request scope is shutdown to allow for cleanup.
submitRequest(RequestArgumentType) - Method in class com.netflix.hystrix.collapser.RequestCollapser
Submit a request to a batch.

T

timerDelayInMilliseconds() - Method in class com.netflix.hystrix.HystrixCollapserProperties
The number of milliseconds between batch executions (unless HystrixCollapserProperties.maxRequestsInBatch is hit which will cause a batch to execute early.
toObservable() - Method in class com.netflix.hystrix.HystrixCollapser
A lazy Observable that will execute when subscribed to.
toObservable(Scheduler) - Method in class com.netflix.hystrix.HystrixCollapser
A lazy Observable that will execute when subscribed to.
toObservable() - Method in class com.netflix.hystrix.HystrixCommand
A lazy Observable that will execute the command when subscribed to.
toObservable(Scheduler) - Method in class com.netflix.hystrix.HystrixCommand
A lazy Observable that will execute the command when subscribed to.

V

valueOf(String) - Static method in enum com.netflix.hystrix.exception.HystrixRuntimeException.FailureType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.hystrix.HystrixCollapser.Scope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.hystrix.HystrixCommandProperties.ExecutionIsolationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.hystrix.HystrixEventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.hystrix.exception.HystrixRuntimeException.FailureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.hystrix.HystrixCollapser.Scope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.hystrix.HystrixCommandProperties.ExecutionIsolationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.hystrix.HystrixEventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withCircuitBreakerEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCircuitBreakerErrorThresholdPercentage(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCircuitBreakerForceClosed(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCircuitBreakerForceOpen(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCircuitBreakerRequestVolumeThreshold(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCircuitBreakerSleepWindowInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withCollapserKey(HystrixCollapserKey) - Static method in class com.netflix.hystrix.collapser.RequestCollapserFactory.Setter
Setter factory method containing required values.
withCollapserKey(HystrixCollapserKey) - Static method in class com.netflix.hystrix.HystrixCollapser.Setter
Setter factory method containing required values.
withCollapsingEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
withCoreSize(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withExecutionIsolationSemaphoreMaxConcurrentRequests(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withExecutionIsolationStrategy(HystrixCommandProperties.ExecutionIsolationStrategy) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withExecutionIsolationThreadInterruptOnTimeout(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withExecutionIsolationThreadTimeoutInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withFallbackEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withFallbackIsolationSemaphoreMaxConcurrentRequests(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withGroupKey(HystrixCommandGroupKey) - Static method in class com.netflix.hystrix.HystrixCommand.Setter
Setter factory method with required values.
withKeepAliveTimeMinutes(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withMaxQueueSize(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withMaxRequestsInBatch(int) - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
withMetricsHealthSnapshotIntervalInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingPercentileBucketSize(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingPercentileEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingPercentileWindowBuckets(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingPercentileWindowInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingStatisticalWindowBuckets(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingStatisticalWindowBuckets(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withMetricsRollingStatisticalWindowInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withMetricsRollingStatisticalWindowInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withQueueSizeRejectionThreshold(int) - Method in class com.netflix.hystrix.HystrixThreadPoolProperties.Setter
 
withRequestCacheEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
withRequestCacheEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withRequestLogEnabled(boolean) - Method in class com.netflix.hystrix.HystrixCommandProperties.Setter
 
withTimerDelayInMilliseconds(int) - Method in class com.netflix.hystrix.HystrixCollapserProperties.Setter
 
wrapCallable(Callable<T>) - Method in class com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy
Provides an opportunity to wrap/decorate a Callable<T> before execution.

A C D E F G H I K M N O Q R S T V W