Table of Contents

Class AtomicBoolean

Namespace
Steeltoe.Common.Util
Assembly
Steeltoe.Common.Abstractions.dll
public class AtomicBoolean
Inheritance
AtomicBoolean
Inherited Members

Constructors

AtomicBoolean()

public AtomicBoolean()

AtomicBoolean(bool)

public AtomicBoolean(bool value)

Parameters

value bool

Properties

Value

public bool Value { get; set; }

Property Value

bool

Methods

CompareAndSet(bool, bool)

public bool CompareAndSet(bool expected, bool update)

Parameters

expected bool
update bool

Returns

bool

GetAndSet(bool)

public bool GetAndSet(bool newValue)

Parameters

newValue bool

Returns

bool