C# Класс Helios.Util.AtomicCounter

Class used for atomic counters and increments. Used inside the FSM{TS,TD} and in parts of Akka.Remote.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AtomicCounter ( int seed ) : System.Threading
GetAndIncrement ( ) : int

Returns the current value while simultaneously incrementing the counter

Описание методов

AtomicCounter() публичный Метод

public AtomicCounter ( int seed ) : System.Threading
seed int
Результат System.Threading

GetAndIncrement() публичный Метод

Returns the current value while simultaneously incrementing the counter
public GetAndIncrement ( ) : int
Результат int