Udostępnij za pośrednictwem


ScheduledJobSelector Class

Definition

Provides a default implementation of the IScheduledJobSelector for selecting a IScheduledJob.

public class ScheduledJobSelector : Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.IScheduledJobSelector
type ScheduledJobSelector = class
    interface IScheduledJobSelector
Public Class ScheduledJobSelector
Implements IScheduledJobSelector
Inheritance
ScheduledJobSelector
Implements

Constructors

ScheduledJobSelector(HttpConfiguration)

Initializes a new instance of the ScheduledJobSelector with a given config.

Methods

GetLookupKey(String)

Gets a normalized lookup key from a given jobName.

InitializeCache()

Initializes the cache of IScheduledJob instances used to resolve a job given a job name.

NormalizeJobName(String)

Normalizes the job name that is registered in the cache of scheduled jobs by removing any "job" prefix from the name.

SelectJob(String)

Returns a collection of scheduled jobs matching a given jobName. If the collection is empty then no scheduled job was found. If more than one scheduled jobs were found then multiple conflicting scheduled jobs have been found. This can for example be if multiple jobs with the same type name but differing namespaces have been registered. If exactly one scheduled job is returned then that is the job that should be executed.

Applies to