C# Class Raven.Database.Indexing.ReducingExecuter

Inheritance: AbstractIndexingExecuter
ファイルを表示 Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
ReducingExecuter ( ITransactionalStorage transactionalStorage, WorkContext context, TaskScheduler scheduler ) : System

Protected Methods

Method Description
ExecuteIndexingWorkOnMultipleThreads ( IEnumerable indexesToWorkOn ) : void
ExecuteIndexingWorkOnSingleThread ( IEnumerable indexesToWorkOn ) : void
FlushAllIndexes ( ) : void
GetIndexToWorkOn ( Raven.Abstractions.Data.IndexStats indexesStat ) : IndexToWorkOn
HandleReduceForIndex ( IndexToWorkOn indexToWorkOn ) : void
IsIndexStale ( Raven.Abstractions.Data.IndexStats indexesStat, IStorageActionsAccessor actions ) : bool
IsValidIndex ( Raven.Abstractions.Data.IndexStats indexesStat ) : bool

Private Methods

Method Description
GetLastByEtag ( List reduceKeyAndEtags ) : MappedResultInfo

Method Details

ExecuteIndexingWorkOnMultipleThreads() protected method

protected ExecuteIndexingWorkOnMultipleThreads ( IEnumerable indexesToWorkOn ) : void
indexesToWorkOn IEnumerable
return void

ExecuteIndexingWorkOnSingleThread() protected method

protected ExecuteIndexingWorkOnSingleThread ( IEnumerable indexesToWorkOn ) : void
indexesToWorkOn IEnumerable
return void

FlushAllIndexes() protected method

protected FlushAllIndexes ( ) : void
return void

GetIndexToWorkOn() protected method

protected GetIndexToWorkOn ( Raven.Abstractions.Data.IndexStats indexesStat ) : IndexToWorkOn
indexesStat Raven.Abstractions.Data.IndexStats
return IndexToWorkOn

HandleReduceForIndex() protected method

protected HandleReduceForIndex ( IndexToWorkOn indexToWorkOn ) : void
indexToWorkOn IndexToWorkOn
return void

IsIndexStale() protected method

protected IsIndexStale ( Raven.Abstractions.Data.IndexStats indexesStat, IStorageActionsAccessor actions ) : bool
indexesStat Raven.Abstractions.Data.IndexStats
actions IStorageActionsAccessor
return bool

IsValidIndex() protected method

protected IsValidIndex ( Raven.Abstractions.Data.IndexStats indexesStat ) : bool
indexesStat Raven.Abstractions.Data.IndexStats
return bool

ReducingExecuter() public method

public ReducingExecuter ( ITransactionalStorage transactionalStorage, WorkContext context, TaskScheduler scheduler ) : System
transactionalStorage ITransactionalStorage
context WorkContext
scheduler TaskScheduler
return System