Class HystrixRequestContext
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Strategy.Concurrency
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class HystrixRequestContext : IDisposable
- Inheritance
-
HystrixRequestContext
- Implements
- Inherited Members
Properties
ContextForCurrentThread
public static HystrixRequestContext ContextForCurrentThread { get; }
Property Value
IsCurrentThreadInitialized
public static bool IsCurrentThreadInitialized { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
InitializeContext()
public static HystrixRequestContext InitializeContext()
Returns
SetContextOnCurrentThread(HystrixRequestContext)
public static void SetContextOnCurrentThread(HystrixRequestContext state)
Parameters
stateHystrixRequestContext