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

显示文件 Open project: zzzprojects/Eval-SQL.NET Class Usage Examples

Public Properties

Property Type Description
Buckets Z.Expressions.SqlServer.Eval.SharedList[]

Public Methods

Method Description
SharedBucketList ( int bucketSize = 16 )
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

SharedBucketList() public method

public SharedBucketList ( int bucketSize = 16 )
bucketSize int

TryAdd() public method

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

TryGetValue() public method

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.
return bool

TryRemove() public method

public TryRemove ( SQLNETParallelItem value ) : void
value SQLNETParallelItem
return void

Property Details

Buckets public_oe property

public SharedList[],Z.Expressions.SqlServer.Eval Buckets
return Z.Expressions.SqlServer.Eval.SharedList[]