C# Class NuGetGallery.Backend.WorkerRole

Inheritance: RoleEntryPoint
显示文件 Open project: projectkudu/NuGetGallery Class Usage Examples

Public Methods

Method Description
Execute ( string jobName, bool continuous, string>.IDictionary overrideSettings ) : void
GetJobList ( ) : IEnumerable
OnStart ( ) : bool
OnStop ( ) : void
Run ( ) : void
RunSingleJob ( string jobName ) : void
RunSingleJobContinuously ( string jobName ) : void
Stop ( ) : void
WorkerRole ( ) : System
WorkerRole ( Settings settings ) : System

Private Methods

Method Description
ConfigureAzureDiagnostics ( string logDir ) : void
ConfigureFileTarget ( FileTarget hostTarget ) : void
LoadJobRunner ( Settings settings ) : NuGetGallery.Backend.JobRunner

Method Details

Execute() public static method

public static Execute ( string jobName, bool continuous, string>.IDictionary overrideSettings ) : void
jobName string
continuous bool
overrideSettings string>.IDictionary
return void

GetJobList() public static method

public static GetJobList ( ) : IEnumerable
return IEnumerable

OnStart() public method

public OnStart ( ) : bool
return bool

OnStop() public method

public OnStop ( ) : void
return void

Run() public method

public Run ( ) : void
return void

RunSingleJob() public method

public RunSingleJob ( string jobName ) : void
jobName string
return void

RunSingleJobContinuously() public method

public RunSingleJobContinuously ( string jobName ) : void
jobName string
return void

Stop() public method

public Stop ( ) : void
return void

WorkerRole() public method

public WorkerRole ( ) : System
return System

WorkerRole() public method

public WorkerRole ( Settings settings ) : System
settings Settings
return System