Click or drag to resize

UpstreamJobManager Class

Represents a IJobManagerService which operates only on the upstream jobs service
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.RepositoriesUpstreamServiceBase
    SanteDB.Client.Upstream.ManagementUpstreamJobManager

Namespace: SanteDB.Client.Upstream.Management
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class UpstreamJobManager : UpstreamServiceBase, 
	IJobManagerService, IServiceImplementation, IJobStateManagerService, IJobScheduleManager

The UpstreamJobManager type exposes the following members.

Constructors
 NameDescription
Public methodUpstreamJobManager DI constructor
Top
Properties
 NameDescription
Protected propertyIsUpstreamConfigured Get whether the upstream is conifgured
(Inherited from UpstreamServiceBase)
Public propertyJobs Gets the status of all jobs
Protected propertyRestClientFactory Get the upstream client factory
(Inherited from UpstreamServiceBase)
Public propertyServiceName Gets the service name
Protected propertyUpstreamAvailabilityProvider Get the upstream availability provider
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamIntegrationService Get the upstream management service
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamManagementService Gets the upstream management
(Inherited from UpstreamServiceBase)
Top
Methods
 NameDescription
Public methodAdd(IJob, IJobSchedule) Add jobSchedule to job
Public methodAdd(IJob, TimeSpan, NullableDateTime) Add a schedule which repeats at interval on job
Public methodAdd(IJob, DayOfWeek, DateTime, NullableDateTime) Add a job schedule to job that repeats on repeatOn starting startDate
Public methodCode exampleAddJob(IJob, JobStartType) Add a job to the execution manager
Public methodAddJob(IJob, TimeSpan, JobStartType) Add a job to the job manager
Public methodClear Clear all schedules for job
Public methodClearJobSchedule Clear the schedule of a job.
Protected methodCreateAmiServiceClient Get client for the AMI
(Inherited from UpstreamServiceBase)
Protected methodCreateHdsiServiceClient Create an HDSI service client
(Inherited from UpstreamServiceBase)
Protected methodCreateRestClient Create a generic rest client
(Inherited from UpstreamServiceBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet Get all registered schedules for job job
Public methodGetAvailableJobs Get all available jobs, in the current application domain
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetJobInstance(Guid) Get this manager's instance of a job
Public methodGetJobInstance(Type) Get the job instance from jobType
Public methodGetJobSchedules Get the schedule for the specified job
Public methodGetJobState Get the job status
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHasUpstreamAuthContext Determine if the current auth context is appropriate for upstream communications
(Inherited from UpstreamServiceBase)
Public methodIsJobRegistered Returns true if the job is registered
Public methodIsUpstreamAvailable Gets a value that indicates whether the upstream
(Inherited from UpstreamServiceBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRegisterJob Adds a job by type to the job manager
Public methodSetJobSchedule(IJob, TimeSpan) Schedule a job to repeat on an interval
Public methodSetJobSchedule(IJob, DayOfWeek, DateTime) Schedule a job to start at a specific time with a specific repetition
Public methodSetProgress Set the progress of the job
Public methodSetState Set the status of the job
Public methodStartJob(IJob, Object) Starts the specified job
Public methodStartJob(Type, Object) Start a job by registered type
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_Tracer The tracer to use to log messages
(Inherited from UpstreamServiceBase)
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also