C# 클래스 NBench.Util.AtomicCounter

Atomic counter class used for incrementing and decrementing long integer values.
파일 보기 프로젝트 열기: petabridge/NBench 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Value long

공개 메소드들

메소드 설명
AtomicCounter ( long seed ) : System.Threading
Decrement ( ) : void
GetAndIncrement ( ) : long
Increment ( ) : void

메소드 상세

AtomicCounter() 공개 메소드

public AtomicCounter ( long seed ) : System.Threading
seed long
리턴 System.Threading

Decrement() 공개 메소드

public Decrement ( ) : void
리턴 void

GetAndIncrement() 공개 메소드

public GetAndIncrement ( ) : long
리턴 long

Increment() 공개 메소드

public Increment ( ) : void
리턴 void

프로퍼티 상세

Value 보호되어 있는 프로퍼티

protected long Value
리턴 long