| AtomicCounterLong Methods |
The AtomicCounterLong type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAndGet |
Adds an amount to the counter and returns the new value.
| |
| CompareAndSet |
Compares current counter value with provided expected value,
and sets it to newValue if compared values where equal.
Returns true if replacement has succeed.
| |
| DecrementAndGet |
Atomically decrements the counter by one
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAndAdd |
Gets the current value of the counter and adds an amount to it.
| |
| GetAndIncrement |
Atomically increments the counter by one.
| |
| GetAndSet |
Returns current counter value and sets a new value on it's place in one operation.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IncrementAndGet |
Atomically increments the counter by one.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Next |
Increments the counter and returns the next value.
| |
| Reset |
Resets the counter to zero.
| |
| ToString |
TBD
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| AsInstanceOfT |
TBD
(Defined by Extensions.) | |
| Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
| MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |