C# Class HydraScavengerService.Service

Inheritance: System.ServiceProcess.ServiceBase
ファイルを表示 Open project: NorthNick/hydra

Public Methods

Method Description
Service ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
BulkDeleteDoc ( string id, string rev ) : Document
DeleteDocs ( IEnumerable rows, IDocumentDatabase db ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ScavengeByDate ( int deleteBatchSize ) : void
ScavengeByNumber ( int deleteBatchSize ) : void
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

Service() public method

public Service ( ) : System
return System