C# Class DotNetWorkQueue.TaskScheduling.WorkGroupWithItem

Stores the work group along with the smart thread pool work items group
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentWorkItems int

Méthodes publiques

Méthode Description
WorkGroupWithItem ( IWorkGroup sourceGroup, IWorkItemsGroup threadGroup, ICounter metricCounter ) : Amib.Threading

Initializes a new instance of the WorkGroupWithItem class.

Method Details

WorkGroupWithItem() public méthode

Initializes a new instance of the WorkGroupWithItem class.
public WorkGroupWithItem ( IWorkGroup sourceGroup, IWorkItemsGroup threadGroup, ICounter metricCounter ) : Amib.Threading
sourceGroup IWorkGroup The source group.
threadGroup IWorkItemsGroup The thread group.
metricCounter ICounter A counter for tracking how many items are being processed
Résultat Amib.Threading

Property Details

CurrentWorkItems public_oe property

How many work items are being processed and are also in the queue
This cannot be a property, as it's updated via interlock
public int CurrentWorkItems
Résultat int