Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
The AtomicCounter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AtomicCounter | Initializes a new instance of the AtomicCounter class |
Methods
Name | Description | |
---|---|---|
Adjust |
Adjust the value of the counter by the specified amount, and
return the new value.
| |
Decrement()()()() |
Decrement the value, and return the new value.
| |
Decrement(Int64) |
Decrement the value by c, and return the new value.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCount |
Return the current value of the counter.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Increment()()()() |
Increment the value, and return the new value.
| |
Increment(Int64) |
Incremenet the value by c, and return the new value.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NewAtomicCounter()()()() |
Instantiate and return a new AtomicCounter.
| |
NewAtomicCounter(Int64) |
Instantiate and return a new AtomicCounter initialized to a
particular value.
| |
PostAdjust |
Adjust the value of the counter by the specified amount, and
return the old value.
| |
PostDecrement()()()() |
Decrement the value, and return the original value.
| |
PostDecrement(Int64) |
Decrement the value by c, and return the original value.
| |
PostIncrement()()()() |
Incremenet the value, and return the original value.
| |
PostIncrement(Int64) |
Incremenet the value by c, and return the original value.
| |
SetCount(Int64) |
Update the current value, and return the previous value.
| |
SetCount(Int64, Int64) |
Update the current value, only if it is equal to the assumed
value.
| |
ToString |
Return the count as a string.
(Overrides Object..::..ToString()()()().) |