Hystrix: Latency and Fault Tolerance for Distributed Systems



Package com.netflix.hystrix.strategy.concurrency

Strategy definition for concurrency related behavior and default implementation.

See:
          Description

Interface Summary
HystrixRequestVariable<T> Interface for a variable similar to ThreadLocal but scoped at the user request level.
HystrixRequestVariableLifecycle<T> Interface for lifecycle methods that are then executed by an implementation of HystrixRequestVariable.
 

Class Summary
HystrixConcurrencyStrategy Abstract class for defining different behavior or implementations for concurrency related aspects of the system with default implementations.
HystrixContextScheduler 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).
HystrixRequestContext 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
 

Package com.netflix.hystrix.strategy.concurrency Description

Strategy definition for concurrency related behavior and default implementation.

Since:
1.0.0