C# Class Lucene.Net.Support.AtomicInteger

显示文件 Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
AddAndGet ( int value_ ) : int
AtomicInteger ( ) : System.Threading
AtomicInteger ( int value_ ) : System.Threading
CompareAndSet ( int expect, int update ) : bool
DecrementAndGet ( ) : int
Get ( ) : int
GetAndDecrement ( ) : int
GetAndIncrement ( ) : int
IncrementAndGet ( ) : int
Set ( int value_ ) : void

Method Details

AddAndGet() public method

public AddAndGet ( int value_ ) : int
value_ int
return int

AtomicInteger() public method

public AtomicInteger ( ) : System.Threading
return System.Threading

AtomicInteger() public method

public AtomicInteger ( int value_ ) : System.Threading
value_ int
return System.Threading

CompareAndSet() public method

public CompareAndSet ( int expect, int update ) : bool
expect int
update int
return bool

DecrementAndGet() public method

public DecrementAndGet ( ) : int
return int

Get() public method

public Get ( ) : int
return int

GetAndDecrement() public method

public GetAndDecrement ( ) : int
return int

GetAndIncrement() public method

public GetAndIncrement ( ) : int
return int

IncrementAndGet() public method

public IncrementAndGet ( ) : int
return int

Set() public method

public Set ( int value_ ) : void
value_ int
return void