C# Class Kudu.Core.Jobs.JobsFileWatcher

Responsible for detecting when a file is changed in a job
Inheritance: IDisposable
Mostra file Open project: projectkudu/kudu Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
JobsFileWatcher ( string watchedDirectoryPath, Action onJobChanged, string filter, Func listJobNames, ITraceFactory traceFactory, IAnalytics analytics, string jobType ) : System
Stop ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DisposeWatcher ( ) : void
MarkJobUpdated ( string jobName ) : void
OnChanged ( object sender, FileSystemEventArgs e ) : void
OnError ( object sender, ErrorEventArgs e ) : void
OnMakeChanges ( object state ) : void
ResetWatcher ( ) : void
StartWatcher ( object state ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

JobsFileWatcher() public method

public JobsFileWatcher ( string watchedDirectoryPath, Action onJobChanged, string filter, Func listJobNames, ITraceFactory traceFactory, IAnalytics analytics, string jobType ) : System
watchedDirectoryPath string
onJobChanged Action
filter string
listJobNames Func
traceFactory ITraceFactory
analytics IAnalytics
jobType string
return System

Stop() public method

public Stop ( ) : void
return void