Class AtomicLong
Inheritance
System.Object
AtomicLong
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public class AtomicLong : object
Constructors
|
Edit this page
View Source
AtomicLong()
Declaration
|
Edit this page
View Source
AtomicLong(Int64)
Declaration
public AtomicLong(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
Properties
|
Edit this page
View Source
Value
Declaration
public long Value { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
|
Edit this page
View Source
AddAndGet(Int64)
Declaration
public long AddAndGet(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
CompareAndSet(Int64, Int64)
Declaration
public bool CompareAndSet(long expected, long update)
Parameters
Type |
Name |
Description |
System.Int64 |
expected |
|
System.Int64 |
update |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GetAndSet(Int64)
Declaration
public long GetAndSet(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
Returns
Type |
Description |
System.Int64 |
|