Package | Description |
---|---|
com.netflix.hystrix.strategy.concurrency |
Strategy definition for concurrency related behavior and default implementation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HystrixRequestVariable<T>
Interface for a variable similar to
ThreadLocal but scoped at the user request level. |
Modifier and Type | Class and Description |
---|---|
class |
HystrixLifecycleForwardingRequestVariable<T>
Implementation of
HystrixRequestVariable which forwards to the wrapped
HystrixRequestVariableLifecycle . |
class |
HystrixRequestVariableDefault<T>
Default implementation of
HystrixRequestVariable . |
Modifier and Type | Method and Description |
---|---|
<T> HystrixRequestVariable<T> |
HystrixConcurrencyStrategy.getRequestVariable(HystrixRequestVariableLifecycle<T> rv)
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. |
Constructor and Description |
---|
HystrixLifecycleForwardingRequestVariable(HystrixRequestVariableLifecycle<T> lifecycle)
Creates a HystrixRequestVariable which will return data as provided by the
HystrixRequestVariableLifecycle |
HystrixRequestVariableHolder(HystrixRequestVariableLifecycle<T> lifeCycleMethods) |
Copyright © 2020. All Rights Reserved.