C# 클래스 Sharpen.AtomicInteger

파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
AddAndGet ( int addval ) : int
AtomicInteger ( ) : System
AtomicInteger ( int val ) : System
CompareAndSet ( int expect, int update ) : bool
DecrementAndGet ( ) : int
Get ( ) : int
GetAndAdd ( int addval ) : int
GetAndSet ( int newValue ) : int
IncrementAndGet ( ) : int

메소드 상세

AddAndGet() 공개 메소드

public AddAndGet ( int addval ) : int
addval int
리턴 int

AtomicInteger() 공개 메소드

public AtomicInteger ( ) : System
리턴 System

AtomicInteger() 공개 메소드

public AtomicInteger ( int val ) : System
val int
리턴 System

CompareAndSet() 공개 메소드

public CompareAndSet ( int expect, int update ) : bool
expect int
update int
리턴 bool

DecrementAndGet() 공개 메소드

public DecrementAndGet ( ) : int
리턴 int

Get() 공개 메소드

public Get ( ) : int
리턴 int

GetAndAdd() 공개 메소드

public GetAndAdd ( int addval ) : int
addval int
리턴 int

GetAndSet() 공개 메소드

public GetAndSet ( int newValue ) : int
newValue int
리턴 int

IncrementAndGet() 공개 메소드

public IncrementAndGet ( ) : int
리턴 int