C# Class Z.Expressions.SqlServer.Eval.SharedList

Afficher le fichier Open project: zzzprojects/Eval-SQL.NET

Méthodes publiques

Свойство Type Description
InnerList List
LockValue int

Méthodes publiques

Méthode Description
AcquireLock ( ) : void

Acquires the lock on the shared cache.

ReleaseLock ( ) : void

Releases the lock on the shared cache.

SharedList ( ) : System

Default constructor.

TryAdd ( SQLNETParallelItem value ) : bool

Attempts to add a value in the shared cache for the specified key.

TryGetValue ( int key, SQLNETParallelItem &value ) : bool

Attempts to get value from the shared cache for the specified key.

TryRemove ( SQLNETParallelItem value ) : void

Method Details

AcquireLock() public méthode

Acquires the lock on the shared cache.
public AcquireLock ( ) : void
Résultat void

ReleaseLock() public méthode

Releases the lock on the shared cache.
public ReleaseLock ( ) : void
Résultat void

SharedList() public méthode

Default constructor.
public SharedList ( ) : System
Résultat System

TryAdd() public méthode

Attempts to add a value in the shared cache for the specified key.
public TryAdd ( SQLNETParallelItem value ) : bool
value SQLNETParallelItem The value.
Résultat bool

TryGetValue() public méthode

Attempts to get value from the shared cache for the specified key.
public TryGetValue ( int key, SQLNETParallelItem &value ) : bool
key int The key.
value SQLNETParallelItem [out] The value.
Résultat bool

TryRemove() public méthode

public TryRemove ( SQLNETParallelItem value ) : void
value SQLNETParallelItem
Résultat void

Property Details

InnerList public_oe property

Gets or sets the inner dictionary used to cache items.
public List InnerList
Résultat List

LockValue public_oe property

The lock value.
public int LockValue
Résultat int