Click or drag to resize
AtomicCounterLong Class
An atomic 64 bit integer counter.
Inheritance Hierarchy
SystemObject
  Akka.Util.InternalAtomicCounterLong

Namespace: Akka.Util.Internal
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public class AtomicCounterLong : IAtomicCounter<long>

The AtomicCounterLong type exposes the following members.

Constructors
  NameDescription
Public methodAtomicCounterLong
Creates an instance of an AtomicCounterLong with a starting value of -1.
Public methodAtomicCounterLong(Int64)
Creates an instance of an AtomicCounterLong.
Top
Methods
  NameDescription
Public methodAddAndGet
Adds an amount to the counter and returns 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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAndAdd
Gets the current value of the counter and adds an amount to it.
Public methodGetAndIncrement
Atomically increments the counter by one.
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 methodIncrementAndGet
Atomically increments the counter by one.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Increments the counter and returns the next value.
Public methodReset
Resets the counter to zero.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
Properties
  NameDescription
Public propertyCurrent
Retrieves the current value of the counter
Top
See Also