Hystrix: Latency and Fault Tolerance for Distributed Systems



Package com.netflix.hystrix

Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.

See:
          Description

Interface Summary
HystrixCircuitBreaker Circuit-breaker logic that is hooked into HystrixCommand execution and will stop allowing executions if failures have gone past the defined threshold.
HystrixCollapser.CollapsedRequest<ResponseType,RequestArgumentType> A request argument RequestArgumentType that was collapsed for batch processing and needs a response ResponseType set on it by the executeBatch implementation.
HystrixCollapserKey A key to represent a HystrixCollapser for monitoring, circuit-breakers, metrics publishing, caching and other such uses.
HystrixCommandGroupKey A group name for a HystrixCommand.
HystrixCommandKey A key to represent a HystrixCommand for monitoring, circuit-breakers, metrics publishing, caching and other such uses.
HystrixExecutable<R> Common interface for executables (HystrixCommand and HystrixCollapser) so client code can treat them the same and combine in typed collections if desired.
HystrixThreadPool ThreadPool used to executed HystrixCommand.run() on separate threads when configured to do so with HystrixCommandProperties.executionIsolationStrategy().
HystrixThreadPoolKey A key to represent a HystrixThreadPool for monitoring, metrics publishing, caching and other such uses.
 

Class Summary
Hystrix Lifecycle management of Hystrix.
HystrixCollapser<BatchReturnType,ResponseType,RequestArgumentType> Collapse multiple requests into a single HystrixCommand execution based on a time window and optionally a max batch size.
HystrixCollapser.Setter Fluent interface for arguments to the HystrixCollapser constructor.
HystrixCollapserKey.Factory  
HystrixCollapserProperties Properties for instances of HystrixCollapser.
HystrixCollapserProperties.Setter Fluent interface that allows chained setting of properties that can be passed into a HystrixCollapser constructor to inject instance specific property overrides.
HystrixCommand<R> 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.Setter Fluent interface for arguments to the HystrixCommand constructor.
HystrixCommandGroupKey.Factory  
HystrixCommandKey.Factory  
HystrixCommandMetrics Used by HystrixCommand to record metrics.
HystrixCommandMetrics.HealthCounts Number of requests during rolling window.
HystrixCommandProperties Properties for instances of HystrixCommand.
HystrixCommandProperties.Setter Fluent interface that allows chained setting of properties that can be passed into a HystrixCommand constructor to inject instance specific property overrides.
HystrixRequestCache Cache that is scoped to the current request as managed by HystrixRequestVariableDefault.
HystrixRequestLog Log of HystrixCommand executions and events during the current request.
HystrixThreadPoolKey.Factory  
HystrixThreadPoolMetrics Used by HystrixThreadPool to record metrics.
HystrixThreadPoolProperties Properties for instances of HystrixThreadPool.
HystrixThreadPoolProperties.Setter 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.
 

Enum Summary
HystrixCollapser.Scope The scope of request collapsing.
HystrixCommandProperties.ExecutionIsolationStrategy Isolation strategy to use when executing a HystrixCommand.
HystrixEventType Various states/events that execution can result in or have tracked.
 

Package com.netflix.hystrix Description

Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.

Since:
1.0.0