C# 클래스 Helios.Util.AtomicCounter

Class used for atomic counters and increments. Used inside the FSM{TS,TD} and in parts of Akka.Remote.
파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

공개 메소드들

메소드 설명
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