C# Class Raven.Database.Indexing.WorkContext

Inheritance: IDisposable
显示文件 Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
AddError ( string index, string key, string error ) : void
Dispose ( ) : void
HandleWorkNotifications ( ) : void
NotifyAboutWork ( ) : void
ShouldNotifyAboutWork ( ) : void
StartWork ( ) : void
StopWork ( ) : void
WaitForWork ( TimeSpan timeout, int &workerWorkCounter ) : bool
WaitForWork ( TimeSpan timeout, int &workerWorkCounter, Action beforeWait ) : bool

Method Details

AddError() public method

public AddError ( string index, string key, string error ) : void
index string
key string
error string
return void

Dispose() public method

public Dispose ( ) : void
return void

HandleWorkNotifications() public method

public HandleWorkNotifications ( ) : void
return void

NotifyAboutWork() public method

public NotifyAboutWork ( ) : void
return void

ShouldNotifyAboutWork() public method

public ShouldNotifyAboutWork ( ) : void
return void

StartWork() public method

public StartWork ( ) : void
return void

StopWork() public method

public StopWork ( ) : void
return void

WaitForWork() public method

public WaitForWork ( TimeSpan timeout, int &workerWorkCounter ) : bool
timeout TimeSpan
workerWorkCounter int
return bool

WaitForWork() public method

public WaitForWork ( TimeSpan timeout, int &workerWorkCounter, Action beforeWait ) : bool
timeout TimeSpan
workerWorkCounter int
beforeWait Action
return bool