Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The AtomicCounter type exposes the following members.

Constructors

  NameDescription
Protected methodAtomicCounter
Initializes a new instance of the AtomicCounter class

Methods

  NameDescription
Protected methodAdjust
Adjust the value of the counter by the specified amount, and return the new value.
Public methodDecrement()()()()
Decrement the value, and return the new value.
Public methodDecrement(Int64)
Decrement the value by c, and return the new value.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCount
Return the current value of the counter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement()()()()
Increment the value, and return the new value.
Public methodIncrement(Int64)
Incremenet the value by c, and return the new value.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNewAtomicCounter()()()()
Instantiate and return a new AtomicCounter.
Public methodStatic memberNewAtomicCounter(Int64)
Instantiate and return a new AtomicCounter initialized to a particular value.
Protected methodPostAdjust
Adjust the value of the counter by the specified amount, and return the old value.
Public methodPostDecrement()()()()
Decrement the value, and return the original value.
Public methodPostDecrement(Int64)
Decrement the value by c, and return the original value.
Public methodPostIncrement()()()()
Incremenet the value, and return the original value.
Public methodPostIncrement(Int64)
Incremenet the value by c, and return the original value.
Public methodSetCount(Int64)
Update the current value, and return the previous value.
Public methodSetCount(Int64, Int64)
Update the current value, only if it is equal to the assumed value.
Public methodToString
Return the count as a string.
(Overrides Object..::..ToString()()()().)

See Also