Click or drag to resize

LocalJobManagerService Class

Note: This API is now obsolete.

Represents a local implementation of a job management service
Inheritance Hierarchy
SystemObject
  SanteDB.Core.JobsDefaultJobManagerService
    SanteDB.DisconnectedClient.Services.LocalLocalJobManagerService

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
[ObsoleteAttribute("Use SanteDB.Core.Jobs.DefaultJobManagerService", 
	true)]
public class LocalJobManagerService : DefaultJobManagerService

The LocalJobManagerService type exposes the following members.

Constructors
  NameDescription
Public methodLocalJobManagerService
Creates a new local job manager
Top
Properties
  NameDescription
Public propertyIsRunning
Returns true when the service is running
(Inherited from DefaultJobManagerService.)
Public propertyJobs
Get the jobs
(Inherited from DefaultJobManagerService.)
Public propertyServiceName
Gets the service name
(Inherited from DefaultJobManagerService.)
Top
Methods
  NameDescription
Public methodCode exampleAddJob(IJob, JobStartType)
Add a job to the execution manager
(Inherited from DefaultJobManagerService.)
Public methodAddJob(IJob, TimeSpan, JobStartType)
Add a job to the job manager
(Inherited from DefaultJobManagerService.)
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 methodGetJobInstance
Get the specified job instance
(Inherited from DefaultJobManagerService.)
Public methodGetJobSchedules
Get schedules for the specified job
(Inherited from DefaultJobManagerService.)
Public methodGetLastRuntime
Get the last time the job was run
(Inherited from DefaultJobManagerService.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsJobRegistered
Return true if job object is registered
(Inherited from DefaultJobManagerService.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetJobSchedule(IJob, TimeSpan)
Set the job to repeat on an interval
(Inherited from DefaultJobManagerService.)
Public methodSetJobSchedule(IJob, DayOfWeek, DateTime)
Sets the job's schedule
(Inherited from DefaultJobManagerService.)
Public methodStart
Start the timer
(Inherited from DefaultJobManagerService.)
Public methodStartJob(IJob, Object)
Start a job right now
(Inherited from DefaultJobManagerService.)
Public methodStartJob(Type, Object)
Start a job
(Inherited from DefaultJobManagerService.)
Public methodStop
Stops the timer
(Inherited from DefaultJobManagerService.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventStarted
Timer service is started
(Inherited from DefaultJobManagerService.)
Public eventStarting
Timer service is starting
(Inherited from DefaultJobManagerService.)
Public eventStopped
Timer service is stopped
(Inherited from DefaultJobManagerService.)
Public eventStopping
Timer service is stopping
(Inherited from DefaultJobManagerService.)
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