Table of Contents

Class AbstractCommand<TResult>.AtomicThreadState

Namespace
Steeltoe.CircuitBreaker.Hystrix
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll
protected class AbstractCommand<TResult>.AtomicThreadState : AtomicInteger
Inheritance
AbstractCommand<TResult>.AtomicThreadState
Inherited Members

Constructors

AtomicThreadState(ThreadState)

public AtomicThreadState(AbstractCommand<TResult>.ThreadState state)

Parameters

state AbstractCommand<TResult>.ThreadState

Properties

Value

public AbstractCommand<TResult>.ThreadState Value { get; set; }

Property Value

AbstractCommand<TResult>.ThreadState

Methods

CompareAndSet(ThreadState, ThreadState)

public bool CompareAndSet(AbstractCommand<TResult>.ThreadState expected, AbstractCommand<TResult>.ThreadState update)

Parameters

expected AbstractCommand<TResult>.ThreadState
update AbstractCommand<TResult>.ThreadState

Returns

bool