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

파일 보기 프로젝트 열기: robashton/ravendb

보호된 프로퍼티들

프로퍼티 타입 설명
Log ILog
autoTuner BaseBatchSizeAutoTuner
context WorkContext
lastFlushedWorkCounter int
scheduler TaskScheduler
transactionalStorage ITransactionalStorage
workCounter int

공개 메소드들

메소드 설명
Execute ( ) : void

보호된 메소드들

메소드 설명
AbstractIndexingExecuter ( WorkContext context ) : System
CalculateSynchronizationEtag ( Etag currentEtag, Etag lastProcessedEtag ) : Etag
Dispose ( ) : void
ExecuteIndexing ( bool isIdle, bool &onlyFoundIdleWork ) : bool
ExecuteIndexingWork ( IList indexesToWorkOn, Etag startEtag ) : void
FlushAllIndexes ( ) : void
GetApplicableTask ( IStorageActionsAccessor actions ) : Raven.Database.Tasks.Task
GetIndexToWorkOn ( Raven.Abstractions.Data.IndexStats indexesStat ) : IndexToWorkOn
GetSynchronizationEtag ( ) : Etag
Init ( ) : void
IsIndexStale ( Raven.Abstractions.Data.IndexStats indexesStat, Etag synchronizationEtag, IStorageActionsAccessor actions, bool isIdle, Reference onlyFoundIdleWork ) : bool
IsValidIndex ( Raven.Abstractions.Data.IndexStats indexesStat ) : bool

비공개 메소드들

메소드 설명
ExecuteTasks ( ) : bool
FlushIndexes ( ) : void
HandleOutOfMemoryException ( Exception oome ) : void
IsEsentOutOfMemory ( Exception actual ) : bool
ScheduleRelevantDocumentsForReindexIfNeeded ( ) : void

메소드 상세

AbstractIndexingExecuter() 보호된 메소드

protected AbstractIndexingExecuter ( WorkContext context ) : System
context WorkContext
리턴 System

CalculateSynchronizationEtag() 보호된 추상적인 메소드

protected abstract 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

Execute() 공개 메소드

public Execute ( ) : void
리턴 void

ExecuteIndexing() 보호된 메소드

protected ExecuteIndexing ( bool isIdle, bool &onlyFoundIdleWork ) : bool
isIdle bool
onlyFoundIdleWork bool
리턴 bool

ExecuteIndexingWork() 보호된 추상적인 메소드

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

FlushAllIndexes() 보호된 추상적인 메소드

protected abstract FlushAllIndexes ( ) : void
리턴 void

GetApplicableTask() 보호된 추상적인 메소드

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

GetIndexToWorkOn() 보호된 추상적인 메소드

protected abstract GetIndexToWorkOn ( Raven.Abstractions.Data.IndexStats indexesStat ) : IndexToWorkOn
indexesStat Raven.Abstractions.Data.IndexStats
리턴 IndexToWorkOn

GetSynchronizationEtag() 보호된 추상적인 메소드

protected abstract GetSynchronizationEtag ( ) : Etag
리턴 Raven.Abstractions.Util.Etag

Init() 보호된 메소드

protected Init ( ) : void
리턴 void

IsIndexStale() 보호된 추상적인 메소드

protected abstract IsIndexStale ( Raven.Abstractions.Data.IndexStats indexesStat, Etag synchronizationEtag, IStorageActionsAccessor actions, bool isIdle, Reference onlyFoundIdleWork ) : bool
indexesStat Raven.Abstractions.Data.IndexStats
synchronizationEtag Raven.Abstractions.Util.Etag
actions IStorageActionsAccessor
isIdle bool
onlyFoundIdleWork Reference
리턴 bool

IsValidIndex() 보호된 추상적인 메소드

protected abstract IsValidIndex ( Raven.Abstractions.Data.IndexStats indexesStat ) : bool
indexesStat Raven.Abstractions.Data.IndexStats
리턴 bool

프로퍼티 상세

Log 보호되어 있는 정적으로 프로퍼티

protected static ILog Log
리턴 ILog

autoTuner 보호되어 있는 프로퍼티

protected BaseBatchSizeAutoTuner autoTuner
리턴 BaseBatchSizeAutoTuner

context 보호되어 있는 프로퍼티

protected WorkContext context
리턴 WorkContext

lastFlushedWorkCounter 보호되어 있는 프로퍼티

protected int lastFlushedWorkCounter
리턴 int

scheduler 보호되어 있는 프로퍼티

protected TaskScheduler scheduler
리턴 TaskScheduler

transactionalStorage 보호되어 있는 프로퍼티

protected ITransactionalStorage transactionalStorage
리턴 ITransactionalStorage

workCounter 보호되어 있는 프로퍼티

protected int workCounter
리턴 int