C# Class Amib.Threading.Internal.WorkItemFactory

Datei anzeigen Open project: SQLServerIO/TPCCBench Class Usage Examples

Public Methods

Method Description
CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, WorkItemPriority workItemPriority ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, CallToPostExecute callToPostExecute ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, CallToPostExecute callToPostExecute, WorkItemPriority workItemPriority ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, WorkItemPriority workItemPriority ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, WorkItemPriority workItemPriority ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemInfo workItemInfo, WorkItemCallback callback ) : WorkItem

Create a new work item

CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemInfo workItemInfo, WorkItemCallback callback, object state ) : WorkItem

Create a new work item

Private Methods

Method Description
ValidateCallback ( Delegate callback ) : void

Method Details

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, WorkItemPriority workItemPriority ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
workItemPriority WorkItemPriority The priority of the work item
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
postExecuteWorkItemCallback PostExecuteWorkItemCallback /// A delegate to call after the callback completion ///
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, CallToPostExecute callToPostExecute ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
postExecuteWorkItemCallback PostExecuteWorkItemCallback /// A delegate to call after the callback completion ///
callToPostExecute CallToPostExecute Indicates on which cases to call to the post execute callback
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, CallToPostExecute callToPostExecute, WorkItemPriority workItemPriority ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
postExecuteWorkItemCallback PostExecuteWorkItemCallback /// A delegate to call after the callback completion ///
callToPostExecute CallToPostExecute Indicates on which cases to call to the post execute callback
workItemPriority WorkItemPriority The work item priority
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, PostExecuteWorkItemCallback postExecuteWorkItemCallback, WorkItemPriority workItemPriority ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
postExecuteWorkItemCallback PostExecuteWorkItemCallback /// A delegate to call after the callback completion ///
workItemPriority WorkItemPriority The work item priority
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemCallback callback, object state, WorkItemPriority workItemPriority ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
workItemPriority WorkItemPriority The work item priority
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemInfo workItemInfo, WorkItemCallback callback ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
workItemInfo WorkItemInfo Work item info
callback WorkItemCallback A callback to execute
return WorkItem

CreateWorkItem() public static method

Create a new work item
public static CreateWorkItem ( IWorkItemsGroup workItemsGroup, WIGStartInfo wigStartInfo, WorkItemInfo workItemInfo, WorkItemCallback callback, object state ) : WorkItem
workItemsGroup IWorkItemsGroup
wigStartInfo WIGStartInfo Work item group start information
workItemInfo WorkItemInfo Work item information
callback WorkItemCallback A callback to execute
state object /// The context object of the work item. Used for passing arguments to the work item. ///
return WorkItem