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

The InterlockedCounter type exposes the following members.

Methods

  NameDescription
Protected methodAdjust
Adjust the value of the counter by the specified amount, and return the new value.
(Overrides AtomicCounter..::..Adjust(Int64).)
Public methodDecrement()()()()
Decrement the value, and return the new value.
(Inherited from AtomicCounter.)
Public methodDecrement(Int64)
Decrement the value by c, and return the new value.
(Inherited from AtomicCounter.)
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.
(Overrides AtomicCounter..::..GetCount()()()().)
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.
(Inherited from AtomicCounter.)
Public methodIncrement(Int64)
Incremenet the value by c, and return the new value.
(Inherited from AtomicCounter.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPostAdjust
Adjust the value of the counter by the specified amount, and return the old value.
(Overrides AtomicCounter..::..PostAdjust(Int64).)
Public methodPostDecrement()()()()
Decrement the value, and return the original value.
(Inherited from AtomicCounter.)
Public methodPostDecrement(Int64)
Decrement the value by c, and return the original value.
(Inherited from AtomicCounter.)
Public methodPostIncrement()()()()
Incremenet the value, and return the original value.
(Inherited from AtomicCounter.)
Public methodPostIncrement(Int64)
Incremenet the value by c, and return the original value.
(Inherited from AtomicCounter.)
Public methodSetCount(Int64)
Update the current value, and return the previous value.
(Overrides AtomicCounter..::..SetCount(Int64).)
Public methodSetCount(Int64, Int64)
Update the current value, only if it is equal to the assumed value.
(Overrides AtomicCounter..::..SetCount(Int64, Int64).)
Public methodToString
Return the count as a string.
(Inherited from AtomicCounter.)

See Also