AtomicCounter Class |
Namespace: Akka.Util.Internal
The AtomicCounter type exposes the following members.
Name | Description | |
---|---|---|
![]() | AtomicCounter |
Creates an instance of an AtomicCounter with a starting value of -1.
|
![]() | AtomicCounter(Int32) |
Creates an instance of an AtomicCounter.
|
Name | Description | |
---|---|---|
![]() | AddAndGet |
Adds the specified value to the counter and returns the new value.
|
![]() | Equals | (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 |
Returns the current value and adds the specified value to the counter.
|
![]() | GetAndIncrement |
Atomically increments the counter by one.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (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 | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AsInstanceOfT | (Defined by Extensions.) |
![]() | Match |
Matches the specified target.
(Defined by PatternMatch.) |