CustomWorkerFactoryTWorker, TModel Class TIBCO Spotfire 7.6 API Reference
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.ThreadingWorkerFactory
    Spotfire.Dxp.Framework.ThreadingWorkerFactoryTWorker, TModel
      Spotfire.Dxp.Application.ExtensionCustomWorkerFactoryTWorker, TModel

Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public abstract class CustomWorkerFactory<TWorker, TModel> : WorkerFactory<TWorker, TModel>
where TWorker : Worker
where TModel : DocumentNode

Type Parameters

TWorker
The type of the worker.
TModel
The type of the worker model.

The CustomWorkerFactoryTWorker, TModel type exposes the following members.

Constructors

  NameDescription
Protected methodCustomWorkerFactoryTWorker, TModel
Creates a new instance.
Top
Methods

  NameDescription
Protected methodCreateCore
Override this method to create the new Worker.
(Inherited from WorkerFactoryTWorker, TModel.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCachingBehaviorCore
Override this method to specify the caching behavior of results of a work item. Default is no caching.
(Inherited from WorkerFactory.)
Protected methodGetItemKeyCore
Override this method to provide your item key. Must be overridden when a caching behavior is specified. This key normally maps to the properties you have to read from the WorkItem in DoWorkCore(TModel, TItem).
(Inherited from WorkerFactoryTWorker, TModel.)
Protected methodGetModelKeyCore
Override this method to provide your model key. This key normally maps to the properties you have to read from the document node in the worker.
(Inherited from WorkerFactoryTWorker, TModel.)
Protected methodGetThreadingModelCore
Specifies the threading model of the Worker. Override this method to specify a threading model. Default is dedicated thread.
(Inherited from WorkerFactory.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetWorkerModelTriggerCore
Override this method to provide a trigger that triggers when the properties that the worker uses changes. The default implementation returns NeverTrigger.
(Inherited from WorkerFactoryTWorker, TModel.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference