Click or drag to resize

SanteDBThreadPool Class

Note: This API is now obsolete.

Represents a thread pool which is implemented separately from the default .net threadpool, this is to reduce the load on the .net framework thread pool
Inheritance Hierarchy
SystemObject
  SanteDB.Core.Services.ImplDefaultThreadPoolService
    SanteDB.DisconnectedClient.ThreadingSanteDBThreadPool

Namespace:  SanteDB.DisconnectedClient.Threading
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
[ObsoleteAttribute("Use SanteDB.Core.Services.Impl.DefaultThreadPoolService", 
	true)]
public class SanteDBThreadPool : DefaultThreadPoolService

The SanteDBThreadPool type exposes the following members.

Constructors
  NameDescription
Public methodSanteDBThreadPool
Initializes a new instance of the SanteDBThreadPool class
Top
Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from DefaultThreadPoolService.)
Top
Methods
  NameDescription
Public methodDispose
Dispose the object
(Inherited from DefaultThreadPoolService.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorkerStatus
Get worker status
(Inherited from DefaultThreadPoolService.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQueueUserWorkItem(ActionObject)
Queue a work item to be completed
(Inherited from DefaultThreadPoolService.)
Public methodQueueUserWorkItemTParm(ActionTParm, TParm)
Queue a user work item with the specified parameters
(Inherited from DefaultThreadPoolService.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also