C# 클래스 Raven.Database.Indexing.IndexingExecuter

상속: AbstractIndexingExecuter
파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
IndexingExecuter ( WorkContext context, DatabaseEtagSynchronizer synchronizer, Prefetcher prefetcher ) : System

보호된 메소드들

메소드 설명
CalculateSynchronizationEtag ( Etag currentEtag, Etag lastProcessedEtag ) : Etag
Dispose ( ) : void
ExecuteIndexingWork ( IList indexesToWorkOn, Etag startEtag ) : void
FlushAllIndexes ( ) : void
GetApplicableTask ( IStorageActionsAccessor actions ) : Task
GetIndexToWorkOn ( IndexStats indexesStat ) : IndexToWorkOn
GetSynchronizationEtag ( ) : Etag
Init ( ) : void
IsIndexStale ( IndexStats indexesStat, Etag synchronizationEtag, IStorageActionsAccessor actions, bool isIdle, Reference onlyFoundIdleWork ) : bool
IsValidIndex ( IndexStats indexesStat ) : bool

비공개 메소드들

메소드 설명
DoActualIndexing ( IList indexesToWorkOn, List jsonDocs ) : Etag
ExecuteAllInterleaved ( IList result, Action action ) : void
FilterIndexes ( IList indexesToWorkOn, List jsonDocs, Etag highestETagInBatch ) : IEnumerable
HandleIndexingFor ( IndexingBatchForIndex batchForIndex, Etag lastEtag, DateTime lastModified ) : void
IndexDocuments ( IStorageActionsAccessor actions, string index, IndexingBatch batch ) : void
SortResultsMixedAccordingToTimePerDoc ( IList result ) : void

메소드 상세

CalculateSynchronizationEtag() 보호된 메소드

protected CalculateSynchronizationEtag ( Etag currentEtag, Etag lastProcessedEtag ) : Etag
currentEtag Raven.Abstractions.Util.Etag
lastProcessedEtag Raven.Abstractions.Util.Etag
리턴 Raven.Abstractions.Util.Etag

Dispose() 보호된 메소드

protected Dispose ( ) : void
리턴 void

ExecuteIndexingWork() 보호된 메소드

protected ExecuteIndexingWork ( IList indexesToWorkOn, Etag startEtag ) : void
indexesToWorkOn IList
startEtag Raven.Abstractions.Util.Etag
리턴 void

FlushAllIndexes() 보호된 메소드

protected FlushAllIndexes ( ) : void
리턴 void

GetApplicableTask() 보호된 메소드

protected GetApplicableTask ( IStorageActionsAccessor actions ) : Task
actions IStorageActionsAccessor
리턴 Raven.Database.Tasks.Task

GetIndexToWorkOn() 보호된 메소드

protected GetIndexToWorkOn ( IndexStats indexesStat ) : IndexToWorkOn
indexesStat IndexStats
리턴 IndexToWorkOn

GetSynchronizationEtag() 보호된 메소드

protected GetSynchronizationEtag ( ) : Etag
리턴 Etag

IndexingExecuter() 공개 메소드

public IndexingExecuter ( WorkContext context, DatabaseEtagSynchronizer synchronizer, Prefetcher prefetcher ) : System
context WorkContext
synchronizer DatabaseEtagSynchronizer
prefetcher Prefetcher
리턴 System

Init() 보호된 메소드

protected Init ( ) : void
리턴 void

IsIndexStale() 보호된 메소드

protected IsIndexStale ( IndexStats indexesStat, Etag synchronizationEtag, IStorageActionsAccessor actions, bool isIdle, Reference onlyFoundIdleWork ) : bool
indexesStat IndexStats
synchronizationEtag Etag
actions IStorageActionsAccessor
isIdle bool
onlyFoundIdleWork Reference
리턴 bool

IsValidIndex() 보호된 메소드

protected IsValidIndex ( IndexStats indexesStat ) : bool
indexesStat IndexStats
리턴 bool